Skip to content
Snippets Groups Projects
Commit 908bd77a authored by Jonathan Weth's avatar Jonathan Weth :keyboard: Committed by root
Browse files

Merge pull request #98 from Katharineum/feature/timetable-fixes

Fix design problems
parents 549ef1f0 6e8621e4
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -146,8 +146,8 @@ span.badge.new {
}
.lesson-card .card-content div {
padding: 5px;
height: 100%;
padding: 2px;
flex: auto;
width: 100%;
display: flex;
align-items: center;
......
......@@ -173,6 +173,11 @@
{% endif %}
</ul>
</header>
<header class="alert-success"><p><i class="material-icons left">info</i> Du befindest dich in der Testversion von
SchoolApps. Dadurch kann es immer mal wieder zu unvorhergesehenen Problemen kommen. Es würde uns sehr helfen, wenn
du uns dann über <a href="mailto:support@katharineum.de">support@katharineum.de</a> schreibst. </p></header>
\ No newline at end of file
<header class="alert-success">
<p>
<i class="material-icons left">info</i>
Du befindest dich in der Testversion von SchoolApps. Daher kann es immer mal wieder zu unvorhergesehenen
Problemen kommen. Es würde uns sehr helfen, wenn du uns dann über
<a href="mailto:support@katharineum.de">support@katharineum.de</a> schreibst.
</p>
</header>
\ No newline at end of file
{% include 'partials/header.html' %}
<main>
<h3>Übersicht</h3>
<h3>Alle Pläne</h3>
<div class="row">
<div class="col s12 m4">
<h4>Lehrkräfte</h4>
......
......@@ -21,10 +21,20 @@
{# When it's the old room, let it empty #}
{% elif element_container.substitution.table.badge %}
{# When a badge (cancellation, etc.) exists, then display it #}
{# When a badge (cancellation, etc.) exists, then display it with the teacher#}
{# Class or room > Display teacher #}
{% if type == 2 or type == 1 %}
<span data-position="bottom" class="tooltipped"
data-tooltip="{{ element_container.element.teacher }}">{{ element_container.element.teacher.shortcode }}</span>
<br>
{% endif %}
{# Badge #}
<span class="badge new green darken-2">{{ element_container.substitution.table.badge }}</span>
{% else %}
{# Display sub #}
......
......@@ -8,7 +8,7 @@
Mein Plan
<span class="badge new primary-color ">SMART PLAN</span>
</h4>
<h6>für <em>{{ el }}</em></h6>
<h6>{{ el }}</h6>
</div>
</div>
......@@ -21,33 +21,27 @@
{% include "timetable/datepicker.html" %}
</div>
</div>
{# <h5>{{ date|date:"l, j. F Y" }}</h5>#}
<div class="row">
<div class="timetable-plan col s12 m12 l6">
{# Week days #}
<div class="row">
<div class="col s6">
{# Date #}
</div>
{% for week_daye in week_days %}
{% if forloop.counter0 == week_day %}
<div class="col s6">
<div class="card timetable-title-card">
<div class="card-content">
<div class="row">
<div class="col s12">
<div class="card timetable-title-card">
<div class="card-content">
<span class="card-title">
{{ week_daye }}
{{ date|date:"l, j.n.Y" }}
</span>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
{# Lessons #}
{% for row, time in plan %}
<div class="row">
<div class="col s6">
<div class="col s4">
<div class="card timetable-title-card">
<div class="card-content">
......@@ -67,7 +61,7 @@
</div>
{% for col in row %}
{% if forloop.counter0 == week_day %}
<div class="col s6">
<div class="col s8">
{# A lesson #}
{% include "timetable/lesson.html" %}
</div>
......
{% include 'partials/header.html' %}
<main>
<h3>Übersicht</h3>
<h3>Alle Pläne</h3>
<div class="row">
<div class="col s12 m4">
<h4>Lehrkräfte</h4>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment