added csp directives

This commit is contained in:
Danny Coates 2017-07-12 10:56:04 -07:00
parent b32e63c305
commit 9234bce75d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 37 additions and 12 deletions

View file

@ -23,7 +23,7 @@
</div>
<div id="download-page-one">
<div>
<button id="download-btn" onclick="download()">Download File</button>
<button id="download-btn">Download File</button>
</div>
<div id='expired-img'>
<img src='/resources/link_expired.png' />

View file

@ -19,7 +19,7 @@
<div class="title">
Share your files quickly, privately and securely.
</div>
<div class="upload-window" ondrop="onUpload(event)" ondragover="allowDrop(event)">
<div class="upload-window">
<div id="upload-img"><img src="/resources/upload.svg" alt="Upload"/></div>
<div>
DRAG &amp; DROP
@ -31,7 +31,7 @@
<div id="browse">
<form method="post" action="upload" enctype="multipart/form-data">
<label for="file-upload" class="file-upload">browse</label>
<input id="file-upload" type="file" onchange="onUpload(event)" name="fileUploaded" />
<input id="file-upload" type="file" name="fileUploaded" />
</form>
</div>
</div>