Description:
[web] more styling for tasks with markdown git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@178 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r91:9cf0d8135901 - - 3 files changed: 13 inserted, 8 deleted

@@ -0,0 +1,12
1 + <a name="<%= problem.name %>"></a>
2 + <% back_color = ((problem_counter % 2) == 0) ? "#fefedd" : "#feeefe" %>
3 + <div style="border: 1px solid grey; background: <%= back_color %>; padding-left: 20px; padding-bottom: 5px">
4 + <div style="border-bottom: 1px solid black; padding-top: 10px; padding-bottom: 5px; font-size: 18px; font-weight: bold">
5 + <%= "#{problem.full_name} (#{problem.name})" %>
6 + </div>
7 + <% if problem.body!=nil %>
8 + <%= markdown(problem.body) %>
9 + <% else %>
10 + (not available)
11 + <% end %>
12 + </div>
@@ -14,7 +14,7
14 <%= date_select 'problem', 'date_added' %></p>
14 <%= date_select 'problem', 'date_added' %></p>
15
15
16 <p><label for="problem_body">Body</label><br/>
16 <p><label for="problem_body">Body</label><br/>
17 - <%= text_area 'problem', 'body', :rows => 10 %></p>
17 + <%= text_area 'problem', 'body', :rows => 10, :cols => 80 %></p>
18
18
19 <p><label for="problem_url">URL</label><br/>
19 <p><label for="problem_url">URL</label><br/>
20 <%= text_field 'problem', 'url' %></p>
20 <%= text_field 'problem', 'url' %></p>
deleted file
You need to be logged in to leave comments. Login now