forked from GNUsocial/gnu-social
Pretty it up a bit more
This commit is contained in:
parent
89dc215d9b
commit
e4b084f093
@ -175,7 +175,8 @@ class YammerAdminPanelForm extends AdminForm
|
|||||||
$steps = array_keys($labels);
|
$steps = array_keys($labels);
|
||||||
$currentStep = array_search($runner->state(), $steps);
|
$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) {
|
foreach ($steps as $step => $state) {
|
||||||
if ($step < $currentStep) {
|
if ($step < $currentStep) {
|
||||||
// This step is done
|
// This step is done
|
||||||
@ -197,7 +198,7 @@ class YammerAdminPanelForm extends AdminForm
|
|||||||
_m("Waiting..."));
|
_m("Waiting..."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->out->elementEnd('div');
|
$this->out->elementEnd('fieldset');
|
||||||
}
|
}
|
||||||
|
|
||||||
private function progressBar($state, $class, $label, $status)
|
private function progressBar($state, $class, $label, $status)
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
.yammer-import {
|
.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;
|
padding: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -27,7 +19,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.progress {
|
.progress {
|
||||||
background-color: #fff;
|
background-color: white;
|
||||||
|
border: solid 1px blue;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
-moz-border-radius: 8px;
|
-moz-border-radius: 8px;
|
||||||
-webkit-border-radius: 8px;
|
-webkit-border-radius: 8px;
|
||||||
|
Loading…
Reference in New Issue
Block a user