forked from cjpjwa/simple-app-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.htm
218 lines (210 loc) · 8.01 KB
/
index.htm
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en">
<head>
<!-- general -->
<title>Simple App Shell</title>
<meta charset="utf-8" />
<meta name="keywords" content="webapp, pwa, app shell" />
<meta name="description" content="Simple App Shell" />
<meta name="Author" content="R. Etemadi" />
<!-- manifest file -->
<link rel="manifest" href="manifest.json" />
<!-- ios webapp -->
<meta name="viewport" content="user-scalable=yes, width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<link rel="apple-touch-icon" href="./img/apple-touch-icon.png" />
<!-- chrome webapp -->
<meta name="mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#cccccc" />
<link rel="icon" sizes="144x144" href="./img/icon_144.png" />
<link rel="icon" sizes="192x192" href=".img/icon_192.png" />
<link rel="icon" sizes="512x512" href=".img/icon_512.png" />
<!-- win tile icon and background -->
<meta name="msapplication-TileColor" content="#999999" />
<meta name="msapplication-TileImage" content="./img/icon_144.png" />
<!-- icon -->
<link rel="shortcut icon" href="/img/favicon.ico" />
<link rel="stylesheet" type="text/css" href="./styles.css" />
<script src="./script.js" defer></script>
</head>
<body>
<noscript>
<h1 style="text-align:center">Please activate Javascript<br />to run this web app!</h1>
</noscript>
<!-- ###################### START PAGE ############################## -->
<div class="page" id="appstart">
<div class="header">
<h1>Simple App Shell</h1>
<a class="button2" href="#sample">Sample</a>
<a class="button1" href="#info">Info</a>
</div>
<div class="content">
<br />
<h2>Overview</h2>
<p>This is the <a href="https://www.cjpj.de/appshell.htm" target="_blank" rel="noopener">Simple App
Shell</a>. It provides a simple and basic HTML, CSS and Javascript shell for your Progessive Web
App.
You can find sample web apps under <a href="https://www.cjpj.de/webapps.htm" target="_blank"
rel="noopener">www.cjpj.de/webapps.htm</a>.</p>
<p>The basic features are:</p>
<ul>
<li><a href="https://www.cjpj.de/appshell.htm#hashnavi" target="_blank" rel="noopener">Hash
Navigation</a></li>
<li><a href="https://www.cjpj.de/appshell.htm#swcache" target="_blank" rel="noopener">Serviceworker
Caching</a></li>
<li><a href="https://www.cjpj.de/appshell.htm#basicui" target="_blank" rel="noopener">Basic User
Interface</a></li>
</ul>
<br />
<p class="footer">Simple App Shell <span class="fversion"></span></p>
</div>
</div>
<!-- ###################### SAMPLE PAGE ############################## -->
<div class="page" id="sample">
<div class="header">
<h1>Sample Header</h1>
<a class="button1" href="#info">Info</a>
<a class="button2" href="#appstart">Home</a>
</div>
<div class="content">
<br />
<h2>Sample Topic</h2>
<p>This is a sample text with sample <a href="https://www.cjpj.de/webapps.htm" target="_blank"
rel="noopener">link</a>.<br />
This is a sample text with sample <a href="https://www.cjpj.de/webapps.htm" target="_blank"
rel="noopener">link</a>.<br />
This is a sample text with sample <a href="https://www.cjpj.de/webapps.htm" target="_blank"
rel="noopener">link</a>.<br />
This is a sample text with sample <a href="https://www.cjpj.de/webapps.htm" target="_blank"
rel="noopener">link</a>.</p>
<ul>
<li>Sample List Element</li>
<li>Sample List Element</li>
<li>Sample List Element</li>
<li>Sample List Element</li>
</ul>
<h2>Sample Elements</h2>
<button class="blarge" type="button" onclick="alert('Button Large');">Button large</button>
<div style="text-align:center">
<button class="bsmall blite" type="button" onclick="alert('Button Small Lite');">Button small</button>
<button class="bsmall" type="button" onclick="alert('Button Small');">Button small</button>
<br />
<br />
<label for="selectbox">Select Box Label</label>
<select name="selectbox" id="selectbox">
<option value="0" selected="selected">Select Box</option>
<option value="1">Value 1</option>
<option value="2">Value 2</option>
<option value="3">Value 3</option>
</select>
</div>
<br />
<label for="inputtext">Text Input Label:</label>
<input type="text" name="inputtext" id="inputtext" value="" placeholder="Sample Input Text" />
<br />
<ul class="radiolist">
<li><input type="radio" name="radioType" id="radio0" value="0" /><label id="labelr0" for="radio0"
class="color_0">Radio Button Label 0</label></li>
<li><input type="radio" name="radioType" id="radio1" value="1" /><label id="labelr1" for="radio1"
class="color_1">Radio Button Label 1</label></li>
<li><input type="radio" name="radioType" id="radio2" value="2" /><label id="labelr2" for="radio2"
class="color_2">Radio Button Label 2</label></li>
</ul>
<br />
<fieldset>
<legend> Check Box Legend </legend>
<input type="checkbox" name="cbox0" id="cbox0" value="" /><label class="cblabel" id="labelc0"
for="cbox0">Check Box Label 0</label><br />
<input type="checkbox" name="cbox1" id="cbox1" value="" /><label class="cblabel" id="labelc1"
for="cbox1">Check Box Label 1</label><br />
<input type="checkbox" name="cbox2" id="cbox2" value="" /><label class="cblabel" id="labelc2"
for="cbox2">Check Box Label 2</label><br />
</fieldset>
<br />
<table>
<tr>
<th>Head1</th>
<th>Head2</th>
<th>Head3</th>
<th>Head4</th>
</tr>
<tr>
<td>cell11</td>
<td>cell12</td>
<td>cell13</td>
<td>cell14</td>
</tr>
<tr>
<td>cell21</td>
<td>cell22</td>
<td>cell23</td>
<td>cell24</td>
</tr>
<tr>
<td>cell31</td>
<td>cell32</td>
<td>cell33</td>
<td>cell34</td>
</tr>
<tr>
<td>cell41</td>
<td>cell42</td>
<td>cell43</td>
<td>cell44</td>
</tr>
</table>
<br />
<p class="footer">Footer with Version: <span class="fversion"></span></p>
</div>
</div>
<!-- ###################### ABOUT PAGE ############################## -->
<div class="page" id="info">
<div class="header">
<h1>Your App Info</h1>
<a class="button1" href="#appstart">Home</a>
</div>
<div class="content">
<h2 style="margin-top:8px">About</h2>
<p>Your app information can be included here (description, legal stuff, etc.)</p>
<hr />
<h2>Status</h2>
<ul>
<li>Network: <strong id="snet">-</strong></li>
<li>Cached: <strong id="scache">-</strong></li>
<li>Update: <strong id="supdate">No Update available</strong></li>
</ul>
<hr />
<h2>Info</h2>
<ul>
<li>App Title: <strong>Your App Title</strong></li>
<li>Version: <strong id="version">-</strong></li>
<li>Website: <a href="#" target="_blank" rel="noopener">Your App Website</a></li>
<li><a href="#" target="_blank" rel="noopener">Detailed Description</a></li>
<li><a href="#" target="_blank" rel="noopener">Terms of Use (License)</a></li>
<li><a href="#" target="_blank" rel="noopener">Data Protection</a></li>
</ul>
<hr />
<h2>Imprint</h2>
<ul>
<li>Author: Your name</li>
<li>Street: Your street</li>
<li>City: Your city</li>
<li>Country: Your country</li>
<li>Phone: Your phone</li>
<li>Email: <a href="#">Your email</a></li>
<li>Website: <a href="#" target="_blank" rel="noopener">Your website</a></li>
</ul>
<hr />
<h2>Open Source Licenses</h2>
<ul>
<li><a href="https://www.cjpj.de/appshell.htm" target="_blank" rel="noopener">Simple App Shell</a>
licensed under <a href="https://www.cjpj.de/contact.htm#terms" target="_blank" rel="noopener">The
MIT License (MIT)</a></li>
</ul>
<br />
</div>
</div>
</body>
</html>