Revision dfc64018
b/snf-cyclades-app/synnefo/helpdesk/static/css/extra.css | ||
---|---|---|
161 | 161 |
.show-hide-all .badge { background-color:#8BBA00; } |
162 | 162 |
.show-hide-all .badge:hover { background-color:#789B0F } |
163 | 163 |
.vms h3, |
164 |
.vms h4 { color:#E42867 }
|
|
164 |
.vms h4 { color:#444 }
|
|
165 | 165 |
.vms h3:hover, |
166 |
.vms h4:hover { color:#9F0C3E }
|
|
166 |
.vms h4:hover { color:#666 }
|
|
167 | 167 |
.networks h3, |
168 |
.networks h4 { color:#F46906 }
|
|
168 |
.networks h4 { color:#444 }
|
|
169 | 169 |
.networks h3:hover, |
170 |
.networks h4:hover { color:#D65C04 }
|
|
170 |
.networks h4:hover { color:#666 }
|
|
171 | 171 |
.account h3, |
172 | 172 |
.account h4 { color:#2956B2 } |
173 | 173 |
.account h3:hover, |
... | ... | |
177 | 177 |
h4 .badge { padding:6px 9px 2px; background:url(../img/glyphicons-halflings.png) 160px 43px transparent;} |
178 | 178 |
h4.expanded .badge { background-position: 185px 43px} |
179 | 179 |
.row2 { background-color:#EDEDED; } |
180 |
|
|
181 |
.row1:hover { background-color:#DDD; } |
|
182 |
.row2:hover { background-color:#DDD; } |
|
183 |
|
|
184 |
h4 i { margin-top: 4px; margin-right: 10px;} |
b/snf-cyclades-app/synnefo/helpdesk/templates/helpdesk/base.html | ||
---|---|---|
17 | 17 |
<h1><a href="{% url helpdesk-index %}">Cyclades helpdesk</a> |
18 | 18 |
{% block extraheader %}{% endblock %}</h1> |
19 | 19 |
</div> |
20 |
<div class="span5"> |
|
21 |
<form class="form-horizontal account-form" method="get" action="."> |
|
22 |
<input type="text" class="input-medium search-query" name="account"> |
|
23 |
<button type="submit" class="btn">View account</button> |
|
24 |
</form> |
|
25 |
</div> |
|
26 |
</div> |
|
20 |
<div class="span5"> |
|
21 |
<form class="form-horizontal account-form" method="get" action="."> |
|
22 |
<input type="text" class="input-medium search-query" name="account"> |
|
23 |
<button type="submit" class="btn">View account</button> |
|
24 |
</form> |
|
25 |
</div> |
|
26 |
</div> |
|
27 |
{% if messages %} |
|
28 |
<div class="messages cleafix row-fuild"> |
|
29 |
{% for message in messages %} |
|
30 |
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% endif %}"> |
|
31 |
<button class="close" data-dismiss="alert">×</button> |
|
32 |
{{ message }} |
|
33 |
</div> |
|
34 |
{% endfor %} |
|
35 |
</div> |
|
36 |
{% endif %} |
|
37 |
<div class="messages cleafix row-fuild"> |
|
27 | 38 |
{% block content %} |
28 | 39 |
{% endblock %} |
40 |
</div> |
|
29 | 41 |
</div> |
30 | 42 |
<script src="{{ MEDIA_URL }}helpdesk/js/jquery.js"></script> |
31 | 43 |
<script src="{{ MEDIA_URL }}helpdesk/js/bootstrap.js"></script> |
b/snf-cyclades-app/synnefo/helpdesk/templates/helpdesk/networks_list.html | ||
---|---|---|
1 | 1 |
{% load helpdesk_tags %} |
2 | 2 |
<div class="object-anchor" id="network-{{network.pk}}"></div> |
3 |
<div class="network-details object-details"> |
|
4 |
<h4>{{ network.name }} <span class="badge"> </span></h4> |
|
5 |
<span class="badge badge-info">ID: {{ network.pk }}</span> |
|
3 |
<div class="network-details object-details {{ rowcls }}"> |
|
4 |
<h4><i class="icon-random"></i>{{ network.name }} <span class="badge"> </span></h4> |
|
6 | 5 |
{{ network|network_deleted_badge|safe }} |
6 |
<span class="badge badge-info">ID: {{ network.pk }}</span> |
|
7 | 7 |
|
8 | 8 |
<div class="network-details-content object-details-content"> |
9 | 9 |
<ul class="nav nav-tabs"> |
b/snf-cyclades-app/synnefo/helpdesk/templates/helpdesk/vms_list.html | ||
---|---|---|
1 | 1 |
{% load helpdesk_tags %} |
2 | 2 |
<div class="object-anchor" id="vm-{{vm.pk}}"></div> |
3 | 3 |
<div class="vm-details object-details {{ rowcls }}"> |
4 |
<h4>{{ vm.name }} <span class="badge"> </span></h4> |
|
5 |
<span class="badge badge-info">ID: {{ vm.pk }}</span> |
|
4 |
<h4><i class="icon-tasks"></i>{{ vm.name }} <span class="badge"> </span></h4> |
|
6 | 5 |
{{ vm|vm_status_badge|safe }} |
7 |
<span class="badge badge-info">{{ vm|vm_public_ip }}</span> |
|
6 |
<span class="badge badge-inverse">ID: {{ vm.pk }}</span> |
|
7 |
<span class="badge badge-inverse">{{ vm|vm_public_ip }}</span> |
|
8 | 8 |
<span class="badge badge-inverse flavor"> |
9 | 9 |
<span class="cpu">{{ vm.flavor.cpu }}x</span> |
10 | 10 |
<span class="ram">{{ vm.flavor.ram}}MB</span> |
Also available in: Unified diff