Mercurial > zeropaste
changeset 268:7f1eac4a7fa9
This one looks better.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 16 Oct 2013 03:04:37 +0900 |
parents | 0bf1d6f75baa |
children | f7c2bf78c501 |
files | app/assets/stylesheets/alert.css app/views/pastes/new.html.erb |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/app/assets/stylesheets/alert.css Wed Oct 16 02:58:18 2013 +0900 +++ b/app/assets/stylesheets/alert.css Wed Oct 16 03:04:37 2013 +0900 @@ -1,4 +1,3 @@ .alert { - border-radius: 0 0 4px 4px; - border-top: 0; + margin-top: 20px; }
--- a/app/views/pastes/new.html.erb Wed Oct 16 02:58:18 2013 +0900 +++ b/app/views/pastes/new.html.erb Wed Oct 16 03:04:37 2013 +0900 @@ -2,12 +2,14 @@ <% if notice %> <div class="alert alert-info"> + <strong>Info:</strong> <%= notice %> </div> <% end %> <% if alert %> <div class="alert alert-danger"> + <strong>Error:</strong> <%= alert %> </div> <% end %>