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
8ac54c08
authored
Apr 02, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: cut too long templates names
parent
06f37a7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
circle/dashboard/static/dashboard/dashboard.css
+19
-0
circle/dashboard/templates/dashboard/index-templates.html
+6
-2
No files found.
circle/dashboard/static/dashboard/dashboard.css
View file @
8ac54c08
...
...
@@ -448,3 +448,22 @@ footer a, footer a:hover, footer a:visited {
#dashboard-vm-list
a
small
{
padding-left
:
10px
;
}
.index-template-list-name
{
display
:
inline-block
;
max-width
:
50%
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
float
:
left
;
}
#dashboard-template-list
a
small
{
max-width
:
50%
;
float
:
left
;
padding-top
:
2px
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
padding-left
:
10px
;
}
circle/dashboard/templates/dashboard/index-templates.html
View file @
8ac54c08
...
...
@@ -7,11 +7,15 @@
<h3
class=
"no-margin"
><i
class=
"icon-puzzle-piece"
></i>
{% trans "Templates" %}
</h3>
</div>
<div
class=
"list-group"
id=
"
vm-list-view
"
>
<div
class=
"list-group"
id=
"
dashboard-template-list
"
>
{% for t in templates %}
<a
href=
"{% url "
dashboard
.
views
.
template-detail
"
pk=
t.pk
%}"
class=
"list-group-item"
>
<i
class=
"icon-{{ t.os_type }}"
></i>
{{ t.name }}
<small
class=
"text-muted"
>
{{ t.system }}
</small>
<span
class=
"index-template-list-name"
>
<i
class=
"icon-{{ t.os_type }}"
></i>
{{ t.name }}
</span>
<small
class=
"text-muted index-template-list-system"
>
{{ t.system }}
</small>
<div
class=
"pull-right vm-create"
data-template=
"{{ t.pk }}"
><i
title=
"{% trans "
Start
vm
instance
"
%}"
class=
"icon-play"
></i></div>
<div
class=
"clearfix"
></div>
</a>
{% empty %}
<div
class=
"alert alert-warning"
style=
"margin: 10px;"
>
...
...
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