diff options
author | Egil Moeller <egil.moller@freecode.no> | 2012-04-23 14:47:07 +0200 |
---|---|---|
committer | Egil Moeller <egil.moller@freecode.no> | 2012-04-23 14:47:07 +0200 |
commit | ed7e254417dd3c4cab7e23b2ee85796b79cecbc7 (patch) | |
tree | 78fba87d0314c3362e75b5a43403131b744f150d /src/templates/timeslider.html | |
parent | e5a22423bb9d15a7a46764cdced466490b006f31 (diff) | |
download | etherpad-lite-ed7e254417dd3c4cab7e23b2ee85796b79cecbc7.zip |
Disconnect handling and cleanup of unused code
Diffstat (limited to 'src/templates/timeslider.html')
-rw-r--r-- | src/templates/timeslider.html | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index ca4bc6e9..9cea2c50 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -103,7 +103,48 @@ </div> </div> - <div id="mainmodals"></div> + <div id="mainmodals"> + <% e.begin_block("modals"); %> + <div id="connectionbox" class="modaldialog"> + <div id="connectionboxinner" class="modaldialog-inner"> + <div class="connecting">Connecting...</div> + <div class="reconnecting">Reestablishing connection...</div> + <div class="disconnected"> + <h2 class="h2_disconnect">Disconnected.</h2> + <h2 class="h2_userdup">Opened in another window.</h2> + <h2 class="h2_unauth">No Authorization.</h2> + <div id="disconnected_looping"> + <p><b>We're having trouble talking to the EtherPad lite synchronization server.</b> You may be connecting through an incompatible firewall or proxy server.</p> + </div> + <div id="disconnected_initsocketfail"> + <p><b>We were unable to connect to the EtherPad lite synchronization server.</b> This may be due to an incompatibility with your web browser or internet connection.</p> + </div> + <div id="disconnected_userdup"> + <p><b>You seem to have opened this pad in another browser window.</b> If you'd like to use this window instead, you can reconnect.</p> + </div> + <div id="disconnected_unknown"> + <p><b>Lost connection with the EtherPad lite synchronization server.</b> This may be due to a loss of network connectivity.</p> + </div> + <div id="disconnected_slowcommit"> + <p><b>Server not responding.</b> This may be due to network connectivity issues or high load on the server.</p> + </div> + <div id="disconnected_unauth"> + <p>Your browser's credentials or permissions have changed while viewing this pad. Try reconnecting.</p> + </div> + <div id="disconnected_deleted"> + <p>This pad was deleted.</p> + </div> + <div id="reconnect_advise"> + <p>If this continues to happen, please let us know</p> + </div> + <div id="reconnect_form"> + <button id="forcereconnect">Reconnect Now</button> + </div> + </div> + </div> + </div> + <% e.end_block(); %> + </div> <!-- export code --> <div id="importexport"> |