-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (53 loc) · 1.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<html>
<head>
<meta charset="UTF-8">
<title>Marionette.CompoundView</title>
<link rel="stylesheet" type="text/css" href="assets/scripts/bower/bootstrap/dist/css/bootstrap.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-lg-12">
<h1>Marionette.CompoundView</h1>
</div>
</div>
<div id="compound-view-container">
</div>
</div>
<script type="text/handlebars" id="compound-view">
<div class="row">
<div class="col-sm-4 list-view-container">
</div>
<div class="col-sm-8 single-element-container">
</div>
</div>
</script>
<script type="text/handlebars" id="list-view">
Countries
<ul class="list list-group">
</ul>
</script>
<script type="text/handlebars" id="list-item-view">
<%= name %>
</script>
<script type="text/handlebars" id="item-view">
<div class="panel-heading"><%= name %></div>
<div class="panel-body">
Population: <%= showNumber(population) %>
Land Area: <%= showNumber(landArea) %>
</div>
</script>
<style>
.selected
{
background-color: #F5F5F5;;
}
</style>
<script src="assets/scripts/bower/jquery/dist/jquery.js"></script>
<script src="assets/scripts/bower/underscore/underscore.js"></script>
<script src="assets/scripts/bower/backbone/backbone.js"></script>
<script src="assets/scripts/bower/backbone.marionette/lib/backbone.marionette.js"></script>
<script src="build/CompoundView.js"></script>
<script src="example/example.js"></script>
</body>
</html>