transbeam/static/index.html

69 lines
2.3 KiB
HTML
Raw Normal View History

2022-04-26 23:54:29 -04:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" type="text/css" href="transbeam.css"/>
2022-05-01 02:32:56 -04:00
<link rel="stylesheet" type="text/css" href="states.css"/>
2022-04-30 01:46:21 -04:00
<link rel="apple-touch-icon" href="images/site-icons/transbeam-apple.png"/>
2022-04-29 15:25:47 -04:00
<link rel="manifest" href="manifest.json"/>
2022-04-27 23:52:45 -04:00
<script src="util.js"></script>
2022-05-01 02:32:56 -04:00
<script src="transbeam.js"></script>
2022-04-28 00:12:40 -04:00
<title>transbeam</title>
2022-04-26 23:54:29 -04:00
</head>
2022-05-01 02:32:56 -04:00
<body class="no_files selecting">
<div id="header">
<img src="images/site-icons/transbeam.svg" height="128">
<h1>transbeam</h1>
</div>
<div id="message"></div>
<div id="upload_controls">
<div>
<button id="upload">Upload</button>
</div>
<div id="lifetime_container">
<label>
Keep files for:
<select id="lifetime">
<option value="1">1 day</option>
<option value="7">1 week</option>
<option value="14" selected>2 weeks</option>
<option value="30">1 month</option>
</select>
</label>
</div>
2022-05-01 02:32:56 -04:00
</div>
<div id="download_code_container">
<div id="download_code_main">
<div>Download code: <span id="download_code"></span></div><div class="copy_button"></div>
2022-04-27 23:52:45 -04:00
</div>
<div id="copied_message">Link copied!</div>
2022-05-01 02:32:56 -04:00
</div>
<div id="progress_container">
<div id="progress"></div>
<div id="progress_bar"></div>
</div>
<table id="file_list">
</table>
<label id="file_input_container">
<input type="file" multiple id="file_input"/>
<span class="fake_button" id="file_input_message">Select files to upload...</span>
</label>
<div id="download">
<form id="download_form" action="download" method="get">
<div>
<label>
<h4>Or enter a code to download files:</h4>
<input type="text" id="download_code_input" name="code" placeholder="Download code"/>
</label>
</div>
<input id="download_button" type="submit" value="Download"/>
</form>
</div>
2022-05-01 02:32:56 -04:00
<div id="footer">
<h5>(c) 2022 xenofem, MIT licensed</h5>
<h5><a target="_blank" href="https://git.xeno.science/xenofem/transbeam">source</a></h5>
</div>
2022-04-26 23:54:29 -04:00
</body>
</html>