-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (67 loc) · 2.52 KB
/
index.html
File metadata and controls
82 lines (67 loc) · 2.52 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<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>Google SpreedSheet</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" />
<style>
.alert { margin-bottom: 0px; padding: 2px; text-align: center; }
.container { margin-top: 10px; }
#loadingview { height: 30px; }
</style>
<script id="sheet-template" type="text/x-handlebars-template">
<h2>{{name}}</h2>
<div style="width: 300px;">
<input type="text" class="search form-control" placeholder="Filtrera..." />
</div>
<div class="table-responsive">
<table class="table table-striped table-hover">
<thead>
<tr style="cursor: pointer;">
{{#each viewModel.headerRows}}
<th class="sort" data-sort="{{column}}">
<a title="Sort by '{{text}}'">{{text}}</a>
</th>
{{/each}}
</tr>
</thead>
<tbody class="list">
{{#each viewModel.bodyRows}}
<tr>
{{#each .}}
<td class="{{column}}">
<div class="{{css}}">{{ text }}</div>
</td>
{{/each}}
</tr>
{{/each}}
</tbody>
</table>
</div>
</script>
<script id="poll-template" type="text/x-handlebars-template">
<button type="button" title="{{pollText}}" id="btnSync" class="toggle btn btn-default">
<i id="icon" class="glyphicon glyphicon-{{pollState}}"></i> Poll
</button>
</script>
</head>
<body>
<div class="container">
<div id="loadingview">
<div id="loading" class="progress progress-striped active">
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
Loading spreedsheet...
</div>
</div>
<div id="error" class="alert alert-danger hide"></div>
</div>
<div id="settings">
</div>
<div id="poll"></div>
<div id="container"></div>
</div>
<script data-main="app.config" src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
</body>
</html>