Skip to content

Commit 2249a27

Browse files
committed
Fix submission list UI
1 parent 07444c7 commit 2249a27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/submissions/index.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<input id="filter_username" name="filter_username" class="form-control input-sm flat" type="text" placeholder="Enter Username">
4444
</div>
4545
<div class="form-group">
46-
<input id="filter_problem" name="filter_problem" class="form-control input-sm flat" type="number" min="<%= Problem.order(id: :asc).first&.id %>" max="<%= Problem.order(id: :desc).first&.id %>" placeholder="Enter Problem ID">
46+
<input id="filter_problem" name="filter_problem" class="form-control input-sm flat" style="width:150px;" type="number" min="<%= Problem.order(id: :asc).first&.id %>" max="<%= Problem.order(id: :desc).first&.id %>" placeholder="Enter Problem ID">
4747
</div>
4848
<div class="form-group">
4949
<select id="filter_status" name="filter_status[]" class="selectpicker" multiple title="Select Result">
@@ -58,7 +58,7 @@
5858
</select>
5959
</div>
6060
<div class="form-group">
61-
<select id="filter_compiler" name="filter_compiler[]" class="selectpicker" multiple="multiple" title="Select Compiler">
61+
<select id="filter_compiler" name="filter_compiler[]" class="selectpicker" multiple title="Select Compiler">
6262
<% Compiler.order(order: :asc).all.each do |x| %>
6363
<option value="<%= x.id %>"><%= x.name %></option>
6464
<% end %>

0 commit comments

Comments
 (0)