mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
build new tree
This commit is contained in:
parent
4d48e79341
commit
dd5f98cbe8
22 changed files with 745 additions and 60 deletions
|
|
@ -9,15 +9,47 @@
|
|||
|
||||
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
||||
<button type="button" class="btn btn-success pull-right"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
<h1 class="page-header">Computes</h1>
|
||||
<h1 class="page-header">{{ compute.name }}</h1>
|
||||
|
||||
<div class="alert alert-danger alert-dismissible" role="danger">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<strong>Error:</strong> Better check yourself, you're not looking too good.
|
||||
{% include 'errors.html' %}
|
||||
|
||||
<h4>{% trans "Basic details" %}</h4>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{% trans "Connection" %}</td>
|
||||
<td>{{ uri_conn }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{% trans "Hostname" %}</td>
|
||||
<td>{{ hostname }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{% trans "Hypervisor" %}</td>
|
||||
<td>{{ hypervisor }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{% trans "Memory" %}</td>
|
||||
<td>{{ host_memory|filesizeformat }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{% trans "Logical CPUs" %}</td>
|
||||
<td>{{ logical_cpu }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{% trans "Processor" %}</td>
|
||||
<td>{{ model_cpu }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{% trans "Architecture" %}</td>
|
||||
<td>{{ host_arch }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -11,10 +11,7 @@
|
|||
<button type="button" class="btn btn-success pull-right"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
<h1 class="page-header">Computes</h1>
|
||||
|
||||
<div class="alert alert-danger alert-dismissible" role="danger">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<strong>Error:</strong> Better check yourself, you're not looking too good.
|
||||
</div>
|
||||
{% include 'errors.html' %}
|
||||
|
||||
<div class="row">
|
||||
{% if computes_info %}
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
{% load static %}
|
||||
{% include 'header.html' %}
|
||||
<body>
|
||||
<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">
|
||||
<h1 class="page-header">Dashboard</h1>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include 'footer.html' %}
|
||||
8
templates/errors.html
Normal file
8
templates/errors.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{% if errors %}
|
||||
{% for error in errors %}
|
||||
<div class="alert alert-danger alert-dismissible" role="danger">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<strong>Error:</strong> Better check yourself, you're not looking too good.
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
@ -11,10 +11,7 @@
|
|||
<button type="button" class="btn btn-success pull-right"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
<h1 class="page-header">Instances</h1>
|
||||
|
||||
<div class="alert alert-danger alert-dismissible" role="danger">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<strong>Error:</strong> Better check yourself, you're not looking too good.
|
||||
</div>
|
||||
{% include 'errors.html' %}
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue