2019-08-02 14:31:55 +02:00
|
|
|
{% extends "inventory/base.html" %}
|
2019-12-29 13:50:51 +01:00
|
|
|
{% block section_title %}{{ backup.name }}{% endblock %}
|
2019-08-02 14:31:55 +02:00
|
|
|
{% block content %}
|
2019-12-29 13:50:51 +01:00
|
|
|
<div class="ui cards">
|
|
|
|
<div class="card">
|
|
|
|
<div class="content">
|
|
|
|
<div class="header">Description</div>
|
|
|
|
<div class="description"><p>{{ backup.description }}</p></div>
|
|
|
|
<table class="ui celled table">
|
|
|
|
<tr>
|
2020-01-01 21:55:52 +01:00
|
|
|
<td><b>Computer:</b></td>
|
2019-12-29 13:50:51 +01:00
|
|
|
<td><a href="{% url 'computer' backup.computer.id %}">{{ backup.computer }}</a></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-01-01 21:55:52 +01:00
|
|
|
<td><b>Backup Method:</b></td>
|
2019-12-29 13:50:51 +01:00
|
|
|
<td>{{ backup.method }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-01-01 21:55:52 +01:00
|
|
|
<td><b>Backup Software:</b></td>
|
2019-12-29 13:50:51 +01:00
|
|
|
<td>{{ backup.software }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-01-01 21:55:52 +01:00
|
|
|
<td><b>Exec Time:</b></td>
|
2019-12-29 13:50:51 +01:00
|
|
|
<td>{{ backup.exec_time }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-01-01 21:55:52 +01:00
|
|
|
<td><b>Exec Day:</b></td>
|
2019-12-29 13:50:51 +01:00
|
|
|
<td>{{ backup.exec_day }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-01 21:56:38 +01:00
|
|
|
|
|
|
|
{% if target_device_list %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="content">
|
|
|
|
<div class="header">Target Devices</div>
|
|
|
|
{% for device in target_device_list %}
|
2020-01-02 11:39:41 +01:00
|
|
|
<table class="ui celled table">
|
2020-01-01 21:56:38 +01:00
|
|
|
<tr>
|
|
|
|
<td><b>Target Device:</b></td>
|
|
|
|
<td><a href="{% url 'computer' device.device.id %}">{{ device.device }}</a></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>Target Path:</b></td>
|
|
|
|
<td>{{ device.target_path }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2020-01-02 11:39:41 +01:00
|
|
|
{% endfor %}
|
2020-01-01 21:56:38 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-01-01 21:58:00 +01:00
|
|
|
{% if notifications %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="content">
|
|
|
|
<div class="header">Notifications</div>
|
|
|
|
{% for notification in notifications %}
|
2020-01-02 11:41:51 +01:00
|
|
|
<table class="ui celled table">
|
2020-01-01 21:58:00 +01:00
|
|
|
<tr>
|
|
|
|
<td><b>Name:</b></td>
|
|
|
|
<td>{{ notification.notification }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>Description:</b></td>
|
|
|
|
<td>{{ notification.notification.description }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>Recipient:</b></td>
|
|
|
|
<td>{{ notification.notification.recipient }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>Type:</b></td>
|
|
|
|
<td>{{ notification.notification.notification_type }}</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
2020-01-02 11:41:51 +01:00
|
|
|
{% endfor %}
|
2020-01-01 21:58:00 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2019-12-29 13:50:51 +01:00
|
|
|
</div>
|
2019-08-02 14:31:55 +02:00
|
|
|
{% endblock %}
|