shiftregister/shiftregister/team/templates/shift_overview.html

25 lines
636 B
HTML

{% extends "base.html" %}
{% block title %}Schichtübersicht{% endblock %}
{% block content %}
{% if running_shifts %}
<h3 class="title">Laufende Schichten</h3>
<div class="columns is-multiline">
{% for shift in running_shifts %}
{% include "partials/shift_list_item.html" %}
{% endfor %}
</div>
<hr>
{% endif %}
<h3 class="title is-spaced">Nächste Schichten pro Raum</h3>
<div class="columns is-multiline">
{% for shift in next_shifts %}
<div class="column is-one-quarter">
<h5 class="subtitle">{{ shift.room.name }}</h5>
{% include "partials/shift_box.html" %}
</div>
{% endfor %}
</div>
{% endblock %}