Merge pull request #3561 from netbox-community/3560-drf-bootstrap-css

Override DRF's builtin Bootstrap with NetBox's own more recent copy
This commit is contained in:
Jeremy Stretch 2019-10-09 08:53:13 -07:00 committed by GitHub
commit 7a65930361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,10 @@
{% extends 'rest_framework/base.html' %}
{% load static %}
{% block bootstrap_theme %}
<link rel="stylesheet" type="text/css" href="{% static 'bootstrap-3.4.1-dist/css/bootstrap.min.css' %}"/>
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/bootstrap-tweaks.css" %}"/>
{% endblock %}
{% block branding %}
<a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>