-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
113 lines (109 loc) · 4.39 KB
/
Copy pathindex.html
File metadata and controls
113 lines (109 loc) · 4.39 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
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>Dive Log</title>
<link rel="icon" href="images/favicon.svg" type="image/svg+xml" />
<link rel="stylesheet" href="css/DiveManager.css" />
<link rel="stylesheet" href="css/modal.css" />
<link rel="stylesheet" href="css/busy.css" />
<script defer type="module" src="src/DiveManager.js"></script>
</head>
<body>
<div id="main">
<h1>
<span id="aboutLink">Dive Log 🛈</span>
<button title="Create a new log page" id="addPageButton">+</button>
</h1>
<table>
<tr>
<td><input id="site" title="Site" placeholder="Site" autocapitalize="sentences"></td>
<td><input id="date" type="date"></td>
</tr>
<tr>
<td><input id="manager" title="Dive Manager" placeholder="Dive Manager" autocapitalize="words"></td>
<td><input id="boat" title="Boat used" placeholder="Boat" autocapitalize="sentences"></td>
</tr>
<tr>
<td colspan="2"><input title="Weather" id="weather" placeholder="Weather" autocapitalize="sentences"></td>
</tr>
<tr>
<td colspan="2">
<textarea id="comments" placeholder="Comments" autocapitalize="sentences"></textarea>
</td>
</tr>
</table>
<div style="overflow-x:auto;">
<table id="diveTable">
<thead><tr></tr></thead>
<tbody></tbody>
</table>
</div>
<h1 title="Click on the page below to edit it">Not uploaded yet</h1>
<div id="pages"></div>
<div class="uploadBar">
<button id="uploadButton" class="fullWidthButton" title="Upload completed logs to Drive">Upload</button>
</div>
</div>
<div id="uploadModal" class="modal-overlay">
<div class="modal">
<button class="modal-close">×</button>
<h1>Select Upload Target</h1>
This is where your logs will be uploaded to. Your Diving Officer or
sysadmin should have given you the key(s) for your club's upload
target.
<select id="uploadTargetSelect">
</select>
<div>
<button id="addTargetButton" title="Add a new upload target. You will need the key for the new target">Add</button>
<button id="editTargetButton" title="Edit the selected target. If you want to delete the target, clear the name.">Edit</button>
</div>
<div class="uploadBar">
<button class="fullWidthButton" id="publishButton" title="Send logs to the target">Upload</button>
</div>
</div>
</div>
<div id="targetModal" class="modal-overlay">
<div class="modal">
<button class="modal-close">×</button>
<h1>Add/Modify Target</h1>
<input class="hidden" id="originalTargetNameInput">
<input placeholder="Target Name" title="Give it a name that indicates what it is for" id="targetNameInput">
<input placeholder="Key" title="You should have received this key from the sysadmin or Diving Officer" id="targetKeyInput">
<button id="commitTargetButton">Save target</button>
</div>
</div>
<div id="busyModal" class="modal-overlay">
<div class="modal">
<h1>Uploading...</h1>
<svg width="300" height="300" viewBox="0 0 300 300">
<circle cx="150" cy="150" r="75" class="outerCircle">
</circle>
</svg>
</div>
</div>
<div id="aboutModal" class="modal-overlay">
<div class="modal">
<button class="modal-close">×</button>
<h1>About DiveLog</h1>
<p>DiveLog was created for use by member clubs of the British
Sub-Aqua Club (BSAC) by Crawford Currie. At time of writing
the author is a member of BSAC but is not affiliated in any
other way.
</p>
<p>
If you like this application and find it useful,
please <a href="https://ko-fi.com/crawfordcurrie">buy me a
coffee</a>.
</p>
<p>
You can report issues or ideas, or contribute patch requests,
<a href="https://github.com/cdot/DiveLog">here</a>.
</p>
<p>
DiveLog is distributed under the terms of the <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GNU General Public License (GPL) version 3.</a>
</div>
</div>
</body>
</html>