dnmapper/templates/base.html

42 lines
1.8 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
2015-03-27 15:33:54 +01:00
<html>
{% load static from staticfiles %}
2015-03-27 15:33:54 +01:00
<head>
<link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet">
<link href="{% static "css/main.css" %}" rel="stylesheet">
2015-03-28 19:47:52 +01:00
<link href="{% static "css/tipsy.css" %}" rel="stylesheet">
2015-03-27 15:33:54 +01:00
{% block head %}{% endblock %}
</head>
<body>
<script src="{% static "js/jquery.min.js" %}"></script>
2015-03-28 19:47:52 +01:00
<script src="{% static "js/jquery.tipsy.js" %}"></script>
<script src="{% static "js/bootstrap.min.js" %}"></script>
<!-- Static navbar -->
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">DarkMap</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
2020-06-10 03:12:23 +02:00
<li{% if request.resolver_match.url_name == "show_map" or request.resolver_match.url_name == "overview" %} class="active"{%endif%}><a href="/">Crawl Data</a></li>
<li{% if request.resolver_match.url_name == "show_live_map" %} class="active"{%endif%}><a href="{% url "show_live_map" crawl_id="live" %}">Live View</a></li>
<li{% if request.resolver_match.url_name == 'lastseen' %} class="active"{%endif%}><a href="{% url "lastseen" %}">AS Status</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
2020-06-10 03:12:23 +02:00
<div class="{% block container_class %}container{% endblock %}">
2015-03-27 15:33:54 +01:00
{% block body %}{% endblock %}
</div>
2015-03-27 15:33:54 +01:00
</body>
</html>