-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (45 loc) · 1.47 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Grid test</title>
<!-- Bootstrap -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1>Backbone grid demo</h1>
<hr></hr>
<div id="main-region">
</div>
</div>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="bootstrap/js/bootstrap.min.js"></script>
<script data-main="scripts/main" src="scripts/vendor/require.js"></script>
<script type="text/template" id="row-template">
<td class="<%- folder_style %>" style="padding-left: <%- indent %>px; width: 350px;">
<% if (folder_control == '') { %>
<% } %><img src='<%- folder_control %>'/> <%- model.id %>
</td>
<td><%- model.title %></td>
<td><%- model.tel %></td>
<td><%- model.city %></td>
</script>
<script type="text/template" id="gridview_template">
<table class="table table-striped table-bordered table-condense">
<thead>
<tr>
<th style="width: 350px;" id="id">ID</th>
<th id="title">Assignee</th>
<th id="tel">Tel</th>
<th id="city">City</th>
</tr>
</thead>
<tbody></tbody>
</table>
</script>
</body>
</html>