Skip to content

Commit f93d9ed

Browse files
committed
Display some unrelated formula for easier testing
1 parent 8aaf447 commit f93d9ed

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

webapp/templates/jury/clarification.html.twig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,16 @@
1818
</div>
1919
{% endif %}
2020

21+
22+
2123
{% for clar in list %}
24+
<div style="height: 100px;"></div>
25+
<div>Pure body:<br>{{ clar.body }}</div>
26+
<div>Markdown converted:<br>{{ clar.body | markdown_to_html }}</div>
27+
<div>DOMjudge Markdown converted:<br>{{ clar.body | domjudge_markdown_to_html }}</div>
28+
<div>Sanitized:<br>{{ clar.body | sanitize_html('app.clarification_sanitizer') }}</div>
29+
<div>All:<br>{{ clar.body | domjudge_markdown_to_html | sanitize_html('app.clarification_sanitizer') }}</div>
30+
<div>DOMjudge all:<br>{{ clar.body | domjudge_markdown_to_html | sanitize_html('app.clarification_sanitizer') }}</div>
2231
<div class="card mb-3 {% if clar.from_team is not defined %}border-primary{% endif %}">
2332
<div class="card-header">
2433
<div class="row">

webapp/templates/jury/menu.html.twig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
{% set current_route = app.request.attributes.get('_route') %}
99

10+
<span>Euler's identity: $( e^{i\pi} + 1 = 0 )$</span>
11+
<span>$$\vec{a} \times \vec{b} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ a_x & a_y & a_z \\ b_x & b_y & b_z \end{vmatrix}$$</span>
1012
<div class="collapse navbar-collapse" id="menuDefault" data-update-url="{{ path('jury_ajax_updates') }}">
1113
<ul class="navbar-nav me-auto">
1214

0 commit comments

Comments
 (0)