Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

use local static file #147

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bootstrap_admin/static/bootstrap_admin/css/bootstrap.min.css

Large diffs are not rendered by default.

Binary file not shown.
7 changes: 7 additions & 0 deletions bootstrap_admin/static/bootstrap_admin/js/bootstrap.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bootstrap_admin/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://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="{% static 'bootstrap_admin/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 @@ -187,7 +187,7 @@ <h1>

{% block bootstrap_admin_js %}
<script>if (typeof jQuery === 'undefined' && django && django.jQuery) {jQuery = django.jQuery;}</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="{% static 'bootstrap_admin/js/bootstrap.min.js' %}"></script>
<script src="{% static 'bootstrap_admin/js/base.js' %}"></script>
{% endblock bootstrap_admin_js %}

Expand Down