mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 15:15:22 +00:00
Add trans tag some text. Add a text for empty cdrom and fix aligment.
This commit is contained in:
parent
8d90bc1372
commit
3dc44662a0
2 changed files with 14 additions and 10 deletions
|
@ -726,8 +726,12 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
{% empty %}
|
||||||
|
<div class="col-sm-offset-3 col-sm-6">
|
||||||
|
<div class="well well-sm">{% trans 'There is not any CD-ROM device.' %}</div>
|
||||||
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
<div class="clearfix"></div>
|
||||||
<p style="font-weight:bold;">
|
<p style="font-weight:bold;">
|
||||||
{% trans "Instance Volume" %}
|
{% trans "Instance Volume" %}
|
||||||
{% include 'add_instance_volume.html' %}
|
{% include 'add_instance_volume.html' %}
|
||||||
|
@ -824,10 +828,10 @@
|
||||||
<label class="control-label"><em>to</em></label>
|
<label class="control-label"><em>to</em></label>
|
||||||
<select class="form-control" name="net-source-{{ forloop.counter0 }}">
|
<select class="form-control" name="net-source-{{ forloop.counter0 }}">
|
||||||
{% for c_net in compute_networks %}
|
{% for c_net in compute_networks %}
|
||||||
<option value="net:{{ c_net }}" {% ifequal c_net network.nic %} selected {% endifequal %}>Network {{ c_net }}</option>
|
<option value="net:{{ c_net }}" {% ifequal c_net network.nic %} selected {% endifequal %}>{% trans 'Network' %} {{ c_net }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for c_iface in compute_interfaces %}
|
{% for c_iface in compute_interfaces %}
|
||||||
<option value="iface:{{ c_iface }}" {% ifequal c_iface network.nic %} selected {% endifequal %}>Interface {{ c_iface }}</option>
|
<option value="iface:{{ c_iface }}" {% ifequal c_iface network.nic %} selected {% endifequal %}>{% trans 'Interface' %} {{ c_iface }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1210,7 +1214,7 @@
|
||||||
<div role="tabpanel" class="tab-pane tab-pane-bordered active" id="graphs">
|
<div role="tabpanel" class="tab-pane tab-pane-bordered active" id="graphs">
|
||||||
<div class="panel panel-success">
|
<div class="panel panel-success">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h3 class="panel-title"><i class="fa fa-long-arrow-right"></i> {% trans "CPU usage" %}</h3>
|
<h3 class="panel-title"><i class="fa fa-long-arrow-right"></i> {% trans "CPU Usage" %}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="flot-chart">
|
<div class="flot-chart">
|
||||||
|
@ -1223,7 +1227,7 @@
|
||||||
{% for net in networks %}
|
{% for net in networks %}
|
||||||
<div class="panel panel-info">
|
<div class="panel panel-info">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h3 class="panel-title"><i class="fa fa-long-arrow-right"></i> {% trans "Bandwidth device:" %} eth{{ forloop.counter0 }}</h3>
|
<h3 class="panel-title"><i class="fa fa-long-arrow-right"></i> {% trans "Bandwidth Device" %}: eth{{ forloop.counter0 }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="flot-chart">
|
<div class="flot-chart">
|
||||||
|
@ -1237,7 +1241,7 @@
|
||||||
{% for disk in disks %}
|
{% for disk in disks %}
|
||||||
<div class="panel panel-warning">
|
<div class="panel panel-warning">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h3 class="panel-title"><i class="fa fa-long-arrow-right"></i> {% trans "Disk I/O device:" %} {{ disk.dev }}</h3>
|
<h3 class="panel-title"><i class="fa fa-long-arrow-right"></i> {% trans "Disk I/O device" %}: {{ disk.dev }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="flot-chart">
|
<div class="flot-chart">
|
||||||
|
|
|
@ -187,10 +187,10 @@
|
||||||
<tbody style="text-align: center">
|
<tbody style="text-align: center">
|
||||||
{% for fix in fixed_address %}
|
{% for fix in fixed_address %}
|
||||||
<tr>
|
<tr>
|
||||||
<form method="post" role="form">{% csrf_token %}
|
<form method="post" role="form">{% csrf_token %}
|
||||||
<td><label class="form-control" disabled="true">{{ fix.mac }}</label></td>
|
<td><label class="form-control" disabled="true">{{ fix.mac }}</label></td>
|
||||||
<td><input class="form-control" value="{{ fix.ip }}" name="address" /></td>
|
<td><input class="form-control" value="{{ fix.ip }}" name="address" /></td>
|
||||||
<td><input class="form-control" value="{{ fix.name }}" name="name" /></td>
|
<td><input class="form-control" value="{{ fix.name }}" name="name" /></td>
|
||||||
<td>
|
<td>
|
||||||
<input hidden name="mac" value="{{ fix.mac }}"/>
|
<input hidden name="mac" value="{{ fix.mac }}"/>
|
||||||
<button type="submit" class="btn btn-sm btn-primary"
|
<button type="submit" class="btn btn-sm btn-primary"
|
||||||
|
|
Loading…
Reference in a new issue