forked from GNUsocial/gnu-social
Pretty it up a bit more
This commit is contained in:
parent
35119f4072
commit
19adb7c8d3
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user