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
a00b8718
authored
Aug 27, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: better look for vm list controls on smaller resolution
parent
79c214d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
15 deletions
+21
-15
circle/dashboard/static/dashboard/dashboard.css
+4
-0
circle/dashboard/templates/dashboard/vm-list.html
+17
-15
No files found.
circle/dashboard/static/dashboard/dashboard.css
View file @
a00b8718
...
...
@@ -936,3 +936,7 @@ textarea[name="list-new-namelist"] {
.mass-op-panel
.status-icon
{
font-size
:
1.5em
;
}
#vm-list-search
,
#vm-mass-ops
{
margin-top
:
8px
;
}
circle/dashboard/templates/dashboard/vm-list.html
View file @
a00b8718
...
...
@@ -15,7 +15,19 @@
</div>
<h3
class=
"no-margin"
><i
class=
"fa fa-desktop"
></i>
{% trans "Virtual machines" %}
</h3>
</div>
<div
class=
"pull-right"
style=
"max-width: 300px; margin-top: 15px; margin-right: 15px;"
>
<div
class=
"panel-body"
>
<div
class=
"row"
>
<div
class=
"col-md-8 vm-list-group-control"
id=
"vm-mass-ops"
>
<strong>
{% trans "Group actions" %}
</strong>
<button
id=
"vm-list-group-select-all"
class=
"btn btn-info btn-xs"
>
{% trans "Select all" %}
</button>
{% for o in ops %}
<a
href=
"{{ o.get_url }}"
class=
"btn btn-xs btn-{{ o.effect }} mass-operation"
title=
"{{ o.name|capfirst }}"
disabled
>
<i
class=
"fa fa-{{ o.icon }}"
></i>
</a>
{% endfor %}
</div>
<!-- .vm-list-group-control -->
<div
class=
"col-md-4"
id=
"vm-list-search"
>
<form
action=
""
method=
"GET"
>
<div
class=
"input-group"
>
{{ search_form.s }}
...
...
@@ -25,21 +37,11 @@
<i
class=
"fa fa-search"
></i>
</button>
</div>
</div
>
</div>
<!-- .input-group --
>
</form>
</div>
<div
class=
"panel-body vm-list-group-control"
>
<div
id=
"vm-mass-ops"
>
<strong>
{% trans "Group actions" %}
</strong>
<button
id=
"vm-list-group-select-all"
class=
"btn btn-info btn-xs"
>
{% trans "Select all" %}
</button>
{% for o in ops %}
<a
href=
"{{ o.get_url }}"
class=
"btn btn-xs btn-{{ o.effect }} mass-operation"
title=
"{{ o.name|capfirst }}"
disabled
>
<i
class=
"fa fa-{{ o.icon }}"
></i>
</a>
{% endfor %}
</div>
<!-- #vm-mass-ops -->
</div>
<!-- .panel-body .vm-list-group-control -->
</div>
<!-- .col-md-4 #vm-list-search -->
</div>
<!-- .row -->
</div>
<!-- .panel-body -->
<div
class=
"panel-body"
>
<table
class=
"table table-bordered table-striped table-hover vm-list-table"
id=
"vm-list-table"
>
...
...
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