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
Commit
49359325
authored
Sep 02, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: change span to label
parent
5035a28d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
circle/dashboard/static/dashboard/dashboard.css
+4
-0
circle/dashboard/static/dashboard/vm-list.js
+0
-8
circle/dashboard/templates/dashboard/vm-list.html
+2
-2
No files found.
circle/dashboard/static/dashboard/dashboard.css
View file @
49359325
...
@@ -946,3 +946,7 @@ textarea[name="list-new-namelist"] {
...
@@ -946,3 +946,7 @@ textarea[name="list-new-namelist"] {
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
#vm-list-search-checkbox-span
{
cursor
:
pointer
}
circle/dashboard/static/dashboard/vm-list.js
View file @
49359325
...
@@ -167,14 +167,6 @@ $(function() {
...
@@ -167,14 +167,6 @@ $(function() {
updateStatuses
(
1
);
updateStatuses
(
1
);
}
}
$
(
"#vm-list-search-checkbox-span"
).
css
(
"cursor"
,
"pointer"
);
$
(
"#vm-list-search-checkbox-span"
).
click
(
function
(
e
)
{
if
(
e
.
target
.
type
===
"checkbox"
)
return
;
var
checkbox
=
$
(
this
).
find
(
"input"
);
checkbox
.
prop
(
"checked"
,
!
checkbox
.
prop
(
"checked"
));
return
false
;
});
});
});
...
...
circle/dashboard/templates/dashboard/vm-list.html
View file @
49359325
...
@@ -34,10 +34,10 @@
...
@@ -34,10 +34,10 @@
<div
class=
"input-group-btn"
>
<div
class=
"input-group-btn"
>
{{ search_form.stype }}
{{ search_form.stype }}
</div>
</div>
<
span
class=
"input-group-addon input-tags"
title=
"{% trans "
Include
deleted
VMs
"
%}"
<
label
class=
"input-group-addon input-tags"
title=
"{% trans "
Include
deleted
VMs
"
%}"
id=
"vm-list-search-checkbox-span"
data-container=
"body"
>
id=
"vm-list-search-checkbox-span"
data-container=
"body"
>
{{ search_form.include_deleted }}
{{ search_form.include_deleted }}
</
span
>
</
label
>
<div
class=
"input-group-btn"
>
<div
class=
"input-group-btn"
>
<button
type=
"submit"
class=
"btn btn-primary input-tags"
>
<button
type=
"submit"
class=
"btn btn-primary input-tags"
>
<i
class=
"fa fa-search"
></i>
<i
class=
"fa fa-search"
></i>
...
...
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