make stuff work
parent
3ca450fefc
commit
1d055f2cd4
|
@ -125,4 +125,6 @@ td, th {
|
|||
width:100%;
|
||||
min-height:600px;
|
||||
}
|
||||
|
||||
#response{
|
||||
display:inline;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,14 @@ $(document).ready(function () {
|
|||
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
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
<textarea class="settings"></textarea>
|
||||
<input type="button" class="settingsButton" id="saveSettings" value="Save Settings">
|
||||
<input type="button" class="settingsButton" id="restartEtherpad" value="Restart Etherpad">
|
||||
<div id="response"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue