31 lines
846 B
XML
31 lines
846 B
XML
<vn>
|
|
<div id="main" class="htk-image-editor">
|
|
<h2><t>UpdateImage</t></h2>
|
|
<form
|
|
method="post"
|
|
action="rest.php?action=image"
|
|
target="image-editor"
|
|
enctype="multipart/form-data"
|
|
on-submit="onFormSubmit">
|
|
<div class="form-group">
|
|
<label for="name"><t>FileName</t></label>
|
|
<input id="name" type="text" name="name" on-change="onNameChange"/>
|
|
</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"/>
|
|
<input id="submit" type="submit" class="button"/>
|
|
</div>
|
|
<input id="schema" type="hidden" name="schema"/>
|
|
<input id="max-size" type="hidden" name="MAX_FILE_SIZE"/>
|
|
</form>
|
|
<iframe
|
|
id="iframe"
|
|
name="image-editor"
|
|
on-load="onIframeLoad"/>
|
|
</div>
|
|
</vn>
|