From 3e793b8a633977885a9ad195851cf634b98f0f3c Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Thu, 24 Jan 2013 23:00:56 +0100 Subject: [PATCH] [/admin/plugins] remove progress history --- src/static/css/admin.css | 7 ------- src/static/js/admin/plugins.js | 9 +-------- src/templates/admin/plugins.html | 5 +---- 3 files changed, 2 insertions(+), 19 deletions(-) diff --git a/src/static/css/admin.css b/src/static/css/admin.css index 4669e4b98..0d9471268 100644 --- a/src/static/css/admin.css +++ b/src/static/css/admin.css @@ -118,13 +118,6 @@ td, th { position: absolute; bottom: 50px; } -#progress .historylink { - float: right; -} -#progress .history { - white-space: pre; - font-family: monospace; -} .settings { margin-top:10px; width:100%; diff --git a/src/static/js/admin/plugins.js b/src/static/js/admin/plugins.js index d0058522b..ed38fc4e7 100644 --- a/src/static/js/admin/plugins.js +++ b/src/static/js/admin/plugins.js @@ -68,10 +68,6 @@ $(document).ready(function () { } search(); }); - - $('#progress .showhistory').unbind('click').click(function() { - $("#progress .history").toggle() - }); } updateHandlers(); @@ -79,25 +75,22 @@ $(document).ready(function () { socket.on('progress', function (data) { if (data.progress > 0 && $('#progress').data('progress') > data.progress) return; - $("#progress .history").hide(); $("#progress").show(); $('#progress').data('progress', data.progress); var message = "Unknown status"; if (data.message) { - message = "" + data.message.toString() + ""; + message = data.message.toString(); } if (data.error) { data.progress = 1; } $("#progress .message").html(message); - $("#progress .history").append("
" + message + "
"); if (data.progress >= 1) { $("#progress").hide(); - $("#progress .history").html(''); if (data.error) { alert('An error occurred: '+data.error+' -- the server log might know more...'); diff --git a/src/templates/admin/plugins.html b/src/templates/admin/plugins.html index 12f801580..a85db557a 100644 --- a/src/templates/admin/plugins.html +++ b/src/templates/admin/plugins.html @@ -24,10 +24,7 @@
  • Settings
  • Troubleshooting information
  • -
    -

       (show progress)

    -
    -
    +