Description:
change application layout into haml
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r552:af432c550f8e - - 1 file changed: 18 inserted, 0 deleted
@@ -0,0 +1,18 | |||||
|
|
1 | + <!DOCTYPE html> | ||
|
|
2 | + %html | ||
|
|
3 | + %head | ||
|
|
4 | + %title= GraderConfiguration['contest.name'] | ||
|
|
5 | + = stylesheet_link_tag "application", :media => "all" | ||
|
|
6 | + = javascript_include_tag "application" | ||
|
|
7 | + = csrf_meta_tags | ||
|
|
8 | + = content_for :header | ||
|
|
9 | + = yield :head | ||
|
|
10 | + | ||
|
|
11 | + %body | ||
|
|
12 | + | ||
|
|
13 | + %div.userbar | ||
|
|
14 | + = user_header | ||
|
|
15 | + | ||
|
|
16 | + = content_tag(:p,flash[:notice],:style => "color:green") if flash[:notice]!=nil | ||
|
|
17 | + = yield | ||
|
|
18 | + |
You need to be logged in to leave comments.
Login now