算法评测平台前端。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
908 B

8 years ago
<% this.title = problem.title + ' - Submit'; %>
<% include header %>
<div class="am-container am-g">
<div class="am-u-sm-8 am-u-sm-centered">
<h1>提交 <%= problem.title %> 的代码</h1>
<form class="am-form" action="<%= syzoj.utils.makeUrl(['submit', problem.id]) %>" method="post">
<div class="am-form-group">
<label for="doc-select-1">选择语言</label>
<select id="doc-select-1" name="language">
<% for (lang of syzoj.config.languages) { %>
<option value="<%= lang %>"><%= lang %></option>
<% } %>
</select>
<span class="am-form-caret"></span>
</div>
<div class="am-form-group">
<label>代码</label>
<textarea rows="15" name="code"></textarea>
</div>
<button type="submit" class="am-btn am-btn-primary">提交</button>
</form>
</div>
</div>
<% include footer %>