fox-send/views/index.handlebars

87 lines
2.4 KiB
Handlebars
Raw Normal View History

<!DOCTYPE html>
<html>
2017-05-30 16:24:16 +00:00
<head>
2017-06-01 20:14:14 +00:00
<title>Firefox Fileshare</title>
2017-06-06 21:23:10 +00:00
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="./bundle.js"></script>
2017-06-01 17:54:17 +00:00
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css">
<link rel="stylesheet" type="text/css" href="./main.css" />
2017-05-30 16:24:16 +00:00
</head>
2017-06-05 14:25:10 +00:00
<body>
2017-06-01 17:54:17 +00:00
<div class="main-window">
<div id="page-one">
<div class="title">
Share your files quickly, privately and securely.
</div>
<div class="upload-window" ondrop="onUpload(event)" ondragover="allowDrop(event)">
2017-06-06 21:23:10 +00:00
<div id="upload-img"><img src="/resources/upload.svg"/></div>
2017-06-01 17:54:17 +00:00
<div>
2017-06-05 14:26:50 +00:00
DRAG &amp; DROP
2017-06-01 17:54:17 +00:00
</div>
<div class="upload">
<div id="browse-text">
your file/folder here or
</div>
<div id="browse">
<form method="post" action="upload" enctype="multipart/form-data">
2017-06-06 21:23:10 +00:00
<label for="file-upload" class="file-upload">browse</label>
<input id="file-upload" type="file" onchange="onUpload(event)" name="fileUploaded" />
2017-06-01 17:54:17 +00:00
</form>
</div>
</div>
</div>
</div>
<div id="file-list">
<table id="uploaded-files">
<tr>
<th width=30%>File</th>
<th width=45%>Copy URL</th>
2017-06-06 21:23:10 +00:00
<th width=18%>Expires in</th>
<th width=7%>Delete</th>
2017-06-01 17:54:17 +00:00
</tr>
<!-- <div class="popup">
<span class="popuptext" id="myPopup">Popup text...</span>
</div> -->
2017-06-01 17:54:17 +00:00
</table>
</div>
2017-05-30 16:24:16 +00:00
2017-06-06 21:23:10 +00:00
<div id="upload-progress">
<div class="title" id="upload-filename">
Uploading
</div>
<div class="upload-window">
<div id="upload-img"><img src="/resources/upload.svg"/></div>
<div class="upload">
<!-- progress bar here -->
</div>
</div>
</div>
<div id="share-link">
<div class="title">
Copy the link below to share your file!
</div>
<div class="share-window">
<img src="/resources/share.png"/>
<div id="share-window-r">
<div id="copy">
<input id="link" type="url" value="" readonly/>
<button id="copy-btn">Copy</button>
</div>
<div>
This link expires after one download
</div>
</div>
</div>
<div class="send-new">
Send another file
</div>
</div>
2017-06-01 17:54:17 +00:00
</div>
2017-06-06 21:23:10 +00:00
2017-05-30 16:24:16 +00:00
</body>
2017-06-01 17:54:17 +00:00
</html>