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
568ffb77
Commit
568ffb77
authored
3 years ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Move tabs into navbar
parent
2c8668e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!236
Resolve "Improve week view for mobile devices (size s)"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html
+29
-15
29 additions, 15 deletions
...s/alsijil/templates/alsijil/class_register/week_view.html
with
29 additions
and
15 deletions
aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html
+
29
−
15
View file @
568ffb77
...
...
@@ -11,6 +11,35 @@
<link
rel=
"stylesheet"
href=
"{% static 'css/alsijil/week_view.css' %}"
/>
{% endblock %}
{% block nav_content %}
{% if lesson_periods %}
<div
class=
""
>
<ul
class=
"tabs tabs-transparent tabs-icons tabs-fixed-width"
>
<li
class=
"tab col"
>
<a
class=
"active"
href=
"#week-overview"
>
<i
class=
"material-icons"
>
speaker_notes
</i>
{% trans "Lesson documentations" %}
</a>
</li>
<li
class=
"tab col"
>
<a
href=
"#personal-notes"
>
<i
class=
"material-icons"
>
people
</i>
{% trans "Persons" %}
</a>
</li>
{% if group_roles %}
<li
class=
"tab col"
>
<a
href=
"#group-roles"
>
<i
class=
"material-icons"
>
assignment_ind
</i>
{% trans "Group roles" %}
</a>
</li>
{% endif %}
</ul>
</div>
{% endif %}
{% endblock %}
{% block content %}
<script
type=
"text/javascript"
src=
"{% static "
js
/
helper.js
"
%}"
></script>
{{ week_select|json_script:"week_select" }}
...
...
@@ -63,21 +92,6 @@
{% if lesson_periods %}
<div
class=
"row"
>
<div
class=
"col s12"
>
<ul
class=
"tabs"
>
<li
class=
"tab col"
>
<a
class=
"active"
href=
"#week-overview"
>
{% trans "Lesson documentations" %}
</a>
</li>
<li
class=
"tab col"
>
<a
href=
"#personal-notes"
>
{% trans "Personal notes" %}
</a>
</li>
{% if group_roles %}
<li
class=
"tab col"
>
<a
href=
"#group-roles"
>
{% trans "Group roles" %}
</a>
</li>
{% endif %}
</ul>
</div>
<div
class=
"col s12"
id=
"week-overview"
>
{% for weekday, objects in regrouped_objects.items %}
{% with weekdays|get_dict:objects.0.weekday as advanced_weekday %}
...
...
This diff is collapsed.
Click to expand it.
Julian
@ZugBahnHof
mentioned in commit
d054834d
·
3 years ago
mentioned in commit
d054834d
mentioned in commit d054834da66e734fbc72e49bf7395c86f7682a3a
Toggle commit list
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