summaryrefslogtreecommitdiff
path: root/public/views/shared/refresh-modal.ejs
diff options
context:
space:
mode:
authorRaccoon2017-03-03 09:22:35 +0800
committerGitHub2017-03-03 09:22:35 +0800
commit48592d692c2b8a71e3ca9e7f0bc34f230eea1542 (patch)
tree053538d49b92121e29e0e576d2e5e0b249d28537 /public/views/shared/refresh-modal.ejs
parenta8b99638b2bc4db0dffd643b96287faf4f97e030 (diff)
parent0bea4da6238b1f46562b146b32d88fc8d8b9060a (diff)
Merge branch 'master' into feature/addSecrets
Diffstat (limited to 'public/views/shared/refresh-modal.ejs')
-rw-r--r--public/views/shared/refresh-modal.ejs31
1 files changed, 31 insertions, 0 deletions
diff --git a/public/views/shared/refresh-modal.ejs b/public/views/shared/refresh-modal.ejs
new file mode 100644
index 00000000..5be41b2a
--- /dev/null
+++ b/public/views/shared/refresh-modal.ejs
@@ -0,0 +1,31 @@
+<!-- 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">&times;</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"><%= __('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> \ No newline at end of file