Pretty it up a bit more

This commit is contained in:
Brion Vibber 2010-09-24 16:27:33 -07:00
parent 89dc215d9b
commit e4b084f093
2 changed files with 5 additions and 11 deletions

View File

@ -175,7 +175,8 @@ class YammerAdminPanelForm extends AdminForm
$steps = array_keys($labels);
$currentStep = array_search($runner->state(), $steps);
$this->out->elementStart('div', array('class' => 'yammer-import'));
$this->out->elementStart('fieldset', array('class' => 'yammer-import'));
$this->out->element('legend', array(), _m('Import status'));
foreach ($steps as $step => $state) {
if ($step < $currentStep) {
// This step is done
@ -197,7 +198,7 @@ class YammerAdminPanelForm extends AdminForm
_m("Waiting..."));
}
}
$this->out->elementEnd('div');
$this->out->elementEnd('fieldset');
}
private function progressBar($state, $class, $label, $status)

View File

@ -1,12 +1,4 @@
.yammer-import {
background-color: #eee;
border: solid 1px;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
-opera-border-radius: 8px;
padding: 16px;
}
@ -27,7 +19,8 @@
}
.progress {
background-color: #fff;
background-color: white;
border: solid 1px blue;
border-radius: 8px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;