diff options
author | Wu Cheng-Han | 2017-01-21 13:08:29 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-01-21 13:08:29 +0800 |
commit | 09a7bcbdef237c1443bbbfc29010e7106cffd739 (patch) | |
tree | 12e28f44dc82ae8f4d48dc8072a480f7312e47a3 /public/views/shared/refresh-modal.ejs | |
parent | 6e8ff3de234471375836ba907e86bf39804c308e (diff) |
Refactor templates and rearrange its path
Diffstat (limited to 'public/views/shared/refresh-modal.ejs')
-rw-r--r-- | public/views/shared/refresh-modal.ejs | 31 |
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">×</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 |