2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
2015-09-11 09:37:16 +00:00
|
|
|
<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">
|
2017-05-08 15:54:35 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label><t>Collection</t></label>
|
|
|
|
<htk-combo id="schema">
|
|
|
|
<db-model property="model">
|
|
|
|
<custom>
|
|
|
|
SELECT name, `desc` FROM image_schema ORDER BY `desc`
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
|
|
|
</div>
|
|
|
|
<div id="dropzone" class="dropzone"
|
|
|
|
on-dragenter="onDragEnter"
|
|
|
|
on-dragleave="onDragLeave"
|
|
|
|
on-mouseout="onDragLeave"
|
|
|
|
on-dragover="onDragOver"
|
|
|
|
on-drop="onDrop"
|
|
|
|
on-dragend="onDragEnd"
|
|
|
|
on-click="onDropzoneClick">
|
|
|
|
Click or drop files here!
|
|
|
|
</div>
|
|
|
|
<input
|
|
|
|
id="file"
|
|
|
|
type="file"
|
|
|
|
multiple="true"
|
|
|
|
name="image"
|
|
|
|
on-change="onFileChange"/>
|
|
|
|
<div id="file-list" class="file-list"/>
|
|
|
|
<div class="footer">
|
|
|
|
<button class="thin" on-click="onClearClick">
|
|
|
|
<t>Clear all</t>
|
|
|
|
</button>
|
|
|
|
<button class="thin" on-click="onUploadClick">
|
|
|
|
<t>Upload files</t>
|
|
|
|
</button>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|