aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/templates
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-05 22:33:49 +0900
committernsfisis <nsfisis@gmail.com>2024-03-05 22:33:49 +0900
commit6169405cdceca08dc0355bf066c7188498afefd5 (patch)
treefe35dd5f071d8b9862964405c4880cf5dafb19ba /services/app/templates
parent1c5e25e307cc31016616a4970de834efc735ee31 (diff)
downloadphperkaigi-2024-albatross-6169405cdceca08dc0355bf066c7188498afefd5.tar.gz
phperkaigi-2024-albatross-6169405cdceca08dc0355bf066c7188498afefd5.tar.zst
phperkaigi-2024-albatross-6169405cdceca08dc0355bf066c7188498afefd5.zip
show phper token if answer size is smaller than birdie border
Diffstat (limited to 'services/app/templates')
-rw-r--r--services/app/templates/answer_view.html.twig5
1 files changed, 5 insertions, 0 deletions
diff --git a/services/app/templates/answer_view.html.twig b/services/app/templates/answer_view.html.twig
index af46b9d..300f2f5 100644
--- a/services/app/templates/answer_view.html.twig
+++ b/services/app/templates/answer_view.html.twig
@@ -15,6 +15,11 @@
</p>
<pre><code class="hljs language-php">{{ answer.code }}</code></pre>
<h2>実行結果</h2>
+ <div class="js-phper-token">
+ {% if phper_token %}
+ バーディー! {{ phper_token }}
+ {% endif %}
+ </div>
<div>
ステータス: <span class="js-aggregated-execution-status" data-answer-id="{{ answer.answer_id }}">{{ answer.execution_status.label() }}</span>
{% if answer.execution_status.showLoadingIndicator() %}