diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
new file mode 100644
--- /dev/null
+++ b/app/views/layouts/application.html.haml
@@ -0,0 +1,15 @@
+
+%html
+%head
+ %title= GraderConfiguration['contest.name']
+ = stylesheet_link_tag "application", params[:controller], :media => "all"
+ = javascript_include_tag "application", params[:controller]
+ = csrf_meta_tags
+ = content_for :header
+ = yield :head
+
+%body
+ = render 'layouts/header'
+
+ = content_tag(:p,flash[:notice],class: 'alert alert-success') if flash[:notice]!=nil
+ = yield