Skip to content

Commit

Permalink
adding styles to notice and alert
Browse files Browse the repository at this point in the history
  • Loading branch information
cajun-code committed Mar 5, 2012
1 parent dfd6909 commit 51e3672
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Binary file added app/assets/images/blackberry-qr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 15 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,21 @@
</div>
</div>
<div class="container_16 content">
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
<% if notice %>
<p class="ui-state-highlight ui-corner-all">
<span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<%= notice %>
</p>
<% end %>
<% if alert %>
<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
<p>
<span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
<strong>Alert:</strong>
<%= alert %>
</p>
</div>
<% end %>
<%= yield %>
</div>
Expand Down

0 comments on commit 51e3672

Please sign in to comment.