diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-05 22:33:49 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-05 22:33:49 +0900 |
| commit | 6169405cdceca08dc0355bf066c7188498afefd5 (patch) | |
| tree | fe35dd5f071d8b9862964405c4880cf5dafb19ba /services/app/templates | |
| parent | 1c5e25e307cc31016616a4970de834efc735ee31 (diff) | |
| download | phperkaigi-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.twig | 5 |
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() %} |
