0
1
Fork 0
hedera-web-mindshore/web/forms/admin/photos/ui.xml

48 lines
1.1 KiB
XML
Raw Normal View History

2015-03-06 23:33:54 +00:00
<vn>
<div id="title">
<h1><t>Photos</t></h1>
</div>
2015-03-06 23:33:54 +00:00
<div id="form" class="photos">
<div class="box">
2015-12-02 17:26:58 +00:00
<div class="form">
<form
2015-09-24 11:50:27 +00:00
id="html-form"
method="post"
enctype="multipart/form-data"
target="photos-iframe"
on-submit="onFormSubmit">
2015-03-06 23:33:54 +00:00
<div class="form-group">
<label><t>Id</t></label>
2015-03-06 23:33:54 +00:00
<input type="number" name="id" id="photo-id"/>
</div>
<div class="form-group">
<label><t>ImageName</t></label>
2015-03-06 23:33:54 +00:00
<input type="text" name="name"/>
</div>
<div class="form-group">
<label><t>Schema</t></label>
2015-03-06 23:33:54 +00:00
<input type="hidden" name="schema" id="schema-field"/>
<htk-combo id="schema">
<db-model property="model">
SELECT name, `desc` FROM image_schema ORDER BY `desc`
</db-model>
</htk-combo>
</div>
<div class="form-group">
<label><t>ImageFile</t></label>
2015-03-06 23:33:54 +00:00
<input type="file" name="image"/>
<input type="hidden" name="MAX_FILE_SIZE" id="photo-size"/>
</div>
2015-12-02 17:26:58 +00:00
<button class="thin" id="submit">
2015-03-06 23:33:54 +00:00
<t>Upload</t>
</button>
</form>
<iframe
id="iframe"
name="photos-iframe"
on-load="onImageUpload"/>
2015-03-06 23:33:54 +00:00
</div>
</div>
</div>
</vn>