# HG changeset patch # User jittat # Date 2008-04-16 08:41:10 # Node ID 8489512b18dee48c52a6d065d3566df55d02cb3b # Parent 61ad7e926318e3d4725e4d91a46930787a5f0230 [web] styling git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@175 6386c4cd-e34a-4fa8-8920-d93eb39b512e diff --git a/app/views/tasks/list.html.haml b/app/views/tasks/list.html.haml --- a/app/views/tasks/list.html.haml +++ b/app/views/tasks/list.html.haml @@ -1,13 +1,12 @@ = user_title_bar(@user) -%h2 Task Listing - -%b Task: +.task-menu + %b Task Listing: -- @problems.each do |problem| - - if problem.body!=nil - %a{:href => "\##{problem.name}"} - = problem.full_name -   + - @problems.each do |problem| + - if problem.body!=nil + %a{:href => "\##{problem.name}"}= "[#{problem.full_name}]" + - else + = "[#{problem.full_name}]" = render :partial => 'problem', :collection => @problems