mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added dismissable alerts
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</script>
|
||||
<% end %>
|
||||
<div class="afs_ads"> </div>
|
||||
<div class="well" id="blocked_message" style="display: none;">
|
||||
<div class="alert alert-danger alert-dismissible" id="blocked_message" style="display: none;"><a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
|
||||
<p>We've detected that you have an ad blocker enabled! Please consider disabling it for <strong>wrestlingdev.com</strong>. This site is free for users and supported by ads. Ad blockers also block performance monitoring that help us with user experience.</p>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
@@ -37,7 +37,9 @@
|
||||
</div>
|
||||
<div class="row no-margin">
|
||||
<div class="col-md-12" style="padding-left: 2%;">
|
||||
<p id="notice"><%= notice %></p>
|
||||
<% if notice %>
|
||||
<p id="notice" class="alert alert-success alert-dismissible"><a href="#" class="close" data-dismiss="alert" aria-label="close">×</a><%= notice %></p>
|
||||
<% end %>
|
||||
<div id="view"><%= yield %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<% if can? :manage, @tournament %>
|
||||
| <%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %>
|
||||
<%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %>
|
||||
<% end %>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user