Commit 0d419a6e by Kálmán Viktor

network: dashboard refactor

parent 258e05a0
{% load i18n %}
{% load l10n %}
{% load staticfiles %}
<style>
.thumbnail {
margin-bottom: 30px;
}
.dashboard-text {
text-align: justify;
}
</style>
<div class="row">
<div class="col-sm-3">
<div class="thumbnail">
<div class="caption">
<p class="lead"> <a href="{% url network.host_list %}">Hosts</a> are machines on the network.</p>
<p class="dashboard-text">
Proin mattis enim risus. Ut eu enim quis auctor. Duis lobort sollicitudin lacus, scelerisque dictum arcu aliquam nec.
</p>
<p class="text-right">
<a href="{% url network.host_list %}" class="btn btn-default">{% trans "List" %}</a>
<a href="{% url network.host_create %}" class="btn btn-success">{% trans "Create" %}</a>
</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<div class="caption">
<p class="lead"> <a href="{% url network.vlan_list %}">Vlans</a> are machines on the network.</p>
<p class="dashboard-text">
Proin mattis enim risus. Ut eu enim quis auctor. Duis lobort sollicitudin lacus, scelerisque dictum arcu aliquam nec.
</p>
<p class="text-right">
<a href="{% url network.vlan_list %}" class="btn btn-default">{% trans "List" %}</a>
<a href="{% url network.vlan_create %}" class="btn btn-success">{% trans "Create" %}</a>
</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<div class="caption">
<p class="lead"> <a href="{% url network.domain_list %}">Domains</a> are machines on the network.</p>
<p class="dashboard-text">
Proin mattis enim risus. Ut eu enim quis auctor. Duis lobort sollicitudin lacus, scelerisque dictum arcu aliquam nec.
</p>
<p class="text-right">
<a href="{% url network.domain_list %}" class="btn btn-default">{% trans "List" %}</a>
<a href="{% url network.domain_create %}" class="btn btn-success">{% trans "Create" %}</a>
</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<div class="caption">
<p class="lead"> <a href="{% url network.record_list %}">Records</a> are machines on the network.</p>
<p class="dashboard-text">
Proin mattis enim risus. Ut eu enim quis auctor. Duis lobort sollicitudin lacus, scelerisque dictum arcu aliquam nec.
</p>
<p class="text-right">
<a href="{% url network.record_list %}" class="btn btn-default">{% trans "List" %}</a>
<a href="{% url network.record_create %}" class="btn btn-success">{% trans "Create" %}</a>
</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<div class="caption">
<p class="lead"> <a href="{% url network.blacklist_list %}">Blacklists</a> are machines on the network.</p>
<p class="dashboard-text">
Proin mattis enim risus. Ut eu enim quis auctor. Duis lobort sollicitudin lacus, scelerisque dictum arcu aliquam nec.
</p>
<p class="text-right">
<a href="{% url network.blacklist_list %}" class="btn btn-default">{% trans "List" %}</a>
<a href="{% url network.blacklist_create %}" class="btn btn-success">{% trans "Create" %}</a>
</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<div class="caption">
<p class="lead"> <a href="{% url network.rule_list %}">Rules</a> are machines on the network.</p>
<p class="dashboard-text">
Proin mattis enim risus. Ut eu enim quis auctor. Duis lobort sollicitudin lacus, scelerisque dictum arcu aliquam nec.
</p>
<p class="text-right">
<a href="{% url network.rule_list %}" class="btn btn-default">{% trans "List" %}</a>
<a href="{% url network.rule_create %}" class="btn btn-success">{% trans "Create" %}</a>
</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<div class="caption">
<p class="lead"> <a href="{% url network.group_list %}">Host groups</a> are machines on the network.</p>
<p class="dashboard-text">
Proin mattis enim risus. Ut eu enim quis auctor. Duis lobort sollicitudin lacus, scelerisque dictum arcu aliquam nec.
</p>
<p class="text-right">
<a href="{% url network.group_list %}" class="btn btn-default">{% trans "List" %}</a>
<a href="{% url network.group_create %}" class="btn btn-success">{% trans "Create" %}</a>
</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<div class="caption">
<p class="lead"> <a href="{% url network.vlan_group_list %}">Vlan groups</a> are machines on the network.</p>
<p class="dashboard-text">
Proin mattis enim risus. Ut eu enim quis auctor. Duis lobort sollicitudin lacus, scelerisque dictum arcu aliquam nec.
</p>
<p class="text-right">
<a href="{% url network.vlan_group_list %}" class="btn btn-default">{% trans "List" %}</a>
<a href="{% url network.vlan_group_create %}" class="btn btn-success">{% trans "Create" %}</a>
</p>
</div>
</div>
</div>
</div>
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
{% block content %} {% block content %}
<div class="page-header"> <div class="page-header">
<h1>{% trans "Dashboard" %}</h1>
</div>
{% include "network/dashboard.html" %}
<div class="page-header">
<h1>{% trans "Latest modifications" %}</h1> <h1>{% trans "Latest modifications" %}</h1>
</div> </div>
...@@ -47,75 +53,4 @@ ...@@ -47,75 +53,4 @@
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>
<div class="page-header">
<h1>{% trans "Dashboard" %}</h1>
</div>
<div class="row">
<div class="col-sm-3">
<div class="thumbnail">
<p class="lead"><a href="{% url network.host_list %}">Hosts</a> are machines on the network.</p>
<p>Proin mattis enim risus. Ut eu enim quis auctor. Duis lobortis sollicitudin lacus, scelerisque dictum arcu aliquam nec.</p>
<p class="text-right"><a href="#" class="btn btn-default">List</a> <a href="#" class="btn btn-success">Create</a></p>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<p class="lead"><a href="{% url network.host_list %}">Hosts</a> are machines on the network.</p>
<p>Proin mattis enim risus. Ut eu enim quis auctor. Duis lobortis sollicitudin lacus, scelerisque dictum arcu aliquam nec.</p>
<p class="text-right"><a href="#" class="btn btn-default">List</a> <a href="#" class="btn btn-success">Create</a></p>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<p class="lead"><a href="{% url network.host_list %}">Hosts</a> are machines on the network.</p>
<p>Proin mattis enim risus. Ut eu enim quis auctor. Duis lobortis sollicitudin lacus, scelerisque dictum arcu aliquam nec.</p>
<p class="text-right"><a href="#" class="btn btn-default">List</a> <a href="#" class="btn btn-success">Create</a></p>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<p class="lead"><a href="{% url network.host_list %}">Hosts</a> are machines on the network.</p>
<p>Proin mattis enim risus. Ut eu enim quis auctor. Duis lobortis sollicitudin lacus, scelerisque dictum arcu aliquam nec.</p>
<p class="text-right"><a href="#" class="btn btn-default">List</a> <a href="#" class="btn btn-success">Create</a></p>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<p class="lead"><a href="{% url network.host_list %}">Hosts</a> are machines on the network.</p>
<p>Proin mattis enim risus. Ut eu enim quis auctor. Duis lobortis sollicitudin lacus, scelerisque dictum arcu aliquam nec.</p>
<p class="text-right"><a href="#" class="btn btn-default">List</a> <a href="#" class="btn btn-success">Create</a></p>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<p class="lead"><a href="{% url network.host_list %}">Hosts</a> are machines on the network.</p>
<p>Proin mattis enim risus. Ut eu enim quis auctor. Duis lobortis sollicitudin lacus, scelerisque dictum arcu aliquam nec.</p>
<p class="text-right"><a href="#" class="btn btn-default">List</a> <a href="#" class="btn btn-success">Create</a></p>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<p class="lead"><a href="{% url network.host_list %}">Hosts</a> are machines on the network.</p>
<p>Proin mattis enim risus. Ut eu enim quis auctor. Duis lobortis sollicitudin lacus, scelerisque dictum arcu aliquam nec.</p>
<p class="text-right"><a href="#" class="btn btn-default">List</a> <a href="#" class="btn btn-success">Create</a></p>
</div>
</div>
<div class="col-sm-3">
<div class="thumbnail">
<p class="lead"><a href="{% url network.host_list %}">Hosts</a> are machines on the network.</p>
<p>Proin mattis enim risus. Ut eu enim quis auctor. Duis lobortis sollicitudin lacus, scelerisque dictum arcu aliquam nec.</p>
<p class="text-right"><a href="#" class="btn btn-default">List</a> <a href="#" class="btn btn-success">Create</a></p>
</div>
</div>
</div>
{% endblock %} {% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment