mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 13:34:23 -05:00
75a23fe2c9
The noopener construct protects from some nasty clickjacking attacks. We can apply them savely to all our links since we don't rely on the previously used page. Some more details: https://mathiasbynens.github.io/rel-noopener/ Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
31 lines
No EOL
1.6 KiB
Text
31 lines
No EOL
1.6 KiB
Text
<!-- refresh modal -->
|
|
<div class="modal fade" id="refreshModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-sm">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span>
|
|
</button>
|
|
<h4 class="modal-title" id="myModalLabel"><%= __('This page need refresh') %></h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="incompatible-version">
|
|
<h5><%= __('You have an incompatible client version.') %></h5>
|
|
<strong><%= __('Refresh to update.') %></strong>
|
|
</div>
|
|
<div class="new-version" style="display:none;">
|
|
<h5><%= __('New version available!') %></h5>
|
|
<a href="<%- url %>/s/release-notes" target="_blank" rel="noopener"><%= __('See releases notes here') %></a>
|
|
<br>
|
|
<strong><%= __('Refresh to enjoy new features.') %></strong>
|
|
</div>
|
|
<div class="user-state-changed" style="display:none;">
|
|
<h5><%= __('Your user state has changed.') %></h5>
|
|
<strong><%= __('Refresh to load new user state.') %></strong>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-primary" id="refreshModalRefresh"><%= __('Refresh') %></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |