mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
32 lines
983 B
Scheme
32 lines
983 B
Scheme
<div id="SiteWideMessage">
|
|
<div class="offline-message">
|
|
<div class="alert alert-fixed-top alert-danger alert-offline">
|
|
<div class="$DefaultContainer">
|
|
<b class="btn btn-danger btn-close" data-dismiss="alert" aria-label="Close">
|
|
<i class="fas fa-times"></i>
|
|
</b>
|
|
The Internet connection is missing right now, but you're able to browse previously opened pages offline.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<% 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 %>
|
|
|
|
<% if $URLSegment = 'home' && $Action = 'index' %>
|
|
<% with $SiteConfig %>
|
|
<% include Site\Objects\NotificationsList %>
|
|
<% end_with %>
|
|
<% end_if %>
|
|
</div>
|