-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
100 lines (67 loc) · 2.58 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!-- index.html + gs = kamarble.com -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- index stuff -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="type-scale.css">
<script src="index.js"></script>
<!-- gs stuff -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script>
<script src="kamarble.js"></script>
<!-- kamarble stuff -->
<link data-n-head="ssr" rel="icon" type="image/png" href="./favicon.png">
<body>
<!-- gs stuff -->
<a name="top"></a>
<div id="spreadsheet-data" class="container">
<div class="button is-loading is-large is-fullwidth"></div>
</div>
<div id="control" class="is-hidden"><a href="#top"><i class="arrow-up"></i></a></div>
<script type="text/template" id="tpl-data">
<section>
<div class="page" style=color:#ccc>
<img src="logo.png" alt="Kamarble Solutions, LLC">
<p><i>Your IT Solutions Partner</i>
<div class="text_small footer">Solutions</div>
<span class="down_arrow "></span>
</p>
</div>
</section>
<% _.each(_.keys(data).sort(), sheet => { %>
<section>
<div class="page">
<h1>${sheet}</h1>
</div>
<% if (_.size(data[sheet])) { %>
<% _.each(_.keys(data[sheet][0]), (key, i) => { %>
<div class="page">
<h1>${key}</h1>
<p>
<% _.each(data[sheet], (items, i) => { %>
<li>${data[sheet][i][key]}</li>
<% }) %> </p>
</div>
<% }) %>
<% } else { %>
<div class="has-text-danger">No items for ${sheet}</div>
<% } %>
</div>
</section>
<% }) %>
<!-- <section>
<div class="page">
<h1>This is a first section</h1>
<p>..and you can slide to the left or down</p>
</div>
<div class="page">
<h1>Hi! This is second page of first section!</h1>
<p>How are you?</p>
</div>
<div class="page">
<h1>..still first section</h1>
<p>but 3rd page..</p>
</div>
</section> -->
</script>
</body>