-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplaner.html
43 lines (39 loc) · 1.38 KB
/
planer.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Duty Planer</title>
<script type="application/javascript" src="planer.js"></script>
<script type="application/javascript" src="common.js"></script>
<script src="qrcode.min.js" integrity="sha512-ZDSPMa/JM1D+7kdg2x3BsruQ6T/JpJo3jWDWkCZsP+5yVyp1KfESqLI+7RqB5k24F7p2cV7i2YHh/890y6P6Sw=="></script>
<link rel="stylesheet" type="text/css" href="planer.css">
</head>
<body onload="startup();">
<div class="header">
<h1>Duty Plan</h1>
</div>
<div class="no-print">
<textarea id="share_text" readonly cols="50" rows="4" onfocus="this.select();" onmouseup="return false;"></textarea>
<br>
<button onclick="navigator.share({'text': document.getElementById('share_text').value})">Share Text</button>
<button onclick="navigator.clipboard.writeText(document.getElementById('share_text').value)">Copy Text</button>
</div>
<div class="header">
<p>To generate the next plan:</p>
<ol>
<li>Scan the QR-code</li>
<li>Send link to laptop</li>
<li>Click on "Next Plan"</li>
<li>Maybe change settings</li>
<li>Print new plan</li>
</ol>
</div>
<div id="qrcode" class="header" style="float: right"></div>
<div id="duty_table">
</div>
<div class="no-print">
<a id="settings_link">Change Settings</a>
<a id="next_plan_link">Next Plan</a>
</div>
</body>
</html>