Skip to content

Commit

Permalink
Update CDN URLs for CSS and JS resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Jul 10, 2024
1 parent 8aefe96 commit 85498c5
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions templates/basehead.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@
type="image/x-icon" />
<!-- css -->
{% if user.theme and user.theme != "default" %}
<link href="https://cdn.staticfile.org/bulmaswatch/0.8.1/{{ user.theme }}/bulmaswatch.min.css"
rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/bulmaswatch@0.8.1/{{ user.theme }}/bulmaswatch.min.css"
rel="stylesheet" />
{% else %}
<link href="https://cdn.staticfile.org/bulma/0.9.4/css/bulma.min.css"
rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"
rel="stylesheet" />
{% endif %}
<link rel="stylesheet" href="{% static 'sspanel/css/sspanel.css' %}" />
{% if not simple_extra_static or user.is_authenticated %}
<link rel="stylesheet"
href="https://cdn.staticfile.org/flag-icon-css/3.5.0/css/flag-icon.min.css" />
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bulma-extensions.min.css" />
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/fontawesome.min.css" />
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/flag-icon-css@3.5.0/css/flag-icon.min.css" />
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bulma-extensions.min.css" />
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/fontawesome.min.css" />
{% endif %}
<!-- js -->
<script src="https://cdn.staticfile.org/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/sweetalert/2.1.2/sweetalert.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert@2.1.2/dist/sweetalert.min.js"></script>
<script src="{% static 'sspanel/js/sspanel.js' %}"></script>
{% if not simple_extra_static or user.is_authenticated %}
<script src="https://cdn.staticfile.org/clipboard.js/1.7.1/clipboard.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js"></script>
<script src="https://cdn.staticfile.org/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bulma-extensions.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/js/all.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/clipboard@1.7.1/dist/clipboard.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery-qrcode@1.0/jquery.qrcode.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bulma-extensions.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/js/all.min.js"></script>
{% endif %}

0 comments on commit 85498c5

Please sign in to comment.