mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +08:00
ui: record_detail: click to expand compiler message
This commit is contained in:
5 files changed
+44
-13
No files matched your search
@@ -57,7 +57,7 @@
|
||||
{% if not isIE(handler.request.headers['user-agent']) and not handler.session.legacy %}
|
||||
<script type="text/javascript" src="/constant/{{ UiContext.constantVersion }}.js"></script>
|
||||
<script type="text/javascript" src="{{ UiContext.cdn_prefix }}resource/{{ global.Hydro.version['ui-default'] }}/lang-{{ _('__id') }}.js"></script>
|
||||
<script type="text/javascript" src="{{ UiContext.cdn_prefix }}hydro-{{ global.Hydro.version['ui-default'] }}.js"></script>
|
||||
<script type="text/javascript" src="{{ UiContext.cdn_prefix }}hydro-{{ global.Hydro.version['ui-default'] }}.js{% if process.env.DEV %}?version=dev{% endif %}"></script>
|
||||
{% endif %}
|
||||
{% block body %}{% endblock %}
|
||||
{% block script %}{% endblock %}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{{ set(UiContext, 'socketUrl', "record-detail-conn?domainId=" + rdoc.domainId + "&rid=" + rdoc._id) }}
|
||||
{% endif %}
|
||||
<div class="row">
|
||||
<div class="medium-9 columns">
|
||||
<div class="medium-9 columns collapsed">
|
||||
{% if typeof(rdoc['status']) === 'number' %}
|
||||
{% include 'record_detail_status.html' %}
|
||||
{% endif %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="section visible" id="status">
|
||||
<div class="section visible" id="status" data-status="{{ rdoc.status }}">
|
||||
<div class="section__header">
|
||||
<h1 class="section__title">
|
||||
<span class="icon record-status--icon {{ model.builtin.STATUS_CODES[rdoc['status']] }}"></span>
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
{% if rdoc.compilerTexts.length %}
|
||||
<div class="section__body">
|
||||
<pre class="compiler-text">{{ rdoc.compilerTexts|join('\n')|ansi|safe }}</pre>
|
||||
<pre class="compiler-text">{{ rdoc.compilerTexts|join('\n')|ansi|safe }}<div class="compiler-text-mask"><p><span class="icon icon-expand_more">{{ _('Expand') }}</span></p></div></pre>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if rdoc.judgeTexts.length %}
|
||||
@@ -21,7 +21,7 @@
|
||||
<pre class="judge-text">{{ formatJudgeTexts(rdoc.judgeTexts)|ansi|safe }}</pre>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if rdoc.testCases.length %}
|
||||
{% if rdoc.testCases.length %}
|
||||
<div class="section__body no-padding">
|
||||
<table class="data-table record_detail__table">
|
||||
<colgroup>
|
||||
|
||||
Reference in new issue
Block a user