mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
make stuff work
This commit is contained in:
parent
3ca450fefc
commit
1d055f2cd4
3 changed files with 11 additions and 1 deletions
|
@ -125,4 +125,6 @@ td, th {
|
||||||
width:100%;
|
width:100%;
|
||||||
min-height:600px;
|
min-height:600px;
|
||||||
}
|
}
|
||||||
|
#response{
|
||||||
|
display:inline;
|
||||||
|
}
|
||||||
|
|
|
@ -41,7 +41,14 @@ $(document).ready(function () {
|
||||||
socket.emit("restartEtherpad");
|
socket.emit("restartEtherpad");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
socket.on('saveprogress', function(progress){
|
||||||
|
$('#response').show();
|
||||||
|
$('#response').text(progress);
|
||||||
|
$('#response').fadeOut('slow');
|
||||||
|
});
|
||||||
|
|
||||||
socket.emit("load"); // Load the JSON from the server
|
socket.emit("load"); // Load the JSON from the server
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
<textarea class="settings"></textarea>
|
<textarea class="settings"></textarea>
|
||||||
<input type="button" class="settingsButton" id="saveSettings" value="Save Settings">
|
<input type="button" class="settingsButton" id="saveSettings" value="Save Settings">
|
||||||
<input type="button" class="settingsButton" id="restartEtherpad" value="Restart Etherpad">
|
<input type="button" class="settingsButton" id="restartEtherpad" value="Restart Etherpad">
|
||||||
|
<div id="response"></div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue