make stuff work

pull/1120/head
johnyma22 2012-11-02 15:15:13 +00:00
parent 3ca450fefc
commit 1d055f2cd4
3 changed files with 11 additions and 1 deletions

View File

@ -125,4 +125,6 @@ td, th {
width:100%;
min-height:600px;
}
#response{
display:inline;
}

View File

@ -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
});

View File

@ -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>