simple-images-upload/views/partials/details.ejs

51 lines
No EOL
1.5 KiB
Text

<div class="field">
<label for="originalFile-<%= index %>">Taille originale</label>
<input
type="text"
name="originalFile-<%= index %>"
id="originalFile-<%= index %>"
value="<%= file.originalFile %>"
onclick="copyToClipboard('originalFile-<%= index %>', 'Lien copié')"
>
</div>
<% if ( hideShortUrl === false ) { %>
<div class="field">
<label for="urlshort-<%= index %>">Taille originale (url raccourcie)</label>
<input
type="text"
name="urlshort-<%= index %>"
id="urlshort-<%= index %>"
value="<%= file.urlshort %>"
onclick="copyToClipboard('urlshort-<%= index %>', 'Lien copié')"
>
</div>
<% } %>
<div class="field">
<label for="mediumFile-<%= index %>">Taille moyenne (800x600)</label>
<input
type="text"
name="mediumFile-<%= index %>"
id="mediumFile-<%= index %>"
value="<%= file.mediumFile %>"
onclick="copyToClipboard('mediumFile-<%= index %>', 'Lien copié')"
>
</div>
<div class="field">
<label for="smallFile-<%= index %>">Miniature (300x200)</label>
<input
type="text"
name="smallFile-<%= index %>"
id="smallFile-<%= index %>"
value="<%= file.smallFile %>"
onclick="copyToClipboard('smallFile-<%= index %>', 'Lien copié')"
>
</div>
<div class="field">
<label for="bbcode-<%= index %>">BB Code</label>
<textarea
name="bbcode-<%= index %>"
id="bbcode-<%= index %>"
onclick="copyToClipboard('bbcode-<%= index %>', 'BB Code copié')"
rows="4"
>[url=<%= file.originalFile %>][img]<%= file.mediumFile %>[/img][/url]</textarea>
</div>