silverstripe-webpack/app/templates/Includes/SiteWideMessage.ss

32 lines
1.0 KiB
Scheme
Raw Normal View History

2020-08-02 17:40:05 +02:00
<div id="SiteWideOffline" class="offline-message">
<div class="alert alert-fixed-top alert-danger alert-offline">
<div class="$DefaultContainer">
<div class="typography">
The Internet connection is missing right now, but you're able to browse previously opened pages offline.
</div>
<b class="btn btn-danger btn-close" data-dismiss="alert" aria-label="Close">
<i class="fas fa-times"></i>
</b>
2020-05-24 09:04:07 +02:00
</div>
</div>
2020-08-02 17:40:05 +02:00
</div>
2020-04-02 02:20:17 +02:00
2020-08-02 17:40:05 +02:00
<div id="SiteWideMessage">
2020-05-24 09:04:07 +02:00
<% if $SiteWideMessage %>
<div class="single-message">
<div class="alert alert-fixed-top alert-{$Type}">
<div class="$DefaultContainer">
<b class="btn btn-danger btn-close" data-dismiss="alert" aria-label="Close">
<i class="fas fa-times"></i>
</b>
{$Message}
</div>
</div>
</div>
<% end_if %>
2020-08-02 17:40:05 +02:00
<% with $SiteConfig %>
<% include Site\Objects\NotificationsList NotificationsToday=$NotificationsToday.filter('Area', 'Site') %>
<% end_with %>
2020-05-24 09:04:07 +02:00
</div>