|
@@ -3,11 +3,11 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
<head>
|
|
|
- <title>NetBox - {% block title %}Home{% endblock %}</title>
|
|
|
- <link rel="stylesheet" href="{% static 'bootstrap-3.3.6-dist/css/bootstrap.min.css' %}">
|
|
|
+ <title>NetBox - {% block title %}Home{% endblock %}</title>
|
|
|
+ <link rel="stylesheet" href="{% static 'bootstrap-3.3.6-dist/css/bootstrap.min.css' %}">
|
|
|
<link rel="stylesheet" href="{% static 'font-awesome-4.6.3/css/font-awesome.min.css' %}">
|
|
|
<link rel="stylesheet" href="{% static 'jquery-ui-1.11.4/jquery-ui.css' %}">
|
|
|
- <link rel="stylesheet" href="{% static 'css/base.css' %}">
|
|
|
+ <link rel="stylesheet" href="{% static 'css/base.css' %}">
|
|
|
<link rel="icon" type="image/png" href="{% static 'img/netbox.ico' %}" />
|
|
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
|
|
|
</head>
|
|
@@ -256,10 +256,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</nav>
|
|
|
- <div class="container wrapper">
|
|
|
+ <div class="container wrapper">
|
|
|
{% if settings.BANNER_TOP %}
|
|
|
<div class="alert alert-info text-center" role="alert">
|
|
|
- {{ settings.BANNER_TOP|safe }}
|
|
|
+ {{ settings.BANNER_TOP|safe }}
|
|
|
</div>
|
|
|
{% endif %}
|
|
|
{% if settings.MAINTENANCE_MODE %}
|
|
@@ -268,24 +268,24 @@
|
|
|
<p>NetBox is currently in maintenance mode. Functionality may be limited.</p>
|
|
|
</div>
|
|
|
{% endif %}
|
|
|
- {% for message in messages %}
|
|
|
- <div class="alert alert-{{ message.tags }} alert-dismissable" role="alert">
|
|
|
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
|
- <span aria-hidden="true">×</span>
|
|
|
- </button>
|
|
|
- {{ message }}
|
|
|
- </div>
|
|
|
- {% endfor %}
|
|
|
- {% block content %}{% endblock %}
|
|
|
+ {% for message in messages %}
|
|
|
+ <div class="alert alert-{{ message.tags }} alert-dismissable" role="alert">
|
|
|
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
|
+ <span aria-hidden="true">×</span>
|
|
|
+ </button>
|
|
|
+ {{ message }}
|
|
|
+ </div>
|
|
|
+ {% endfor %}
|
|
|
+ {% block content %}{% endblock %}
|
|
|
<div class="push"></div>
|
|
|
- {% if settings.BANNER_BOTTOM %}
|
|
|
- <div class="alert alert-info text-center banner-bottom" role="alert">
|
|
|
+ {% if settings.BANNER_BOTTOM %}
|
|
|
+ <div class="alert alert-info text-center banner-bottom" role="alert">
|
|
|
{{ settings.BANNER_BOTTOM|safe }}
|
|
|
</div>
|
|
|
{% endif %}
|
|
|
- </div>
|
|
|
- <footer class="footer">
|
|
|
- <div class="container">
|
|
|
+ </div>
|
|
|
+ <footer class="footer">
|
|
|
+ <div class="container">
|
|
|
<div class="row">
|
|
|
<div class="col-xs-4">
|
|
|
<p class="text-muted">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</p>
|
|
@@ -302,8 +302,8 @@
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </footer>
|
|
|
+ </div>
|
|
|
+ </footer>
|
|
|
<script type="text/javascript">
|
|
|
var netbox_api_path = "/{{ settings.BASE_PATH }}api/";
|
|
|
</script>
|