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
77522dc5
Commit
77522dc5
authored
3 years ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Improve mobile UI
parent
a94bc45f
No related branches found
No related tags found
1 merge request
!111
Resolve "[Person overview] Implement multiple selection for marking absences as excused or for deleting"
Pipeline
#10703
failed
3 years ago
Stage: test
Stage: build
Stage: publish
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/apps/alsijil/static/css/alsijil/person.css
+25
-6
25 additions, 6 deletions
aleksis/apps/alsijil/static/css/alsijil/person.css
aleksis/apps/alsijil/templates/alsijil/class_register/person.html
+8
-6
8 additions, 6 deletions
...apps/alsijil/templates/alsijil/class_register/person.html
with
33 additions
and
12 deletions
aleksis/apps/alsijil/static/css/alsijil/person.css
+
25
−
6
View file @
77522dc5
...
...
@@ -68,9 +68,28 @@ td.material-icons {
transform
:
translate
(
-50%
,
50%
);
}
.medium-high-right
{
position
:
relative
;
top
:
50%
;
right
:
0
;
transform
:
translate
(
0%
,
50%
);
}
\ No newline at end of file
@media
screen
and
(
min-width
:
600px
)
{
/* On medium and up devices */
.medium-high-right
{
float
:
right
;
transform
:
translate
(
0%
,
50%
);
}
}
@media
screen
and
(
max-width
:
600px
)
{
/* Only on small devices */
.full-width-s
{
width
:
100%
;
}
#heading
{
display
:
block
;
}
#heading
+
a
{
float
:
none
!important
;
}
}
.overflow-x-scroll
{
overflow-x
:
scroll
;
}
This diff is collapsed.
Click to expand it.
aleksis/apps/alsijil/templates/alsijil/class_register/person.html
+
8
−
6
View file @
77522dc5
...
...
@@ -19,7 +19,7 @@
</a>
{% endif %}
{% blocktrans with person=person %}
Class register overview for {{ person }}
<span
id=
"heading"
>
Class register overview for {{ person }}
</span>
{% endblocktrans %}
{% has_perm "alsijil.register_absence" user person as can_register_absence %}
{% if can_register_absence %}
...
...
@@ -82,7 +82,7 @@
<div
class=
"row"
>
<div
class=
"col s12 m3 l5 push-m9 push-l7"
>
<button
class=
"modal-trigger
right
btn primary-color waves-effect waves-light
class=
"modal-trigger btn primary-color waves-effect waves-light
{% if can_mark_all_as_excused %} medium-high-right {% endif %}"
data-target=
"filter-modal"
type=
"button"
>
...
...
@@ -93,17 +93,19 @@
{% csrf_token %}
<div
class=
"col s12 m9 l7 pull-m3 pull-l5 row"
>
{% if can_mark_all_as_excused %}
<div
class=
"col s12 m
10
"
>
<div
class=
"col s12 m
9
"
>
{% form form=action_form %}{% endform %}
</div>
<div
class=
"col s1
0
m
2
"
>
<button
type=
"submit"
class=
"btn waves-effect waves-light medium-high"
>
<div
class=
"col s1
2
m
3
"
>
<button
type=
"submit"
class=
"btn waves-effect waves-light medium-high
full-width-s
"
>
Run
<i
class=
"material-icons right"
>
send
</i>
</button>
</div>
{% endif %}
</div>
{% render_table personal_notes_table %}
<div
class=
"col s12 overflow-x-scroll"
>
{% render_table personal_notes_table %}
</div>
</form>
</div>
</div>
...
...
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