Initial work on config contexts

This commit is contained in:
Jeremy Stretch
2018-06-27 16:02:34 -04:00
parent cff09f228a
commit 2b56131412
26 changed files with 565 additions and 16 deletions

View File

@@ -0,0 +1,18 @@
{% extends 'dcim/device.html' %}
{% block title %}{{ device }} - Config Context{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<strong>Config Context</strong>
</div>
<div class="panel-body">
<pre>{{ device.get_config_context }}</pre>
</div>
</div>
</div>
</div>
{% endblock %}