1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 02:42:48 +00:00

changed file uploads

This commit is contained in:
2016-01-06 14:32:32 -06:00
parent 266ff19043
commit 96a8c8eb80
10 changed files with 91 additions and 14048 deletions

View File

@@ -7,7 +7,7 @@
<div class="container">
<form action="/upload" method="post" enctype="multipart/form-data" class="form-file">
<form enctype="multipart/form-data" class="form-file">
<h2 class="text-center">File Upload</h2>
<br>
<input type="password" class="form-control" name="key" placeholder="Key" required>
@@ -26,16 +26,11 @@
<br>
<button class="btn btn-lg btn-primary btn-block" type="submit">Submit</button>
<button id="upload-form" class="btn btn-lg btn-primary btn-block" type="submit">Submit</button>
<br>
<%
if (typeof message != 'undefined'){ %>
<div class="text-center colorRed"><%=message%></div>
<%}%>
<div id="response" class="text-center colorRed"></div>
</form>
@@ -49,7 +44,8 @@
}%>
</div>
</div>
<div class="modal"><!-- Place at bottom of page --></div>
</body>
<% include layoutBottom.ejs %>
<% include layoutBottom.ejs %>
<script src="/javascript/upload.js"></script>