vtt/src/ttfrog/themes/default/page.html

21 lines
701 B
HTML
Raw Normal View History

2025-09-27 16:20:08 -07:00
{% extends "base.html" %}
2025-10-11 15:37:00 -07:00
{% block styles %}
2025-10-18 11:23:03 -07:00
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='editor/editor.css' ) }}">
2025-09-28 14:14:16 -07:00
{% endblock %}
2025-10-11 15:37:00 -07:00
2025-09-27 16:20:08 -07:00
{% block content %}
2025-11-27 01:57:25 -08:00
<div id='{% if user.can_write(page) %}editor{% else %}viewer{% endif %}' class='read-only'>
{{ page.body }}
</div>
2025-09-27 16:20:08 -07:00
{% endblock %}
2025-09-28 14:14:16 -07:00
2025-10-11 15:37:00 -07:00
{% block scripts %}
2025-11-27 01:57:25 -08:00
<script src="{{ url_for('static', filename='editor/commonmark.js' ) }}"></script>
<script src="{{ url_for('static', filename='editor/turndown.js' ) }}"></script>
<script src="{{ url_for('static', filename='editor/turndown-plugin-gfm.js' ) }}"></script>
<script src="{{ url_for('static', filename='editor/editor.js' ) }}"></script>
2025-10-11 15:37:00 -07:00
{% endblock %}