Nearly finished the Excel Password Remover revamp, Only the download is missing
Update commons.yml, excel-password-remover.yml, and 14 more files...
This commit is contained in:
@@ -10,13 +10,7 @@
|
||||
|
||||
{{ render_paragraph(l10n("file.selection.1", applet_data.id, user_lang)) }}
|
||||
|
||||
{{ render_file_input(applet_data.id + "-input-file", true, ".xlsx, .xlsm", true, true) }}
|
||||
|
||||
<div id="{{ applet_data.id }}-errors">
|
||||
<div class="bkgd-red t-bold t-center w-full r-l border p-xs">
|
||||
⚠️ These styles require a special workaround to work properly ⚠️
|
||||
</div>
|
||||
</div>
|
||||
{{ render_file_input(applet_data.id + "-input-file", true, ".xlsx, .xlsm", true, true, user_lang) }}
|
||||
</section>
|
||||
|
||||
<section id="{{ applet_data.id }}-details">
|
||||
@@ -25,8 +19,89 @@
|
||||
<div id="{{ applet_data.id }}-details-empty">
|
||||
{{ render_paragraph(l10n("details.empty.1", applet_data.id, user_lang)) }}
|
||||
</div>
|
||||
|
||||
<div id="{{ applet_data.id }}-details-populated" hidden>
|
||||
{{ render_button(
|
||||
"<i class=\"fa-duotone fa-solid fa-floppy-disks mr-xs\"></i>" +
|
||||
l10n("download.action.all", "commons", user_lang),
|
||||
false, applet_data.id + "-files-download-all", "bkgd-green") }}
|
||||
{{ render_button(
|
||||
"<i class=\"fa-duotone fa-solid fa-trash mr-xs\"></i>" +
|
||||
l10n("clear.all.files", "commons", user_lang),
|
||||
false, applet_data.id + "-files-clear", "bkgd-orange") }}
|
||||
</div>
|
||||
|
||||
<div id="{{ applet_data.id }}-result-container"></div>
|
||||
</section>
|
||||
|
||||
<template id="tmpl-success-root">
|
||||
<div class="bkgd-grid10 w-full r-l border">
|
||||
<table class="table-p-xxs table-v-center">
|
||||
<tr>
|
||||
<td rowspan="2" class="br bkgd-green bkgd-grid30 rl-l">
|
||||
<i class="fa-duotone fa-solid fa-circle-check mx-s"></i>
|
||||
</td>
|
||||
<td class="w-full t-bold">
|
||||
<span id="tmpl-success-filename">PlaceholderSuccessName.xlsx</span>
|
||||
</td>
|
||||
<td rowspan="2" class="bl bkgd-blue bkgd-grid30 rr-l">
|
||||
<i class="fa-duotone fa-download mx-s"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="t-italic">
|
||||
<td>{{ l10n("result.success.count", applet_data.id, user_lang) }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="tmpl-warning-root">
|
||||
<div class="bkgd-grid10 w-full r-l border">
|
||||
<table class="table-p-xxs table-v-center">
|
||||
<tr>
|
||||
<td rowspan="2" class="br bkgd-orange bkgd-grid30 rl-l">
|
||||
<i class="fa-duotone fa-solid fa-triangle-exclamation mx-s"></i>
|
||||
</td>
|
||||
<td class="w-full t-bold">
|
||||
<span id="tmpl-warning-filename">PlaceholderWarningName.xlsx</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="t-italic">
|
||||
<td>
|
||||
<span id="tmpl-warning-message-extension">
|
||||
{{ l10n("result.warning.extension", applet_data.id, user_lang) }}
|
||||
</span>
|
||||
<span id="tmpl-warning-message-no-password">
|
||||
{{ l10n("result.warning.password", applet_data.id, user_lang) }}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template id="tmpl-error-root">
|
||||
<div class="bkgd-grid10 w-full r-l border">
|
||||
<table class="table-p-xxs table-v-center">
|
||||
<tr>
|
||||
<td rowspan="2" class="br bkgd-red bkgd-grid30 rl-l">
|
||||
<i class="fa-duotone fa-solid fa-hexagon-exclamation mx-s"></i>
|
||||
</td>
|
||||
<td class="w-full t-bold">
|
||||
<span id="tmpl-error-filename">PlaceholderErrorName.xlsx</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="t-italic">
|
||||
<td>
|
||||
<span id="tmpl-error-message-jszip">
|
||||
{{ l10n("result.error.jszip", applet_data.id, user_lang) }}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
{% if is_standalone %}
|
||||
<section id="{{ applet_data.id }}-licenses">
|
||||
{{ render_h2(l10n("licenses.title", applet_data.id, user_lang)) }}
|
||||
|
File diff suppressed because one or more lines are too long
@@ -10,10 +10,12 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
||||
<link rel="alternate icon" href="/favicon.ico">
|
||||
|
||||
<!--<link rel="dns-prefetch" />-->
|
||||
<link rel="prefetch" href="https://cdn.nibblepoker.lu/FontAwesomePro/6.5.1/webfonts/fa-brands-400.woff2" as="font" />
|
||||
<link rel="prefetch" href="https://cdn.nibblepoker.lu/FontAwesomePro/6.5.1/webfonts/fa-duotone-900.woff2" as="font" />
|
||||
<link rel="prefetch" href="https://cdn.nibblepoker.lu/FontAwesomePro/6.5.1/webfonts/fa-solid-900.woff2" as="font" />
|
||||
<!--<link rel="dns-prefetch" href="https://cdn.nibblepoker.lu/"/>-->
|
||||
<link rel="preconnect" href="https://cdn.nibblepoker.lu/"/>
|
||||
|
||||
<link rel="prefetch" href="https://cdn.nibblepoker.lu/FontAwesomePro/6.7.2/webfonts/fa-brands-400.woff2" as="font" />
|
||||
<link rel="prefetch" href="https://cdn.nibblepoker.lu/FontAwesomePro/6.7.2/webfonts/fa-duotone-900.woff2" as="font" />
|
||||
<link rel="prefetch" href="https://cdn.nibblepoker.lu/FontAwesomePro/6.7.2/webfonts/fa-solid-900.woff2" as="font" />
|
||||
<link rel="prefetch" href="https://cdn.nibblepoker.lu/NibblePoker/StandardCSS/3px-tile-0.1.png" as="image" />
|
||||
<link rel="prefetch" href="https://cdn.nibblepoker.lu/NibblePoker/StandardCSS/3px-tile-0.4.png" as="image" />
|
||||
{% block extra_preloads %}{% endblock %}
|
||||
@@ -112,8 +114,6 @@
|
||||
</a>
|
||||
</footer>
|
||||
|
||||
<!--<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker.min.js") }}"></script>-->
|
||||
|
||||
{% block extra_scripts %}{% endblock %}
|
||||
|
||||
</body>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<button
|
||||
{% if button_id is not none %}id="{{ button_id }}" {% endif %}
|
||||
class="p-mxs r-s border b-light t-nowrap {{ button_extra_classes }}"
|
||||
class="p-xs r-s border b-light t-nowrap {{ button_extra_classes }}"
|
||||
{% if button_disabled %}disabled{% endif %}>
|
||||
{{ button_inner_html }}
|
||||
</button>
|
@@ -1,7 +1,8 @@
|
||||
<div class="np-file-input-root-container">
|
||||
<!-- FIXME: Use the common renderer ! -->
|
||||
{% if file_upload_button %}
|
||||
<button id="{{ file_input_id }}-add" class="p-xs r-s border btn-primary">
|
||||
<i class="fa-duotone fa-solid fa-cloud-arrow-up mr-xs"></i>
|
||||
<i class="fa-duotone fa-solid fa-cloud-arrow-up mr-xxs"></i>
|
||||
{% if file_multiple %}
|
||||
{{ l10n("file.drop.upload.multiple", "commons", user_lang) }}
|
||||
{% else %}
|
||||
@@ -12,7 +13,7 @@
|
||||
|
||||
{% if file_clear_button %}
|
||||
<button id="{{ file_input_id }}-reset" class="p-xs r-s border btn-warning">
|
||||
{{ l10n("file.drop.clear", "commons", user_lang) }}
|
||||
{{ "<i class=\"fa-duotone fa-solid fa-trash mr-xs\"></i>" + l10n("file.drop.clear", "commons", user_lang) }}
|
||||
</button>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user