simple-images-upload/views/partials/details.ejs
2023-09-25 14:26:48 +02:00

39 lines
No EOL
1.2 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>
<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>