Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
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
ac015c66
authored
Feb 01, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: better look for template list
parent
0a8706da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
20 deletions
+17
-20
circle/dashboard/static/dashboard/dashboard.css
+15
-0
circle/dashboard/tables.py
+2
-1
circle/dashboard/templates/dashboard/template-list.html
+0
-19
No files found.
circle/dashboard/static/dashboard/dashboard.css
View file @
ac015c66
...
...
@@ -264,6 +264,21 @@ a.hover-black {
font-family
:
"FontAwesome"
;
}
.template-list-table
tbody
>
tr
>
td
,
.template-list-table
thead
>
tr
>
th
,
.lease-list-table
tbody
>
tr
>
td
,
.lease-list-table
thead
>
tr
>
th
{
vertical-align
:
middle
;
text-align
:
center
;
}
.template-list-table
td
:nth-child
(
1
),
.lease-list-table
td
:nth-child
(
1
)
{
text-align
:
left
;
}
.template-list-table-thin
{
width
:
95px
;
}
.dropdown-menu
{
...
...
circle/dashboard/tables.py
View file @
ac015c66
...
...
@@ -164,7 +164,8 @@ class TemplateListTable(Table):
)
actions
=
TemplateColumn
(
verbose_name
=
_
(
"Actions"
),
template_name
=
"dashboard/template-list/column-template-actions.html"
template_name
=
"dashboard/template-list/column-template-actions.html"
,
attrs
=
{
'th'
:
{
'class'
:
'template-list-table-thin'
}},
)
class
Meta
:
...
...
circle/dashboard/templates/dashboard/template-list.html
View file @
ac015c66
...
...
@@ -47,25 +47,6 @@
</div>
</div>
</div>
<style>
.template-list-table
td
,
.template-list-table
th
,
.lease-list-table
td
,
.lease-list-table
th
{
text-align
:
center
;
}
.template-list-table
td
:nth-child
(
1
),
.lease-list-table
td
:nth-child
(
1
)
{
text-align
:
left
;
}
.vm-list-table-thin
{
width
:
10px
;
}
.vm-list-table-admin
{
width
:
130px
;
}
</style>
{% endblock %}
{% block extra_js %}
...
...
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