1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 15:45:23 +00:00
webvirtcloud/templates/networks.html

48 lines
1.7 KiB
HTML
Raw Normal View History

2015-03-03 14:53:10 +00:00
{% extends "base.html" %}
{% load i18n %}
2015-03-04 13:43:29 +00:00
{% block title %}{% trans "Networks" %} - {{ compute.name }}{% endblock %}
2015-03-03 14:53:10 +00:00
{% block content %}
<div class="container-fluid">
<div class="row">
{% include 'sidebar.html' %}
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
{% include "create_stg_block.html" %}
<h1 class="page-header">{{ compute.name }}</h1>
{% include 'compute_block_link.html' %}
{% include 'errors_block.html' %}
<div class="row">
2015-03-04 13:43:29 +00:00
{% if not networks %}
<div class="well">
<h4>{% trans "You do not have any virtual networks" %}</h4>
</div>
{% else %}
{% for pool in networks %}
<div class="col-xs-6 col-sm-4">
<div class="panel {% if pool.status %}panel-success{% else %}panel-danger{% endif %} panel-data">
<div class="panel-heading">
<h3 class="panel-title"><a href="{% url 'network' compute.id pool.name %}">{{ pool.name }}</a></h3>
</div>
<div class="panel-body">
<p>{% trans "Device" %}: {{ pool.device }}</p>
<p>{% trans "Forward" %}: {{ pool.forward|upper }}</p>
</div>
</div>
</div>
{% endfor %}
{% endif %}
2015-03-03 14:53:10 +00:00
</div>
</div>
</div>
</div>
{% endblock %}