比赛题目页面增加判断和复制样例输入的提示

This commit is contained in:
virusdefender
2015-09-11 20:42:59 +08:00
parent f94fc62435
commit c1e0c7cd3a
2 changed files with 7 additions and 6 deletions

View File

@@ -37,6 +37,7 @@
{% for item in samples %}
<div class="problem-section">
<label class="problem-label">样例输入{{ forloop.counter }}</label>
<a href="javascript:void(0)" class="copy-sample" data-clipboard-text="{{ item.input }}">复制</a>
<pre>
{{ item.input }}</pre>