Improve the task dialog

1) Put a "starting up..." message before there's any feedback from the server
2) show the title of the task in the dialog.
This commit is contained in:
Bharat Mediratta
2009-06-19 13:25:42 -07:00
parent 6029c2bf7a
commit b3226d7cbb
2 changed files with 8 additions and 1 deletions

View File

@@ -23,8 +23,11 @@
}
</script>
<div id="gProgress">
<h1> <?= $task->name ?> </h1>
<div class="gProgressBar"></div>
<div id="gStatus"></div>
<div id="gStatus">
<?= t("Starting up...") ?>
</div>
<div>
<button id="gPauseButton" class="ui-state-default ui-corner-all" onclick="dismiss()"><?= t("Pause") ?></button>
<button id="gDoneButton" class="ui-state-default ui-corner-all" style="display: none" onclick="dismiss()"><?= t("Done") ?></button>