Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Alsijil
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Alsijil
Commits
44e7e2e9
Verified
Commit
44e7e2e9
authored
4 years ago
by
Julian
Committed by
Jonathan Weth
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add filled in checkboxes
parent
a6b9380e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!111
Resolve "[Person overview] Implement multiple selection for marking absences as excused or for deleting"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/apps/alsijil/static/css/alsijil/person.css
+28
-0
28 additions, 0 deletions
aleksis/apps/alsijil/static/css/alsijil/person.css
aleksis/apps/alsijil/templates/alsijil/class_register/person.html
+5
-3
5 additions, 3 deletions
...apps/alsijil/templates/alsijil/class_register/person.html
with
33 additions
and
3 deletions
aleksis/apps/alsijil/static/css/alsijil/person.css
+
28
−
0
View file @
44e7e2e9
...
...
@@ -22,4 +22,32 @@ span.input-field.inline > .select-wrapper .caret {
#select_all_container
{
display
:
none
;
}
#select_all_box
:indeterminate
+
span
:not
(
.lever
)
:before
{
top
:
-4px
;
left
:
-6px
;
width
:
10px
;
height
:
12px
;
border-top
:
none
;
border-left
:
none
;
border-right
:
white
2px
solid
;
border-bottom
:
none
;
transform
:
rotate
(
90deg
);
backface-visibility
:
hidden
;
transform-origin
:
100%
100%
;
}
#select_all_box
:indeterminate
+
span
:not
(
.lever
)
:after
{
top
:
0
;
width
:
20px
;
height
:
20px
;
border
:
2px
solid
currentColor
;
background-color
:
currentColor
;
z-index
:
0
;
}
#select_all_box_text
{
color
:
#9e9e9e
!important
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
aleksis/apps/alsijil/templates/alsijil/class_register/person.html
+
5
−
3
View file @
44e7e2e9
...
...
@@ -47,8 +47,10 @@
<li
class=
"collection-item row"
id=
"title"
>
<label
class=
"col s12 xl2"
id=
"select_all_container"
>
<input
type=
"checkbox"
id=
"select_all_box"
form=
"excuse-multiple-form"
/>
<span
id=
"select_all_span"
>
Select all
</span>
form=
"excuse-multiple-form"
class=
"filled-in"
/>
<span
id=
"select_all_span"
class=
"secondary-color-text"
>
<span
id=
"select_all_box_text"
>
Select all
</span>
</span>
</label>
<div
class=
"col s12 xl10"
>
<form
method=
"POST"
id=
"excuse-multiple-form"
class=
"right"
>
...
...
@@ -77,7 +79,7 @@
{% if can_edit_personal_note %}
<label
class=
"left"
>
<input
type=
"checkbox"
name=
"selected_notes"
value=
"{{ note.pk }}"
form=
"excuse-multiple-form"
/>
form=
"excuse-multiple-form"
class=
"filled-in"
/>
<span></span>
</label>
<form
action=
""
method=
"post"
class=
"right hide-on-small-only"
style=
"margin-top: -7px;"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment