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
a5c08282
authored
Oct 07, 2013
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: remove static dummy vms and limit their display number
parent
97b69b04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
13 deletions
+1
-13
circle/dashboard/templates/dashboard/index-vm.html
+0
-12
circle/dashboard/views.py
+1
-1
No files found.
circle/dashboard/templates/dashboard/index-vm.html
View file @
a5c08282
...
@@ -18,18 +18,6 @@
...
@@ -18,18 +18,6 @@
<i
class=
"icon-play-sign"
></i>
{{ i.name }}
<div
class=
"pull-right"
><i
class=
"icon-star text-primary"
title=
"Mark as favorite."
></i></div>
<i
class=
"icon-play-sign"
></i>
{{ i.name }}
<div
class=
"pull-right"
><i
class=
"icon-star text-primary"
title=
"Mark as favorite."
></i></div>
</a>
</a>
{% endfor %}
{% endfor %}
<a
href=
"vm/443"
class=
"list-group-item"
>
<i
class=
"icon-play-sign"
></i>
ALMA
<div
class=
"pull-right"
><i
class=
"icon-star text-primary"
title=
"Mark as favorite."
></i></div>
</a>
<a
href=
"#"
class=
"list-group-item"
>
<i
class=
"icon-play-sign"
></i>
ALMA
<div
class=
"pull-right"
><i
class=
"icon-star text-primary"
title=
"Mark as favorite."
></i></div>
</a>
<a
href=
"#"
class=
"list-group-item"
>
<i
class=
"icon-play-sign"
></i>
ALMA
<div
class=
"pull-right"
><i
class=
"icon-star text-primary"
title=
"Mark as favorite."
></i></div>
</a>
<a
href=
"#"
class=
"list-group-item"
>
<i
class=
"icon-off"
></i>
ALMA
<div
class=
"pull-right"
><i
class=
"icon-star-empty text-muted"
></i></div>
</a>
<div
href=
"#"
class=
"list-group-item list-group-footer"
>
<div
href=
"#"
class=
"list-group-item list-group-footer"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-6 input-group input-group-sm"
>
<div
class=
"col-sm-6 input-group input-group-sm"
>
...
...
circle/dashboard/views.py
View file @
a5c08282
...
@@ -18,7 +18,7 @@ class IndexView(TemplateView):
...
@@ -18,7 +18,7 @@ class IndexView(TemplateView):
context
=
super
(
IndexView
,
self
)
.
get_context_data
(
**
kwargs
)
context
=
super
(
IndexView
,
self
)
.
get_context_data
(
**
kwargs
)
context
.
update
({
context
.
update
({
'instances'
:
Instance
.
objects
.
filter
(
owner
=
user
),
'instances'
:
Instance
.
objects
.
filter
(
owner
=
user
)
[:
5
]
,
})
})
return
context
return
context
...
...
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