-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
85 lines (70 loc) · 2.1 KB
/
main.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
<!DOCTYPE html>
<html>
<head>
<title>Compartir — Sharing is caring</title>
<link rel="stylesheet" type="text/css" href="src/materialize.css">
<link rel="stylesheet" type="text/css" href="src/main.css">
</head>
<body>
<div class="row">
<div class="logo blue">
<h3 class="white-text" style="padding-left: 20px;">COMPARTIR</h3>
</div>
<div class="col s8 offset-s2">
<div class="block">
<table class="striped">
<tr>
<td><b>Server URL</b></td>
<td id="url-cell">N/A</td>
</tr>
<tr>
<td><b>Server Status</b></td>
<td id="status-cell">Offline</td>
</tr>
<tr>
<td><b>Folder</b></td>
<td id="folder-cell">N/A</td>
</tr>
</table>
</div>
<hr class="blue">
<p class=" grey-text block">
First click the <code>CHOOSE FOLDER</code> button to select the folder you want to share, then start the server. Share the Server URL with those you want them to access the folder.
</p>
<div class="center-align ">
<button class="btn white blue-text" style="border-color: #2196f3; border-style: solid; border-width: 1px;" onclick="chooseFolder()">CHOOSE FOLDER</button>
<button class="btn blue" onclick="toggleServer()" disabled id="btn-start">Start Server</button>
</div>
</div>
</div>
<footer class="page-footer blue">
<div class="container row">
<div class="col s4 offset-s2">
<h5>Help Links</h5>
<ul>
<li><a href="#" onclick="openHelpFile(`app-help.html`)" class="white-text">Application Manual</a></li>
<li><a href="#" onclick="openHelpFile(`web-help.html`)" class="white-text">Web Manual</a></li>
</ul>
</div>
<div class="col s4">
<h5>Send issues:</h5>
<ul class="white-text">
<li>
<a href="mailto:[email protected]" class="white-text">[email protected]</a>
</li>
<li>
+263 777 901 802
</li>
</ul>
</div>
</div>
<div class="footer-copyright">
<div class="container center-align">
© 2020 Xavier Mukodi
</div>
</div>
</footer>
<script src="src/materialize.min.js"></script>
<script src="src/main.js"></script>
</body>
</html>