Commit e4b084f0 authored by Brion Vibber's avatar Brion Vibber

Pretty it up a bit more

parent 89dc215d
......@@ -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)
......
.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;
......
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