Revamped site's common scripts, Many pages slightly broken
Update commons.yml, excel-password-remover.yml, and 31 more files...
This commit is contained in:
@@ -1,22 +1,35 @@
|
||||
<section id="{{ applet_data.id }}-eula">
|
||||
{{ render_h2(l10n("eula.long", "commons", user_lang)) }}
|
||||
{{ render_h2(l10n("disclaimer.warning", "commons", user_lang)) }}
|
||||
{{ render_paragraph(l10n("eula.1", applet_data.id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("eula.2", applet_data.id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("eula.3", applet_data.id, user_lang)) }}
|
||||
{{ render_paragraph(l10n("eula.4", applet_data.id, user_lang)) }}
|
||||
</section>
|
||||
|
||||
<section id="{{ applet_data.id }}-input">
|
||||
{{ render_h2(l10n("file.selection.title", applet_data.id, user_lang)) }}
|
||||
<p>123</p>
|
||||
|
||||
{{ 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>
|
||||
</section>
|
||||
|
||||
<section id="{{ applet_data.id }}-details">
|
||||
{{ render_h2(l10n("details.title", applet_data.id, user_lang)) }}
|
||||
<p>123</p>
|
||||
|
||||
<div id="{{ applet_data.id }}-details-empty">
|
||||
{{ render_paragraph(l10n("details.empty.1", applet_data.id, user_lang)) }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="{{ applet_data.id }}-licenses">
|
||||
{{ render_h2(l10n("licenses.title", applet_data.id, user_lang)) }}
|
||||
<p>123</p>
|
||||
</section>
|
||||
{% if is_standalone %}
|
||||
<section id="{{ applet_data.id }}-licenses">
|
||||
{{ render_h2(l10n("licenses.title", applet_data.id, user_lang)) }}
|
||||
<p>123</p>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
@@ -18,7 +18,7 @@
|
||||
<link rel="prefetch" href="https://cdn.nibblepoker.lu/NibblePoker/StandardCSS/3px-tile-0.4.png" as="image" />
|
||||
{% block extra_preloads %}{% endblock %}
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/FontAwesomePro/6.5.1/css/all.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/FontAwesomePro/6.7.2/css/all.min.css">
|
||||
<!--<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/NibblePoker/StandardCSS/nibblepoker.min.css">-->
|
||||
<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/NibblePoker/IndevCSS/nibblepoker.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.nibblepoker.{{ domain_tld }}/Quantum/Quantum.min.css">
|
||||
@@ -112,7 +112,7 @@
|
||||
</a>
|
||||
</footer>
|
||||
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker.min.js") }}"></script>
|
||||
<!--<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker.min.js") }}"></script>-->
|
||||
|
||||
{% block extra_scripts %}{% endblock %}
|
||||
|
||||
|
@@ -2,7 +2,11 @@
|
||||
{% 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>
|
||||
{{ l10n("file.drop.upload", "commons", user_lang) }}
|
||||
{% if file_multiple %}
|
||||
{{ l10n("file.drop.upload.multiple", "commons", user_lang) }}
|
||||
{% else %}
|
||||
{{ l10n("file.drop.upload.single", "commons", user_lang) }}
|
||||
{% endif %}
|
||||
</button>
|
||||
{% endif %}
|
||||
|
||||
|
@@ -97,3 +97,7 @@
|
||||
{{ l10n("financing.text.isp", "about", user_lang) }}
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
@@ -28,3 +28,7 @@
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
@@ -119,3 +119,7 @@
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
@@ -27,3 +27,7 @@
|
||||
draggable="false">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
@@ -62,3 +62,7 @@
|
||||
</p>
|
||||
<p class="mt-xxs ml-l">{{ l10n("gitea.text.1", "links", user_lang ) }}</p>
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
@@ -179,3 +179,7 @@
|
||||
'<span class="ml-s">(' + l10n('french', "langs", user_lang) + ')</span>' ) }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
@@ -38,3 +38,7 @@
|
||||
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
@@ -52,3 +52,7 @@
|
||||
]) }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
@@ -38,3 +38,7 @@
|
||||
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
@@ -28,5 +28,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
<!--<script src="{{ url_for("static", filename="resources/NibblePoker/js/nibblepoker-default.min.js") }}"></script>-->
|
||||
|
||||
{{ render_applet_scripts(applet_data, is_standalone) }}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user