Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
imports test pairs
Commit Description:
imports test pairs
- content_for :head do
= stylesheet_link_tag 'problems'
= javascript_include_tag :defaults
%h1 Import problems
%p = link_to '[Back to problem list]' , :action => 'list'
- if @problem and @problem . errors
= error_messages_for 'problem'
- form_tag ({ :action => 'do_import' }, :multipart => true ) do
.submitbox
%table
%tr
%td Name:
%td = text_field_tag 'name'
%tr
%td Full name:
%td
= text_field_tag 'full_name'
%span { :class => 'help' } Leave blank to use the same value as the name above.
%tr
%td Testdata file:
%td
= file_field_tag 'file'
%tr
%td
%td
= check_box_tag 'import_to_db'
Import test data to database (for a test-pair task)
%tr
%td Time limit:
%td
= text_field_tag 'time_limit'
%span { :class => 'help' } In seconds. Leave blank to use 1 sec.
%tr
%td Memory limit:
%td
= text_field_tag 'memory_limit'
%span { :class => 'help' } In MB. Leave blank to use 32MB.
%tr
%td
%td = submit_tag 'Import problem'
- if @log
%h3 Import log
%pre .import-log
= @log
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings