59 lines
2 KiB
HTML
59 lines
2 KiB
HTML
<!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"/>
|
|
<link rel="apple-touch-icon" href="transbeam-apple.png"/>
|
|
<link rel="manifest" href="manifest.json"/>
|
|
<script src="util.js"></script>
|
|
<title>transbeam</title>
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<img src="transbeam.svg" height="128">
|
|
<h1>transbeam</h1>
|
|
</div>
|
|
|
|
<noscript>This page requires Javascript :(</noscript>
|
|
|
|
<button id="upload">Upload</button>
|
|
<div id="lifetime_container" style="display: none;">
|
|
<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>
|
|
<div id="download_link_container" style="display: none;">
|
|
<div id="download_link_main">
|
|
<div>Download link: <span id="download_link"></span></div><div class="copy_button"></div>
|
|
</div>
|
|
<div id="copied_message" style="display: none;">Copied!</div>
|
|
</div>
|
|
<div id="progress_container" style="display: none;">
|
|
<div id="progress"></div>
|
|
<div id="progress_bar"></div>
|
|
</div>
|
|
<div id="file_list_container" style="display: none;">
|
|
<table id="file_list">
|
|
</table>
|
|
</div>
|
|
<div id="file_input_container">
|
|
<label>
|
|
<input type="file" multiple id="file_input"/>
|
|
<span class="fake_button" id="file_input_message">Select files to upload...</span>
|
|
</label>
|
|
</div>
|
|
<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>
|
|
<script src="transbeam.js"></script>
|
|
</body>
|
|
</html>
|