算法评测平台前端。
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.

27 lines
927 B

<% this.title = problem.title + ' - 提交'; %>
8 years ago
<% include header %>
<h1>提交 <%= problem.title %></h1>
<div class="padding">
<form class="ui form" action="<%= syzoj.utils.makeUrl(['submit', problem.id]) %>" method="post">
<div class="field">
<label for="doc-select-1">选择语言</label>
<select class="ui fluid dropdown" id="doc-select-1" name="language">
<% for (lang of syzoj.config.languages) { %>
<option value="<%= lang %>"><%= lang %></option>
<% } %>
</select>
8 years ago
</div>
<div class="field">
<label>代码</label>
<textarea rows="15" name="code" style="font-family: 'Roboto Mono', 'Bitstream Vera Sans Mono', 'Menlo', 'Consolas', 'Lucida Console', monospace; "></textarea>
</div>
<button type="submit" class="ui button">提交</button>
</form>
8 years ago
</div>
<script>
$(function () {
$('.ui.dropdown').dropdown();
});
</script>
8 years ago
<% include footer %>