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 "vendor/modernizr" %>
|
||||||
<%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
|
<%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
|
<%= favicon_link_tag "favicon.ico" %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="<%= "bg-white" if current_page?(root_path) %>">
|
||||||
|
|
||||||
<%= render 'layouts/header' %>
|
<%= render 'layouts/header' %>
|
||||||
|
|
||||||
<% if notice %>
|
<% if notice %>
|
||||||
<p class="alert-box success"><%= notice %></p>
|
<p class="alert-box success alert-layout"><%= notice %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if alert %>
|
<% if alert %>
|
||||||
<p class="alert-box"><%= alert %></p>
|
<p class="alert-box alert alert-layout"><%= alert %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
|
|||||||
@@ -14,11 +14,11 @@
|
|||||||
<body class="auth-page">
|
<body class="auth-page">
|
||||||
|
|
||||||
<% if notice %>
|
<% if notice %>
|
||||||
<p class="alert-box success"><%= notice %></p>
|
<p class="alert-box success alert-layout"><%= notice %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if alert %>
|
<% if alert %>
|
||||||
<p class="alert-box"><%= alert %></p>
|
<p class="alert-box alert alert-layout"><%= alert %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<% if resource.errors.any? %>
|
<% if resource.errors.any? %>
|
||||||
<div id="error_explanation" class="alert-box alert radius">
|
<div id="error_explanation" class="alert-box alert radius">
|
||||||
<p>
|
<strong>
|
||||||
<strong>
|
<%= pluralize resource.errors.count, t("form.error"), t("form.errors") %>
|
||||||
<%= pluralize resource.errors.count, t("form.error"), t("form.errors") %>
|
<%= t("form.not_saved", resource: t("form.#{resource.class.to_s.downcase}")) %>
|
||||||
<%= t("form.not_saved", resource: t("form.#{resource.class.to_s.downcase}")) %>
|
</strong>
|
||||||
</strong>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
Reference in New Issue
Block a user