Skip to content
Snippets Groups Projects
Unverified Commit 5aeb332e authored by Julian's avatar Julian Committed by magicfelix
Browse files

Create frontend for coursebook selecting

parent fac44eee
No related branches found
No related tags found
1 merge request!284Draft: Redesign entering of lesson documentation
{% extends "core/vue_base.html" %}
{% load static i18n %}
{% block page_title %}{% trans "Select Coursebook" %}{% endblock %}
{% block browser_title %}{% trans "Select Coursebook" %}{% endblock %}
{% block content %}
<v-row>
{% for lesson in lessons %}
<v-col xs="12" sm="6" md="6" lg="4" xl="3" class="d-flex">
<v-card class="flex-grow-1">
<v-card-title>
{% for group in lesson.groups.all %}{{ group.short_name }}{% if not forloop.last %},{% endif %}{% endfor %}
· {{ lesson.subject.name }}
</v-card-title>
<v-card-subtitle>
{{ lesson.validity.date_start }}-{{ lesson.validity.date_end }}
</v-card-subtitle>
<v-card-text>
{{ lesson.teachers.all|join:"," }}
</v-card-text>
{# <v-spacer></v-spacer>#}
<v-card-actions>
<v-btn :href="urls.coursebook({{ lesson.pk }})" text color="secondary">
<v-icon left>mdi-book-search-outline</v-icon>
{% trans "Open in coursebook" %}
</v-btn>
</v-card-actions>
</v-card>
</v-col>
{% endfor %}
</v-row>
{% endblock %}
{% block extra_body %}
{# <script type="module" src="{% static "js/vue/alsijil/LoadComponents.js" %}"></script>#}
{% endblock %}
\ No newline at end of file
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