From 19adb7c8d3aadcc71a24b9d30ad0742b43ecb328 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 24 Sep 2010 16:27:33 -0700 Subject: [PATCH] Pretty it up a bit more --- plugins/YammerImport/actions/yammeradminpanel.php | 5 +++-- plugins/YammerImport/css/admin.css | 11 ++--------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/plugins/YammerImport/actions/yammeradminpanel.php b/plugins/YammerImport/actions/yammeradminpanel.php index 12df3c2022..13c95e37f7 100644 --- a/plugins/YammerImport/actions/yammeradminpanel.php +++ b/plugins/YammerImport/actions/yammeradminpanel.php @@ -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) diff --git a/plugins/YammerImport/css/admin.css b/plugins/YammerImport/css/admin.css index 28d52d07c6..4c1aaacd64 100644 --- a/plugins/YammerImport/css/admin.css +++ b/plugins/YammerImport/css/admin.css @@ -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; -- 2.39.5