style/ribbon/file properties: add icons to buttons

pull/1398/head
Adorian Doran 2025-03-12 02:01:19 +07:00
parent 62b5bbc9ce
commit 0c8e7806f4
1 changed files with 21 additions and 12 deletions

@ -43,11 +43,20 @@ const TPL = `
<tr>
<td colspan="4">
<div class="file-buttons">
<button class="file-download btn btn-sm btn-primary" type="button">${t("file_properties.download")}</button>
&nbsp;
<button class="file-open btn btn-sm btn-primary" type="button">${t("file_properties.open")}</button>
&nbsp;
<button class="file-upload-new-revision btn btn-sm btn-primary">${t("file_properties.upload_new_revision")}</button>
<button class="file-download btn btn-sm btn-primary" type="button">
<span class="bx bx-download"></span>
${t("file_properties.download")}
</button>
<button class="file-open btn btn-sm btn-primary" type="button">
<span class="bx bx-link-external"></span>
${t("file_properties.open")}
</button>
<button class="file-upload-new-revision btn btn-sm btn-primary">
<span class="bx bx-folder-open"></span>
${t("file_properties.upload_new_revision")}
</button>
<input type="file" class="file-upload-new-revision-input" style="display: none">
</div>