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
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 @@
<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>
{% 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
class=
"row"
>
<div
class=
"col-sm-6 input-group input-group-sm"
>
...
...
circle/dashboard/views.py
View file @
a5c08282
...
...
@@ -18,7 +18,7 @@ class IndexView(TemplateView):
context
=
super
(
IndexView
,
self
)
.
get_context_data
(
**
kwargs
)
context
.
update
({
'instances'
:
Instance
.
objects
.
filter
(
owner
=
user
),
'instances'
:
Instance
.
objects
.
filter
(
owner
=
user
)
[:
5
]
,
})
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