ui: add show source button

This commit is contained in:
undefined committed 2025-01-07 19:51:17 +08:00
1 parent 214fa2aa9d
commit 38179e8987
2 files changed
+3

No files matched your search

+1
View File
@@ -861,6 +861,7 @@ Sorry, there are no users in this domain.: 对不起,此域中没有用户。
Sorry: 对不起
Sort by: 排序
Source type: 来源类型
Source: 来源
Standard mode: 标准模式
Standard Program: 标准程序
Star Topic: 收藏讨论
@@ -11,6 +11,8 @@
<a href="{{ url('problem_config', pid=pdoc.docId) }}" class="primary rounded button">{{ _('Config') }}</a>
<button class="primary rounded button" name="create_testdata">{{ _('Create') }}</button>
<button class="primary rounded button" name="upload_testdata">{{ _('Upload') }}</button>
{% else %}
<a href="{{ url('problem_detail', domainId=pdoc.reference.domainId, pid=pdoc.reference.pid) }}" class="primary rounded button">{{ _('Source') }}</a>
{% endif %}
</div>
</div>