1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Added documentation renderer

This commit is contained in:
Jeremy Stretch
2016-05-24 12:38:06 -04:00
parent f43184695b
commit fbb3911346
10 changed files with 317 additions and 230 deletions

View File

@@ -0,0 +1,19 @@
{% extends '_base.html' %}
{% load render_table from django_tables2 %}
{% block title %}Documentation{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-3">
<div class="list-group">
<a href="{% url 'docs_root' %}" class="list-group-item{% if path == 'index' %} active{% endif %}">Home</a>
<a href="{% url 'docs' path='configuration' %}" class="list-group-item{% if path == 'configuration' %} active{% endif %}">Configuration</a>
<a href="{% url 'docs' path='data-model' %}" class="list-group-item{% if path == 'data-model' %} active{% endif %}">Data Model</a>
</div>
</div>
<div class="col-md-9">
{{ content }}
</div>
</div>
{% endblock %}