Changes bg images, adds favicon and alerts styles
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 95 KiB |
BIN
app/assets/images/favicon.ico
Normal file
BIN
app/assets/images/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/assets/images/header_bg.jpg
Normal file
BIN
app/assets/images/header_bg.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 269 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 201 KiB |
@@ -9,17 +9,18 @@
|
||||
<%= javascript_include_tag "vendor/modernizr" %>
|
||||
<%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
|
||||
<%= csrf_meta_tags %>
|
||||
<%= favicon_link_tag "favicon.ico" %>
|
||||
</head>
|
||||
<body>
|
||||
<body class="<%= "bg-white" if current_page?(root_path) %>">
|
||||
|
||||
<%= render 'layouts/header' %>
|
||||
|
||||
<% if notice %>
|
||||
<p class="alert-box success"><%= notice %></p>
|
||||
<p class="alert-box success alert-layout"><%= notice %></p>
|
||||
<% end %>
|
||||
|
||||
<% if alert %>
|
||||
<p class="alert-box"><%= alert %></p>
|
||||
<p class="alert-box alert alert-layout"><%= alert %></p>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
<body class="auth-page">
|
||||
|
||||
<% if notice %>
|
||||
<p class="alert-box success"><%= notice %></p>
|
||||
<p class="alert-box success alert-layout"><%= notice %></p>
|
||||
<% end %>
|
||||
|
||||
<% if alert %>
|
||||
<p class="alert-box"><%= alert %></p>
|
||||
<p class="alert-box alert alert-layout"><%= alert %></p>
|
||||
<% end %>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
<% if resource.errors.any? %>
|
||||
<div id="error_explanation" class="alert-box alert radius">
|
||||
<p>
|
||||
<strong>
|
||||
<%= pluralize resource.errors.count, t("form.error"), t("form.errors") %>
|
||||
<%= t("form.not_saved", resource: t("form.#{resource.class.to_s.downcase}")) %>
|
||||
</strong>
|
||||
</p>
|
||||
<strong>
|
||||
<%= pluralize resource.errors.count, t("form.error"), t("form.errors") %>
|
||||
<%= t("form.not_saved", resource: t("form.#{resource.class.to_s.downcase}")) %>
|
||||
</strong>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user