Adopt SummerCMS v0.1.1 admin features

Datepickers on native time.Time / lagoon.Date fields, file uploads on
materials, readings and class sessions managed from the course form
(course_id made nullable).
This commit is contained in:
Jakub Zych
2026-10-03 06:03:34 +02:00
parent ac2e2ddd7b
commit 71b848a376
39 changed files with 475 additions and 373 deletions

View File

@@ -23,8 +23,6 @@ common:
sort_order: Sort order
created_at: Created
none: — none —
date_comment: A date in the YYYY-MM-DD form, such as 2026-10-03.
datetime_comment: Date and time in Polish time, such as 2026-10-03 08:00.
forms:
wyklad: Lecture
cwiczenia: Tutorial
@@ -32,6 +30,8 @@ forms:
seminarium: Seminar
inne: Other
courses:
readings: Readings
sessions: Class sessions
title: Courses
form: Course
name: Name
@@ -83,7 +83,8 @@ materials:
body: Body (Markdown)
body_comment: A note in Markdown.
published_at: Published
published_at_comment: Leave empty for a draft that students do not see. Such as 2026-10-03 08:00.
files: Files
published_at_comment: Leave empty for a draft that students do not see.
tags: Tags
material_types:
pdf: PDF