mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 03:56:53 -06:00
Override DRF's builtin Bootstrap with NetBox's own more recent copy
This commit is contained in:
parent
56ddf79ae7
commit
60e03eb841
@ -1,4 +1,10 @@
|
|||||||
{% extends 'rest_framework/base.html' %}
|
{% 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 %}
|
{% block branding %}
|
||||||
<a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>
|
<a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user