mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-21 06:56:54 +02:00
add a template for device details
This commit is contained in:
parent
f398547c7f
commit
00c9762d4c
|
@ -535,6 +535,17 @@ information.
|
|||
{% endblock %}
|
||||
#+END_SRC
|
||||
|
||||
** device_details.html
|
||||
|
||||
#+BEGIN_SRC html :tangle ../inventory/templates/inventory/device_details.html
|
||||
{% extends "inventory/base.html" %}
|
||||
{% block section_title %}{{ device.name }}{% endblock %}
|
||||
{% block content %}
|
||||
<h3>Description</h3>
|
||||
<p>{{ device.description }}</p>
|
||||
{% endblock %}
|
||||
#+END_SRC
|
||||
|
||||
** computer_details.html
|
||||
|
||||
The computer details show all the known information about the selected computer.
|
||||
|
|
6
inventory/templates/inventory/device_details.html
Normal file
6
inventory/templates/inventory/device_details.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% extends "inventory/base.html" %}
|
||||
{% block section_title %}{{ device.name }}{% endblock %}
|
||||
{% block content %}
|
||||
<h3>Description</h3>
|
||||
<p>{{ device.description }}</p>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user