Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
0a7dbb2e
authored
Apr 17, 2014
by
Oláh István Gergely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fixed
#132
parent
6329df0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
circle/dashboard/templates/dashboard/index-nodes.html
+4
-7
No files found.
circle/dashboard/templates/dashboard/index-nodes.html
View file @
0a7dbb2e
...
@@ -32,13 +32,10 @@
...
@@ -32,13 +32,10 @@
<p><span
class=
"big"
><big>
{{ node_num.running }}
</big>
running
</span>
<p><span
class=
"big"
><big>
{{ node_num.running }}
</big>
running
</span>
+
<big>
{{ node_num.missing }}
</big>
missing +
<br><big>
{{ node_num.disabled }}
</big>
disabled +
<big>
{{ node_num.offline }}
</big>
offline
</p>
+
<big>
{{ node_num.missing }}
</big>
missing +
<br><big>
{{ node_num.disabled }}
</big>
disabled +
<big>
{{ node_num.offline }}
</big>
offline
</p>
<div
class=
"list-group"
id=
"dashboard-node-taglist"
>
<div
class=
"list-group"
id=
"dashboard-node-taglist"
>
{% for i in nodes %}
{% for i in nodes %}
<a
class=
"label {% if i.state == 'ONLINE' %}label-success
<a
href=
"{{ i.get_absolute_url }}"
class=
"label {{i.get_status_label}}"
>
{% elif i.state == 'MISSING' %}label-danger
<i
class=
"{{ i.get_status_icon }}"
title=
"{{ i.get_status_display }}"
></i>
{{ i.name }}
</a>
{% elif i.state == 'DISABLED' %}label-warning
{% endfor %}
{% elif i.state == 'OFFLINE' %}label-warning
{% endif %}"
href=
"{% url "
dashboard
.
views
.
node-detail
"
pk=
i.pk
%}"
><i
class=
"icon-{% if i.enabled == True %}play-sign{% else %}pause{% endif %}"
></i>
{{ i.name}}
</a>
{% endfor %}
</div>
</div>
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment