2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
|
|
|
<div id="main" class="htk-image-editor">
|
|
|
|
<h2><t>UpdateImage</t></h2>
|
2015-03-27 19:10:49 +00:00
|
|
|
<form
|
|
|
|
method="post"
|
|
|
|
action="rest.php?action=image"
|
|
|
|
target="image-editor"
|
|
|
|
enctype="multipart/form-data"
|
|
|
|
on-submit="onFormSubmit">
|
2015-03-06 23:33:54 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="name"><t>FileName</t></label>
|
2015-03-27 19:10:49 +00:00
|
|
|
<input id="name" type="text" name="name" on-change="onNameChange"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="file"><t>File</t></label>
|
|
|
|
<input id="file" type="file" name="image"/>
|
|
|
|
</div>
|
|
|
|
<div class="footer">
|
|
|
|
<img id="loader" src="image/loader-black.gif" alt="Loading"/>
|
2015-03-27 19:10:49 +00:00
|
|
|
<input id="submit" type="submit" class="button"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
<input id="schema" type="hidden" name="schema"/>
|
|
|
|
<input id="max-size" type="hidden" name="MAX_FILE_SIZE"/>
|
|
|
|
</form>
|
2015-03-27 19:10:49 +00:00
|
|
|
<iframe
|
|
|
|
id="iframe"
|
|
|
|
name="image-editor"
|
|
|
|
on-load="onIframeLoad"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</vn>
|