cleanups and return of alert dialog

This commit is contained in:
Kyle Drake 2013-07-18 16:54:44 +02:00
parent 3048dc5f19
commit 5d934c5ff1
3 changed files with 18 additions and 10 deletions

View file

@ -93,9 +93,15 @@
</ul> </ul>
</nav> </nav>
<div class="alert txt-Center"> <% if flash.keys.length > 0 %>
<p style="padding:5px">Alert message goes here</p> <div class="alert txt-Center">
</div> <p style="padding:5px">
<% flash.keys.each do |key| %>
<%= flash[key] %>
<% end %>
</p>
</div>
<% end %>
@ -136,17 +142,19 @@
<div class="col col-50 signup-Area"> <div class="col col-50 signup-Area">
<% if !signed_in? %> <% if signed_in? %>
<div class="signup-Form"> <div class="signup-Form">
<div class="content"> <div class="content">
<h2 class="gamma">Build your Website!</h2> <h2 class="gamma">Build your Website!</h2>
</div> </div>
<p> <p class="txt-Center">
Go to your dashboard to start editing your website! Go to your dashboard to<br> start editing your website!
</p> </p>
<br /> <br />
<a href="/dashboard" class="btn-Action float-Right">Get Started</a> <div class="txt-Center">
<a href="/dashboard" class="btn-Action">Get Started</a>
</div>
</div> </div>
<% else %> <% else %>

View file

@ -5,7 +5,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Neocities.org: About Neocities.org</title> <title>Neocities - <%= request.path.gsub('/', '').capitalize %></title>
<meta itemprop="name" content="NeoCities.org" /> <meta itemprop="name" content="NeoCities.org" />
<meta itemprop="description" content="ECreate your own free home page, and do whatever you want with it." /> <meta itemprop="description" content="ECreate your own free home page, and do whatever you want with it." />
<meta name="description" content="NeoCities is the new Geocities. Create your own free home page, and do whatever you want with it." /> <meta name="description" content="NeoCities is the new Geocities. Create your own free home page, and do whatever you want with it." />

View file

@ -1,7 +1,7 @@
doctype html doctype html
html html
head head
title NeoCities #{@title.nil? ? '' : " - #{@title}"} title Neocities #{@title.nil? ? '' : " - #{@title}"}
link href="/favicon.ico" rel="icon" type="image/x-icon" link href="/favicon.ico" rel="icon" type="image/x-icon"
link href="/css/bootstrap.min.css" rel="stylesheet" link href="/css/bootstrap.min.css" rel="stylesheet"
link href="/css/bootstrap-responsive.min.css" rel="stylesheet" link href="/css/bootstrap-responsive.min.css" rel="stylesheet"
@ -52,4 +52,4 @@ html
ga('create', 'UA-41925541-1', 'neocities.org'); ga('create', 'UA-41925541-1', 'neocities.org');
ga('send', 'pageview'); ga('send', 'pageview');
== erb :'_int-footer', layout: false == erb :'_int-footer', layout: false