Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3efae6d8
authored
Jul 11, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: change vm and node detail
parent
53f0b4ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
circle/dashboard/templates/dashboard/node-detail.html
+6
-6
circle/dashboard/templates/dashboard/vm-detail.html
+6
-6
No files found.
circle/dashboard/templates/dashboard/node-detail.html
View file @
3efae6d8
...
...
@@ -10,8 +10,8 @@
<a
title=
"{% trans "
Rename
"
%}"
href=
"#"
class=
"btn btn-default btn-xs node-details-rename-button"
><i
class=
"fa fa-pencil"
></i></a>
<a
title=
"{% trans "
Flush
"
%}"
data-node-pk=
"{{ node.pk }}"
class=
"btn btn-default btn-xs real-link node-flush"
href=
"{% url "
dashboard
.
views
.
flush-node
"
pk=
node.pk
%}"
><i
class=
"fa fa-cloud-upload"
></i></a>
<a
title=
"{% trans "
Enable
"
%}"
style=
"display:{% if node.enabled %}none{% else %}inline-block{% endif %}"
data-node-pk=
"{{ node.pk }}"
class=
"btn btn-default btn-xs real-link node-enable"
href=
"{% url "
dashboard
.
views
.
status-node
"
pk=
node.pk
%}?
next=
{{
request
.
path
}}"
><i
class=
"fa fa-check"
></i></a>
<a
title=
"{% trans "
Disable
"
%}"
style=
"display:{% if not node.enabled %}none{% else %}inline-block{% endif %}"
data-node-pk=
"{{ node.pk }}"
class=
"btn btn-default btn-xs real-link node-enable"
href=
"{% url "
dashboard
.
views
.
status-node
"
pk=
node.pk
%}?
next=
{{
request
.
path
}}"
><i
class=
"fa fa-ban
-circle
"
></i></a>
<a
title=
"{% trans "
Delete
"
%}"
data-node-pk=
"{{ node.pk }}"
class=
"btn btn-default btn-xs real-link node-delete"
href=
"{% url "
dashboard
.
views
.
delete-node
"
pk=
node.pk
%}"
><i
class=
"fa fa-trash"
></i></a>
<a
title=
"{% trans "
Disable
"
%}"
style=
"display:{% if not node.enabled %}none{% else %}inline-block{% endif %}"
data-node-pk=
"{{ node.pk }}"
class=
"btn btn-default btn-xs real-link node-enable"
href=
"{% url "
dashboard
.
views
.
status-node
"
pk=
node.pk
%}?
next=
{{
request
.
path
}}"
><i
class=
"fa fa-ban"
></i></a>
<a
title=
"{% trans "
Delete
"
%}"
data-node-pk=
"{{ node.pk }}"
class=
"btn btn-default btn-xs real-link node-delete"
href=
"{% url "
dashboard
.
views
.
delete-node
"
pk=
node.pk
%}"
><i
class=
"fa fa-trash
-o
"
></i></a>
<a
title=
"{% trans "
Help
"
%}"
href=
"#"
class=
"btn btn-default btn-xs node-details-help-button"
><i
class=
"fa fa-question"
></i></a>
</div>
<h1>
...
...
@@ -66,19 +66,19 @@
<ul
class=
"nav nav-pills panel-heading"
>
<li
class=
"active"
>
<a
href=
"#home"
data-toggle=
"pill"
class=
"text-center"
>
<i
class=
"fa fa-compass
icon
-2x"
></i><br>
<i
class=
"fa fa-compass
fa
-2x"
></i><br>
{% trans "Home" %}
</a></li>
<li>
<a
href=
"#resources"
data-toggle=
"pill"
class=
"text-center"
>
<i
class=
"fa fa-tasks
icon
-2x"
></i><br>
<i
class=
"fa fa-tasks
fa
-2x"
></i><br>
{% trans "Resources" %}
</a></li>
<li>
<a
href=
"#virtualmachines"
data-toggle=
"pill"
class=
"text-center"
>
<i
class=
"fa fa-desktop
icon
-2x"
></i><br>
<i
class=
"fa fa-desktop
fa
-2x"
></i><br>
{% trans "Virtual Machines" %}
</a></li>
<li>
<a
href=
"#activity"
data-toggle=
"pill"
class=
"text-center"
>
<i
class=
"fa fa-
time icon
-2x"
></i><br>
<i
class=
"fa fa-
clock-o fa
-2x"
></i><br>
{% trans "Activity" %}
</a></li>
</ul>
...
...
circle/dashboard/templates/dashboard/vm-detail.html
View file @
3efae6d8
...
...
@@ -127,31 +127,31 @@
<ul
class=
"nav nav-pills panel-heading"
>
<li
class=
"active"
>
<a
href=
"#home"
data-toggle=
"pill"
data-target=
"#_home"
class=
"text-center"
>
<i
class=
"fa fa-compass
icon
-2x"
></i><br>
<i
class=
"fa fa-compass
fa
-2x"
></i><br>
{% trans "Home" %}
</a>
</li>
<li>
<a
href=
"#resources"
data-toggle=
"pill"
data-target=
"#_resources"
class=
"text-center"
>
<i
class=
"fa fa-tasks
icon
-2x"
></i><br>
<i
class=
"fa fa-tasks
fa
-2x"
></i><br>
{% trans "Resources" %}
</a>
</li>
<li
{%
if
not
instance
.
is_console_available
%}
class=
"disabled"
{%
endif
%}
>
<a
href=
"#console"
data-toggle=
"pill"
data-target=
"#_console"
class=
"text-center"
>
<i
class=
"fa fa-desktop
icon
-2x"
></i><br>
<i
class=
"fa fa-desktop
fa
-2x"
></i><br>
{% trans "Console" %}
</a></li>
<li>
<a
href=
"#access"
data-toggle=
"pill"
data-target=
"#_access"
class=
"text-center"
>
<i
class=
"fa fa-group
icon
-2x"
></i><br>
<i
class=
"fa fa-group
fa
-2x"
></i><br>
{% trans "Access" %}
</a>
</li>
<li>
<a
href=
"#network"
data-toggle=
"pill"
data-target=
"#_network"
class=
"text-center"
>
<i
class=
"fa fa-globe
icon
-2x"
></i><br>
<i
class=
"fa fa-globe
fa
-2x"
></i><br>
{% trans "Network" %}
</a>
</li>
<li>
<a
href=
"#activity"
data-toggle=
"pill"
data-target=
"#_activity"
class=
"text-center"
>
<i
class=
"fa fa-
time icon
-2x"
></i><br>
<i
class=
"fa fa-
clock-o fa
-2x"
></i><br>
{% trans "Activity" %}
</a>
</li>
</ul>
...
...
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