Skip to content
Snippets Groups Projects

Improve graphical scheduling

Merged Nadja Geisler requested to merge improve-graphical-scheduling into master
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
@@ -175,11 +175,14 @@
@@ -175,11 +175,14 @@
<div class="row" style="margin-bottom: 50px;">
<div class="row" style="margin-bottom: 50px;">
<div class="col-md-10 col-lg-11">
<div class="col-md-10 col-lg-11">
<div id="planCalendar" ></div>
<div id="planCalendar"></div>
</div>
</div>
<div class="col-md-2 col-lg-1" id="unscheduled-slots">
<div class="col-md-2 col-lg-1" id="unscheduled-slots">
{% for slot in slots_unscheduled %}
{% for slot in slots_unscheduled %}
<div class="unscheduled-slot badge badge-primary" data-event='{ "title": "{{ slot.ak.short_name }}", "duration": {"hours": "{{ slot.duration|unlocalize }}"}, "description": "{{ slot.ak.name }}", "slotID": "{{ slot.pk }}"}'>{{ slot.ak.short_name }} ({{ slot.duration }} h)</div>
<div class="unscheduled-slot badge badge-primary" style='background-color: {{ slot.ak.category.color }}'
 
data-event='{ "title": "{{ slot.ak.short_name }}", "duration": {"hours": "{{ slot.duration|unlocalize }}"}, "description": "{{ slot.ak.name }}", "slotID": "{{ slot.pk }}"}'>{{ slot.ak.short_name }}
 
({{ slot.duration }} h)
 
</div>
{% endfor %}
{% endfor %}
</div>
</div>
</div>
</div>
Loading