-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grade sheet storage and display management
- Loading branch information
Showing
7 changed files
with
250 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/spz/templates/internal/administration/delete_grade_sheet.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% extends 'internal/internal.html' %} | ||
{% from 'formhelpers.html' import csrf_field, render_submit %} | ||
|
||
{% block caption %} | ||
Datei Löschen: {{ file.filename }} | ||
{% endblock caption %} | ||
|
||
|
||
{% block internal_body %} | ||
<div class="row"> | ||
<h2>{{ file.filename }} Endgültig Löschen</h2> | ||
<div class="ui message"> | ||
<p>Soll die Datei <strong>{{ file.filename }} </strong> wirklich gelöscht werden? | ||
<br> Das kann nicht rückgängig gemacht werden.</p> | ||
</div> | ||
<form method="post" class="ui form"> | ||
{{ csrf_field() }} | ||
|
||
<div class="ui two fluid buttons"> | ||
<button type="submit" class="ui red button">Löschen</button> | ||
|
||
<div class="or"></div> | ||
|
||
<a href="{{ url_for('grade', course_id=file.course_id) }}" class="ui button">Abbrechen</a> | ||
</div> | ||
</form> | ||
</div> | ||
{% endblock internal_body %} |
Oops, something went wrong.