add custom bootstrap
This commit is contained in:
parent
089f98e8ca
commit
12945a0e3d
8 changed files with 25 additions and 10 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "bootstrap"]
|
||||
path = bootstrap
|
||||
url = https://github.com/twbs/bootstrap.git
|
||||
1
bootstrap
Submodule
1
bootstrap
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 803617e9c595adebf8a43a560fcfe8d439424f94
|
||||
|
|
@ -51,12 +51,12 @@ INSTALLED_APPS = [
|
|||
"django.contrib.messages",
|
||||
"django.contrib.staticfiles",
|
||||
"crispy_forms",
|
||||
"crispy_bootstrap4",
|
||||
"crispy_bootstrap5",
|
||||
"import_export",
|
||||
]
|
||||
|
||||
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap4"
|
||||
CRISPY_TEMPLATE_PACK = "bootstrap4"
|
||||
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
|
||||
CRISPY_TEMPLATE_PACK = "bootstrap5"
|
||||
|
||||
MIDDLEWARE = [
|
||||
"django.middleware.security.SecurityMiddleware",
|
||||
|
|
|
|||
7
rc_hip/repapp/static/repapp/css/bootstrap.min.css
vendored
Normal file
7
rc_hip/repapp/static/repapp/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
7
rc_hip/repapp/static/repapp/css/bootstrap.min.js
vendored
Normal file
7
rc_hip/repapp/static/repapp/css/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -8,13 +8,8 @@
|
|||
content="{% block keywords %} {% endblock keywords %}" />
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<link rel="stylesheet"
|
||||
href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
|
||||
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
|
||||
crossorigin="anonymous" />
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
|
||||
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
|
||||
crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="/static/repapp/css/bootstrap.min.css" />
|
||||
<script src="/static/repapp/css/bootstrap.min.js"></script>
|
||||
<title>RepApp
|
||||
{% block title %}
|
||||
{% endblock title %}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ pylint-django==2.5.3
|
|||
pylint-plugin-utils==0.7
|
||||
django-crispy-forms==2.0
|
||||
crispy-bootstrap4==2022.1
|
||||
crispy-bootstrap5==0.7
|
||||
mozilla-django-oidc==3.0.0
|
||||
djlint==1.23.3
|
||||
django-import-export==3.2.0
|
||||
|
|
|
|||
|
|
@ -2,5 +2,6 @@ Django==4.2
|
|||
gunicorn==20.1.0
|
||||
django-crispy-forms==2.0
|
||||
crispy-bootstrap4==2022.1
|
||||
crispy-bootstrap5==0.7
|
||||
mozilla-django-oidc==3.0.0
|
||||
django-import-export==3.2.0
|
||||
|
|
|
|||
Reference in a new issue