{% extends "base.html" %} {% from "macros.html" import modal_editor, modal_editor_open %} {% block title %}PySkat - Session{% endblock %} {% block head %} {% endblock %} {% block content %}
| ID | Name | Date | Remarks | Actions |
|---|---|---|---|---|
| {{ s.id }} | {{ s.name }} | {{ s.date.isoformat(sep=" ", timespec="minutes") }} | {{ s.remarks }} |
{% if current_session_id == s.id %}
{% else %}
{% endif %}
{{ modal_editor_open("edit-session-{}".format(s.id), "Edit", "warning") }}
{{ modal_editor_open("delete-session-{}".format(s.id), "Delete", "danger") }}
|