mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
cleanups and return of alert dialog
This commit is contained in:
parent
3048dc5f19
commit
5d934c5ff1
3 changed files with 18 additions and 10 deletions
|
@ -93,9 +93,15 @@
|
|||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="alert txt-Center">
|
||||
<p style="padding:5px">Alert message goes here</p>
|
||||
</div>
|
||||
<% if flash.keys.length > 0 %>
|
||||
<div class="alert txt-Center">
|
||||
<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">
|
||||
|
||||
<% if !signed_in? %>
|
||||
<% if signed_in? %>
|
||||
|
||||
<div class="signup-Form">
|
||||
<div class="content">
|
||||
<h2 class="gamma">Build your Website!</h2>
|
||||
</div>
|
||||
<p>
|
||||
Go to your dashboard to start editing your website!
|
||||
<p class="txt-Center">
|
||||
Go to your dashboard to<br> start editing your website!
|
||||
</p>
|
||||
<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>
|
||||
|
||||
<% else %>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<head>
|
||||
<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="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." />
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
doctype html
|
||||
html
|
||||
head
|
||||
title NeoCities #{@title.nil? ? '' : " - #{@title}"}
|
||||
title Neocities #{@title.nil? ? '' : " - #{@title}"}
|
||||
link href="/favicon.ico" rel="icon" type="image/x-icon"
|
||||
link href="/css/bootstrap.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('send', 'pageview');
|
||||
|
||||
== erb :'_int-footer', layout: false
|
||||
== erb :'_int-footer', layout: false
|
||||
|
|
Loading…
Add table
Reference in a new issue