mirror of
https://github.com/neocities/neocities.git
synced 2025-06-19 10:50:34 +02:00
flash messages for dashboard, remove welcome after 5 changes
This commit is contained in:
parent
0a636b2397
commit
4773973bfe
1 changed files with 14 additions and 1 deletions
|
@ -54,11 +54,13 @@
|
||||||
|
|
||||||
<div class="content wide">
|
<div class="content wide">
|
||||||
|
|
||||||
|
<% unless current_site.changed_count > 5 %>
|
||||||
<div class="welcome">
|
<div class="welcome">
|
||||||
<div class="close-button"></div>
|
<!-- <div class="close-button"></div> -->
|
||||||
<h4>Hello! Welcome to your new site.</h4>
|
<h4>Hello! Welcome to your new site.</h4>
|
||||||
To get started, click on the <strong>index.html</strong> file below to edit it. It's your home page! You can add more files (such as images) from your computer by dragging them into the box below. Need help building web sites? Check out these <a href="/tutorials">tutorials</a>!
|
To get started, click on the <strong>index.html</strong> file below to edit it. It's your home page! You can add more files (such as images) from your computer by dragging them into the box below. Need help building web sites? Check out these <a href="/tutorials">tutorials</a>!
|
||||||
</div>
|
</div>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<% if @error %>
|
<% if @error %>
|
||||||
<div class="alert alert-block alert-error">
|
<div class="alert alert-block alert-error">
|
||||||
|
@ -66,6 +68,17 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<% if flash.keys.length > 0 %>
|
||||||
|
<div class="alert alert-block">
|
||||||
|
<p>
|
||||||
|
<% flash.keys.each do |key| %>
|
||||||
|
<%= flash[key] %>
|
||||||
|
<% end %>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
<div class="files">
|
<div class="files">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="breadcrumbs">My Files</div> <!-- Should be Home when Folders are implemented -->
|
<div class="breadcrumbs">My Files</div> <!-- Should be Home when Folders are implemented -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue