summaryrefslogtreecommitdiff
path: root/client/partials/image/edit.html
diff options
context:
space:
mode:
authorLoic GUEGAN <loic@Manzerbredes.home>2016-05-06 14:24:15 +0200
committerLoic GUEGAN <loic@Manzerbredes.home>2016-05-06 14:24:15 +0200
commit2856a776dbedfdef2ace3cd4b4c06d1e8ebe6151 (patch)
treef10bf1f179790623ad7ba27a977125271c8e4b3a /client/partials/image/edit.html
parent664cddd4fa519c2e8a9233a36c0fd020f7142cd6 (diff)
Add image creation and suppression
Diffstat (limited to 'client/partials/image/edit.html')
-rw-r--r--client/partials/image/edit.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/client/partials/image/edit.html b/client/partials/image/edit.html
index 4420f52..2b58065 100644
--- a/client/partials/image/edit.html
+++ b/client/partials/image/edit.html
@@ -34,6 +34,19 @@
</fieldset>
</form>
+ <form action="../server/index.php" method="post">
+ <input type="hidden" name="task" value="image" />
+ <input type="hidden" name="token" value="{{ token}}" />
+ <input type="hidden" name="action" value="uploadImage" />
+ <input type="hidden" name="id" value="60ed9403-419e-4ea8-933f-dd1750d97360" />
+ <input type="hidden" name="file_name" value="bob.iso" />
+ <fieldset class="form-group">
+ <label class="control-label col-sm-2">Upload</label>
+ <input name="file" type="file" />
+ <input type="submit" value="Upload" />
+
+ </fieldset>
+ </form>
<div class="modal-footer">
<!--<a href="#" data-dismiss="modal" class="btn btn-default">Close</a>-->