diff options
Diffstat (limited to 'templates/file.html')
| -rw-r--r-- | templates/file.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/file.html b/templates/file.html new file mode 100644 index 0000000..a3beae9 --- /dev/null +++ b/templates/file.html @@ -0,0 +1,35 @@ +{{template "header.html" "Upload images from file!"}} +{{template "navbar.html"}} +{{template "modal_uploaded.html"}} +{{template "modal_error.html"}} + +<div class="container"> + <div class="row"> + <div class="col-md-12"> + + <form class="form-horizontal" method="POST" enctype="multipart/form-data"> + <fieldset> + <legend> + <h2>File Upload</h2> + <p>Search for a file locally to upload.</p> + </legend> + <div class="well"> + <div class="form-group"> + <div class="col-md-4"> + <input id="file" name="image" type="file" data-filename-placement="inside" title="Search for a file to add"> + </div> + </div> + <div class="form-group"> + <div class="col-md-4"> + <a href="/api/v1/file" id="imageSubmit" name="imageSubmit" class="btn btn-material-indigo-A700 btn-upload" autocomplete="off">Upload!</a> + </div> + </div> + </div> + </fieldset> + </form> + + </div> + </div> +</div> + +{{template "footer.html"}} |
