2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
2017-05-09 12:03:06 +00:00
|
|
|
<h1><t>Images</t></h1>
|
2015-09-11 09:37:16 +00:00
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
<div id="form" class="photos">
|
2022-05-26 06:08:31 +00:00
|
|
|
<div class="box form vn-w-sm vn-pa-lg">
|
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>
|
2017-12-20 11:34:04 +00:00
|
|
|
SELECT name, `desc` FROM imageCollection ORDER BY `desc`
|
2017-05-08 15:54:35 +00:00
|
|
|
</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">
|
2017-05-09 12:03:06 +00:00
|
|
|
<t>Click or drop files here</t>
|
2017-05-08 15:54:35 +00:00
|
|
|
</div>
|
|
|
|
<input
|
|
|
|
id="file"
|
|
|
|
type="file"
|
|
|
|
multiple="true"
|
|
|
|
name="image"
|
|
|
|
on-change="onFileChange"/>
|
|
|
|
<div id="file-list" class="file-list"/>
|
2019-02-07 13:09:56 +00:00
|
|
|
<div class="update-matching">
|
|
|
|
<label>
|
|
|
|
<htk-check id="update-matching" value="true"/>
|
|
|
|
<t>Update items with matching id</t>
|
|
|
|
</label>
|
|
|
|
</div>
|
2017-05-08 15:54:35 +00:00
|
|
|
<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>
|