-
Notifications
You must be signed in to change notification settings - Fork 2
/
Widget.html
24 lines (24 loc) · 1.52 KB
/
Widget.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div>
<div data-dojo-attach-point="workZone" class="work-zone">
<div id="import-section" class="section" data-dojo-attach-point="importSection">
<form class="input-form" enctype="multipart/form-data" id="form" method="GET" action="#" data-dojo-attach-point="inputForm">
<input id="file" title="Formats autorisés" name="file" type="file" class="input-file" data-dojo-attach-point="inputFile" data-dojo-attach-event="onChange:loadFile"/>
</form>
<span class="formats-btn" data-dojo-attach-event="onClick:showFormats">?</span>
</div>
<div id="loading-section" class="section" data-dojo-attach-point="loadingSection" style="display:none;">
<div class="loading-zone">
<img class="loading-img" src="${folderUrl}/images/loading.gif" />
<span data-dojo-attach-point="loadingMessage">En cours de chargement</span>
</div>
<img class="cancel" src="${folderUrl}/images/clear.png" data-dojo-attach-event="click:cancel" />
</div>
<hr class="separator" />
<ul data-dojo-attach-point="resultList" class="section result-section"></ul>
</div>
<div data-dojo-attach-point="dropZone" class="drop-zone" style="display:none;">
<img src="${folderUrl}/images/drop.png" />
<p>Posez le fichier ici pour lancer l'import.</p>
<div data-dojo-attach-point="formats" class="jimu-widget-fileimporter-formats"><span>Les formats suivants sont supportés :</span></div>
</div>
</div>