Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
808eacdd
authored
Oct 03, 2013
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: dynamic resource tab in vm details
parent
4ac011db
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
circle/dashboard/templates/dashboard/vm-detail-resources.html
+4
-3
circle/dashboard/templates/dashboard/vm-detail.html
+1
-1
No files found.
circle/dashboard/templates/dashboard/vm-detail-resources.html
View file @
808eacdd
...
...
@@ -3,7 +3,8 @@
<label
for=
"cpu-priority-slider"
><i
class=
"icon-trophy"
></i>
CPU priority
</label>
</div>
<div
class=
"col-sm-9"
>
<input
type=
"text"
data-slider=
"true"
data-slider-highlight=
"true"
data-slider-snap=
"true"
id=
"cpu-priority-slider"
value=
"0.25"
>
<input
type=
"text"
data-slider=
"true"
data-slider-highlight=
"true"
data-slider-snap=
"true"
data-slider-range=
"0,100"
data-slider-step=
"1"
id=
"cpu-priority-slider"
value=
"{{ instance.priority }}"
>
</div>
</p>
...
...
@@ -13,7 +14,7 @@
<label
for=
"cpu-count-slider"
><i
class=
"icon-cogs"
></i>
CPU count
</label>
</div>
<div
class=
"col-sm-9"
>
<input
type=
"text"
value=
"1
"
data-slider=
"true"
data-slider-highlight=
"true"
data-slider-range=
"0,8"
data-slider-snap=
"true"
data-slider-step=
"1"
id=
"cpu-count-slider"
>
<input
type=
"text"
value=
"{{ instance.num_cores }}
"
data-slider=
"true"
data-slider-highlight=
"true"
data-slider-range=
"0,8"
data-slider-snap=
"true"
data-slider-step=
"1"
id=
"cpu-count-slider"
>
</div>
</p>
...
...
@@ -23,7 +24,7 @@
<label
for=
"ram-slider"
><i
class=
"icon-ticket"
></i>
RAM amount
</label>
</div>
<div
class=
"col-sm-9"
>
<input
type=
"text"
data-slider=
"true"
data-slider-highlight=
"true"
id=
"ram-slider"
data-slider-range=
"128,4096"
data-slider-snap=
"true"
data-slider-step=
"128
"
>
MiB
<input
type=
"text"
data-slider=
"true"
data-slider-highlight=
"true"
id=
"ram-slider"
data-slider-range=
"128,4096"
data-slider-snap=
"true"
data-slider-step=
"128"
value=
"{{ instance.ram_size }}
"
>
MiB
</div>
</p>
circle/dashboard/templates/dashboard/vm-detail.html
View file @
808eacdd
...
...
@@ -9,7 +9,7 @@
<div
class=
"row"
>
<div
class=
"col-md-4"
id=
"vm-info-pane"
>
<div
class=
"big"
>
<span
class=
"label label-success
"
>
RUNNING
</span>
<span
class=
"label label-success
"
>
{{ instance.state }}
</span>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-warning dropdown-toggle"
data-toggle=
"dropdown"
>
Action
<i
class=
"icon-caret-down"
></i></button>
<ul
class=
"dropdown-menu"
role=
"menu"
>
...
...
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