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
9c428974
authored
Apr 13, 2016
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: add select all to acl list
closes #445
parent
cb2d9cff
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
+13
-1
circle/dashboard/static/dashboard/dashboard.js
+8
-0
circle/dashboard/static/dashboard/dashboard.less
+4
-0
circle/dashboard/templates/dashboard/_manage_access.html
+1
-1
No files found.
circle/dashboard/static/dashboard/dashboard.js
View file @
9c428974
...
@@ -557,3 +557,11 @@ $(function () {
...
@@ -557,3 +557,11 @@ $(function () {
"alert-"
+
$
(
this
).
val
());
"alert-"
+
$
(
this
).
val
());
});
});
});
});
/* select all in template list */
$
(
function
()
{
$
(
"#manage-access-select-all"
).
click
(
function
(
e
)
{
var
inputs
=
$
(
this
).
closest
(
"table"
).
find
(
'input[type="checkbox"]'
);
inputs
.
prop
(
"checked"
,
!
inputs
.
prop
(
"checked"
));
});
});
circle/dashboard/static/dashboard/dashboard.less
View file @
9c428974
...
@@ -1523,3 +1523,7 @@ textarea[name="new_members"] {
...
@@ -1523,3 +1523,7 @@ textarea[name="new_members"] {
text-align: center;
text-align: center;
width: 100%;
width: 100%;
}
}
#manage-access-select-all {
cursor: pointer;
}
circle/dashboard/templates/dashboard/_manage_access.html
View file @
9c428974
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<th></th>
<th></th>
<th>
{% trans "Who" %}
</th>
<th>
{% trans "Who" %}
</th>
<th>
{% trans "What" %}
</th>
<th>
{% trans "What" %}
</th>
<th><i
class=
"fa fa-times"
></i></th>
<th><i
id=
"manage-access-select-all"
class=
"fa fa-times"
></i></th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
...
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