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
81094f0d
authored
Apr 22, 2014
by
Oláh István Gergely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix generateGroupHTML in js, add wrapper div to template
parent
2d9bc07b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
circle/dashboard/static/dashboard/dashboard.js
+3
-2
circle/dashboard/templates/dashboard/index-groups.html
+6
-4
No files found.
circle/dashboard/static/dashboard/dashboard.js
View file @
81094f0d
...
@@ -290,8 +290,9 @@ function generateVmHTML(pk, name, host, icon, _status, fav) {
...
@@ -290,8 +290,9 @@ function generateVmHTML(pk, name, host, icon, _status, fav) {
}
}
function
generateGroupHTML
(
url
,
name
)
{
function
generateGroupHTML
(
url
,
name
)
{
return
name
+
url
+
return
'<a href="'
+
url
+
'" class="list-group-item real-link">'
+
''
;
'<i class="icon-group"></i> '
+
name
+
'</a>'
;
}
}
/* copare vm-s by fav, pk order */
/* copare vm-s by fav, pk order */
...
...
circle/dashboard/templates/dashboard/index-groups.html
View file @
81094f0d
...
@@ -7,11 +7,13 @@
...
@@ -7,11 +7,13 @@
<h3
class=
"no-margin"
><i
class=
"icon-group"
></i>
{% trans "Groups" %}
</h3>
<h3
class=
"no-margin"
><i
class=
"icon-group"
></i>
{% trans "Groups" %}
</h3>
</div>
</div>
<div
class=
"list-group"
id=
"vm-list-view"
>
<div
class=
"list-group"
id=
"vm-list-view"
>
{% for i in groups %}
<div
id=
"dashboard-group-list"
>
<a
href=
"{% url "
dashboard
.
views
.
group-detail
"
pk=
i.pk
%}"
class=
"list-group-item real-link"
>
{% for i in groups %}
<a
href=
"{% url "
dashboard
.
views
.
group-detail
"
pk=
i.pk
%}"
class=
"list-group-item real-link"
>
<i
class=
"icon-group"
></i>
{{ i.name }}
<i
class=
"icon-group"
></i>
{{ i.name }}
</a>
</a>
{% endfor %}
{% endfor %}
</div>
<div
href=
"#"
class=
"list-group-item list-group-footer text-right"
>
<div
href=
"#"
class=
"list-group-item list-group-footer text-right"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-6 col-xs-6 input-group input-group-sm"
>
<div
class=
"col-sm-6 col-xs-6 input-group input-group-sm"
>
...
...
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