mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-09 21:32:17 -06:00
Initial work on config contexts
This commit is contained in:
18
netbox/templates/dcim/device_configcontext.html
Normal file
18
netbox/templates/dcim/device_configcontext.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user