Commit cc36edc9 authored by Franco Fichtner's avatar Franco Fichtner

firmware: improve UX, we're getting there

parent b16dec50
...@@ -76,6 +76,9 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -76,6 +76,9 @@ POSSIBILITY OF SUCH DAMAGE.
// update list so plugins sync as well (no logs) // update list so plugins sync as well (no logs)
packagesInfo(false); packagesInfo(false);
} else { } else {
$('#update_status').hide();
$('#updatelist').show();
$('#updatetab > a').tab('show');
// update list so plugins sync as well (all) // update list so plugins sync as well (all)
packagesInfo(true); packagesInfo(true);
} }
...@@ -127,6 +130,8 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -127,6 +130,8 @@ POSSIBILITY OF SUCH DAMAGE.
*/ */
function action(pkg_act, pkg_name) function action(pkg_act, pkg_name)
{ {
$('#updatelist').hide();
$('#update_status').show();
$('#updatetab > a').tab('show'); $('#updatetab > a').tab('show');
$('#updatestatus').html("{{ lang._('Executing...') }}"); $('#updatestatus').html("{{ lang._('Executing...') }}");
...@@ -502,7 +507,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -502,7 +507,7 @@ POSSIBILITY OF SUCH DAMAGE.
</ul> </ul>
<div class="tab-content content-box tab-content"> <div class="tab-content content-box tab-content">
<div id="updates" class="tab-pane fade in active"> <div id="updates" class="tab-pane fade in active">
<textarea name="output" id="update_status" class="form-control" rows="20" wrap="hard" readonly style="max-width:100%; font-family: monospace; display: none;"></textarea> <textarea name="output" id="update_status" class="form-control" rows="25" wrap="hard" readonly style="max-width:100%; font-family: monospace; display: none;"></textarea>
<table class="table table-striped table-condensed table-responsive" id="updatelist"></table> <table class="table table-striped table-condensed table-responsive" id="updatelist"></table>
</div> </div>
<div id="packages" class="tab-pane fade in"> <div id="packages" class="tab-pane fade in">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment