Override DRF's builtin Bootstrap with NetBox's own more recent copy

This commit is contained in:
Jeremy Stretch 2019-10-01 10:11:23 -04:00
parent 56ddf79ae7
commit 60e03eb841

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>