|
9 | 9 | <li class="nav-header">{% trans "Main Menu" %}</li>
|
10 | 10 | <li><a href="/dashboard/"><i class="icon-home"></i>{% trans "Dashboard" %}</a></li>
|
11 | 11 | <li><a href="/overview/{{ host_id }}/"><i class="icon-info-sign"></i>{% trans "Server" %} <strong>{{ kvm_host.hostname }}</strong></a></li>
|
12 |
| - <li class="nav-header"></i>{% trans "Server settings" %}</li> |
13 |
| - <li><a href="/newvm/{{ host_id }}/"><i class="icon-plus"></i>{% trans "New VM" %}</a></li> |
14 |
| - <li><a href="/storage/{{ host_id }}/"><i class="icon-folder-open"></i>{% trans "Storage" %}</a></li> |
15 |
| - <li><a href="/network/{{ host_id }}/"><i class="icon-signal"></i>{% trans "Virtual networks" %}</a></li> |
16 |
| - <li><a href="/snapshot/{{ host_id }}/"><i class="icon-download-alt"></i>{% trans "Snapshots" %}</a></li> |
17 |
| - <li class="active"><a href="/logs/{{ host_id }}/"><i class="icon-list-alt icon-white"></i>{% trans "Logs" %}</a></li> |
18 |
| - <li class="nav-header">{% trans "Virtual Machines" %}</li> |
19 |
| - {% if not all_vm %} |
20 |
| - <li><a href="/newvm/{{ host_id }}/"><i class="icon-plus"></i>{% trans "New VM" %}</a></li> |
21 |
| - {% endif %} |
22 |
| - {% for name, state in all_vm.items %} |
23 |
| - <li><a href="/vm/{{ host_id }}/{{ name }}/"><font color="{% if state == 1 %}green{% endif %}{% if state == 5 %}red{% endif %}{% if state == 3 %}orange{% endif %}"><i class="icon-th-large"></i>{{ name }}</font></a></li> |
24 |
| - {% endfor %} |
| 12 | + <li class="nav-header"></i>{% trans "Server settings" %}</li> |
| 13 | + <li><a href="/newvm/{{ host_id }}/"><i class="icon-plus"></i>{% trans "New VM" %}</a></li> |
| 14 | + <li><a href="/storage/{{ host_id }}/"><i class="icon-folder-open"></i>{% trans "Storage" %}</a></li> |
| 15 | + <li><a href="/network/{{ host_id }}/"><i class="icon-signal"></i>{% trans "Virtual networks" %}</a></li> |
| 16 | + <li><a href="/snapshot/{{ host_id }}/"><i class="icon-download-alt"></i>{% trans "Snapshots" %}</a></li> |
| 17 | + <li class="active"><a href="/logs/{{ host_id }}/"><i class="icon-list-alt icon-white"></i>{% trans "Logs" %}</a></li> |
| 18 | + <li class="nav-header">{% trans "Virtual Machines" %}</li> |
| 19 | + {% if not all_vm %} |
| 20 | + <li><a href="/newvm/{{ host_id }}/"><i class="icon-plus"></i>{% trans "New VM" %}</a></li> |
| 21 | + {% endif %} |
| 22 | + {% for name, state in all_vm.items %} |
| 23 | + <li><a href="/vm/{{ host_id }}/{{ name }}/"><font color="{% if state == 1 %}green{% endif %}{% if state == 5 %}red{% endif %}{% if state == 3 %}orange{% endif %}"><i class="icon-th-large"></i>{{ name }}</font></a></li> |
| 24 | + {% endfor %} |
25 | 25 | </ul>
|
26 | 26 | </div>
|
27 | 27 | </div>
|
28 |
| - <div class="span8"> |
| 28 | + <div class="span8 well"> |
29 | 29 | <div class="page-header">
|
30 | 30 | <h2>{% trans "Logging" %}</h2>
|
31 | 31 | </div>
|
|
0 commit comments