From 4901adeac79b2b1ae2461e56b823592d87658d2b Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sat, 14 Jul 2012 15:54:44 +0200 Subject: [PATCH] Fix timeslider. --- src/static/css/timeslider.css | 7 ++ src/static/js/broadcast_slider.js | 4 +- src/templates/timeslider.html | 103 ++++++++++++++++-------------- 3 files changed, 63 insertions(+), 51 deletions(-) diff --git a/src/static/css/timeslider.css b/src/static/css/timeslider.css index 4c8913d38..5f24a4cf3 100644 --- a/src/static/css/timeslider.css +++ b/src/static/css/timeslider.css @@ -150,6 +150,13 @@ margin-top: 0; padding-right: 6px; } +#settings, +#importexport, +#embed, +#connectivity, +#users { + top: 62px; +} #importexport .popup { width: 185px } diff --git a/src/static/js/broadcast_slider.js b/src/static/js/broadcast_slider.js index 33953e333..fed9f2e79 100644 --- a/src/static/js/broadcast_slider.js +++ b/src/static/js/broadcast_slider.js @@ -155,9 +155,7 @@ function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded) function showReconnectUI() { - var cls = 'modaldialog cboxdisconnected cboxdisconnected_unknown'; - $("#connectionbox").get(0).className = cls; - padmodals.showModal("#connectionbox", 500); + padmodals.showModal("disconnected"); } var fixPadHeight = _.throttle(function(){ diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index 88bfa4e70..b9e9186c7 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -33,6 +33,12 @@
+ +
+
+ +
+
@@ -70,54 +76,55 @@
-
-
- -
-
- -
- <% e.begin_block("modals"); %> -
-
-
Connecting...
-
Reestablishing connection...
-
-

Disconnected.

-

Opened in another window.

-

No Authorization.

-
-

We're having trouble talking to the EtherPad lite synchronization server. You may be connecting through an incompatible firewall or proxy server.

-
-
-

We were unable to connect to the EtherPad lite synchronization server. This may be due to an incompatibility with your web browser or internet connection.

-
-
-

You seem to have opened this pad in another browser window. If you'd like to use this window instead, you can reconnect.

-
-
-

Lost connection with the EtherPad lite synchronization server. This may be due to a loss of network connectivity.

-
-
-

Server not responding. This may be due to network connectivity issues or high load on the server.

-
-
-

Your browser's credentials or permissions have changed while viewing this pad. Try reconnecting.

-
-
-

This pad was deleted.

-
-
-

If this continues to happen, please let us know

-
-
- -
-
-
-
- <% e.end_block(); %> -
+