diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-10 10:37:10 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-10 10:38:38 +0900 |
| commit | 6ed373e14764e6bebac876c4f6b32fdd85fa03d2 (patch) | |
| tree | 2cba8b79312a5864b2b1988e3f74a0db4a753184 /services/app/templates | |
| parent | 4f51f3dc1dfb25f1e34670f9eb6341fbea126a81 (diff) | |
| download | phperkaigi-2024-albatross-6ed373e14764e6bebac876c4f6b32fdd85fa03d2.tar.gz phperkaigi-2024-albatross-6ed373e14764e6bebac876c4f6b32fdd85fa03d2.tar.zst phperkaigi-2024-albatross-6ed373e14764e6bebac876c4f6b32fdd85fa03d2.zip | |
Revert "do not show stdout/stderr to users"
This reverts commit 9b32f59a34e19a3709af4d4a8cf50b047f1021e2.
Diffstat (limited to 'services/app/templates')
| -rw-r--r-- | services/app/templates/answer_view.html.twig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/app/templates/answer_view.html.twig b/services/app/templates/answer_view.html.twig index 8c7e090..1ec88ab 100644 --- a/services/app/templates/answer_view.html.twig +++ b/services/app/templates/answer_view.html.twig @@ -46,6 +46,10 @@ <div class="js-testcase-execution-status-loading-indicator spinner-border text-primary spinner-border-sm" role="status" data-testcase-execution-id="{{ ex.testcase_execution_id }}"><span class="visually-hidden">Loading...</span></div> {% endif %} </div> + <h4>標準出力</h4> + <pre><code class="js-testcase-execution-stdout hljs language-plaintext" data-testcase-execution-id="{{ ex.testcase_execution_id }}">{{ ex.stdout }}</code></pre> + <h4>標準エラー出力</h4> + <pre><code class="js-testcase-execution-stderr hljs language-plaintext" data-testcase-execution-id="{{ ex.testcase_execution_id }}">{{ ex.stderr }}</code></pre> {% endfor %} </div> <script type="module" src="{{ base_path() }}/assets/loading.js"></script> |
