Move JS files to /static/js/

This commit is contained in:
rubenwardy 2023-08-26 13:08:11 +01:00
parent 2f458ba40e
commit c8a30a27dc
31 changed files with 23 additions and 23 deletions

@ -16,7 +16,7 @@
{%- endif %}
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css?v=3">
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=45">
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=46">
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
{% if noindex -%}
@ -280,7 +280,7 @@
<script src="/static/libs/easymde.min.js"></script>
<link rel="stylesheet" type="text/css" href="/static/libs/easymde.min.css">
<link href="/static/fa/css/all.css" rel="stylesheet">
<script src="/static/markdowntextarea.js?v=2"></script>
<script src="/static/js/markdowntextarea.js"></script>
{% block scriptextra %}{% endblock %}
</body>

@ -11,7 +11,7 @@
{% block scriptextra %}
<script src="/static/libs/jquery.min.js?v=2"></script>
<script src="/static/libs/jquery-ui.min.js?v=2"></script>
<script src="/static/collection_editor.js?v=8"></script>
<script src="/static/js/collection_editor.js"></script>
{% endblock %}
{% block content %}

@ -22,7 +22,7 @@
}
</script>
{% if current_user.is_authenticated %}
<script src="/static/quick_review_voting.js?v=2"></script>
<script src="/static/js/quick_review_voting.js"></script>
{% endif %}
{% endblock %}

@ -72,7 +72,7 @@
<link href="/static/libs/jquery-ui.min.css?v=2" rel="stylesheet" type="text/css">
<script src="/static/libs/jquery.min.js?v=2"></script>
<script src="/static/libs/jquery-ui.min.js?v=2"></script>
<script src="/static/tagselector.js?v=5"></script>
<script src="/static/js/tagselector.js"></script>
{% endmacro %}
{% macro package_lists() -%}

@ -2,7 +2,7 @@
<script src="/static/libs/chart.min.js"></script>
<script src="/static/libs/chartjs-adapter-date-fns.bundle.min.js"></script>
<script src="/static/libs/chartjs-plugin-annotation.min.js"></script>
<script src="/static/package_charts.js?v=12"></script>
<script src="/static/js/package_charts.js"></script>
{% endmacro %}

@ -17,10 +17,10 @@
{% block scriptextra %}
{{ form_scripts() }}
{% if enable_wizard %}
<script src="/static/polltask.js"></script>
<script src="/static/package_create.js?v=5"></script>
<script src="/static/js/polltask.js"></script>
<script src="/static/js/package_create.js"></script>
{% endif %}
<script src="/static/package_edit.js?v=5"></script>
<script src="/static/js/package_edit.js"></script>
{% endblock %}
{% block content %}

@ -41,6 +41,6 @@
{% endblock %}
{% block scriptextra %}
<script src="/static/release_minmax.js?v=2"></script>
<script src="/static/release_bulk_change.js"></script>
<script src="/static/js/release_minmax.js"></script>
<script src="/static/js/release_bulk_change.js"></script>
{% endblock %}

@ -85,5 +85,5 @@
{% endblock %}
{% block scriptextra %}
<script src="/static/release_minmax.js?v=2"></script>
<script src="/static/js/release_minmax.js"></script>
{% endblock %}

@ -89,6 +89,6 @@
{% endblock %}
{% block scriptextra %}
<script src="/static/release_minmax.js?v=2"></script>
<script src="/static/release_new.js"></script>
<script src="/static/js/release_minmax.js"></script>
<script src="/static/js/release_new.js"></script>
{% endblock %}

@ -6,7 +6,7 @@
{% block scriptextra %}
{% if current_user.is_authenticated %}
<script src="/static/quick_review_voting.js?v=2"></script>
<script src="/static/js/quick_review_voting.js"></script>
{% endif %}
{% endblock %}

@ -133,5 +133,5 @@
{% block scriptextra %}
<script src="/static/libs/jquery.min.js?v=2"></script>
<script src="/static/libs/jquery-ui.min.js?v=2"></script>
<script src="/static/screenshots_editor.js"></script>
<script src="/static/js/screenshots_editor.js"></script>
{% endblock %}

@ -18,9 +18,9 @@
{% endblock %}
{% block scriptextra %}
<script src="/static/video_embed.js?v=2"></script>
<script src="/static/js/video_embed.js"></script>
{% if current_user.is_authenticated %}
<script src="/static/quick_review_voting.js?v=2"></script>
<script src="/static/js/quick_review_voting.js"></script>
{% endif %}
{% endblock %}

@ -14,7 +14,7 @@
{% if "error" in info or info.status == "FAILURE" or info.status == "REVOKED" %}
<pre>{{ info.error }}</pre>
{% else %}
<script src="/static/polltask.js"></script>
<script src="/static/js/polltask.js"></script>
<script>
// @author rubenwardy
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later

@ -27,7 +27,7 @@
{% block scriptextra %}
{% if current_user.is_authenticated %}
<script src="/static/quick_review_voting.js?v=2"></script>
<script src="/static/js/quick_review_voting.js"></script>
{% endif %}
{% endblock %}

@ -97,5 +97,5 @@ Topics to be Added
<script>
const csrf_token = "{{ csrf_token() }}";
</script>
<script src="/static/topic_discard.js"></script>
<script src="/static/js/topic_discard.js"></script>
{% endblock %}

@ -220,5 +220,5 @@
<script>
const csrf_token = "{{ csrf_token() }}";
</script>
<script src="/static/topic_discard.js"></script>
<script src="/static/js/topic_discard.js"></script>
{% endblock %}

@ -10,7 +10,7 @@
{% block scriptextra %}
{% if current_user.is_authenticated %}
<script src="/static/quick_review_voting.js?v=2"></script>
<script src="/static/js/quick_review_voting.js"></script>
{% endif %}
{% endblock %}