Skip to content

Commit

Permalink
修改bootstrap的cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetree committed Jan 7, 2024
1 parent 027336c commit 7b77e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/admin/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>{% block title %}{% endblock %}</title>

{% block bootstrap_admin_css %}
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
{% endblock bootstrap_admin_css %}

<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static 'admin/css/base.css' %}{% endblock %}" />
Expand Down Expand Up @@ -188,7 +188,7 @@ <h1>

{% block bootstrap_admin_js %}
<script>if (typeof jQuery === 'undefined' && django && django.jQuery) {jQuery = django.jQuery;}</script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="{% static 'bootstrap_admin/js/base.js' %}"></script>
{% endblock bootstrap_admin_js %}

Expand Down

0 comments on commit 7b77e2b

Please sign in to comment.