aboutsummaryrefslogtreecommitdiff
path: root/interface/listing.htm
blob: f2b1a14f0b7246c6d9e17c92061e7b7c7d98cf28 (plain)
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
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<title>cargohold</title>
		<link rel="stylesheet" href="../assets/cargohold.css" />
		<link rel="icon" href="../assets/cargohold.ico" />
		<script src="../assets/cargohold.js"></script>
	</head>
	<body>
		<div id="header">
			cargohold
		</div>
		<div id="container">
			<div class="tab-wrap">
				<input type="radio" id="tab-view" name="tabs" class="tab" checked>
				<label for="tab-view" id="tab-view-label">View</label>

				<input type="radio" id="tab-upload" name="tabs" class="tab">
				<label for="tab-upload" id="tab-upload-label">Upload</label>

				<div class="tab-content">
					<noscript>
						<div id="noscript-warning">
							Sadly, cargohold does currently not work with JavaScript disabled.
							This feature may be added in the future. If you enable JavaScript,
							this is where you would see a list of files you can access using the
							current link.
						</div>
					</noscript>
					<div id="dirlisting">
					</div>
				</div>
				<div class="tab-content">
					<div id="upload">
						<form action="upload" method="post" enctype="multipart/form-data">
							<label for="files" id="selector-label">
								△ Select files to upload
								<input type="file" id="files" name="files" multiple>
							</label>
							<input type="submit" value="Start upload" name="submit" id="file-submit">

						</form>
					</div>
					<div id="queue">
					</div>
					<!--
					<div id="storage">
						Storage space left: 2GB / 2GB <br/>
						<progress value="70" max="100">70 %</progress>
					</div>
					-->
				</div>
			</div>
		</div>
	</body>
</html>