aboutsummaryrefslogtreecommitdiff
path: root/mod/dashboard
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-23 07:01:54 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-23 07:01:54 -0400
commit5ef15a8b5d5016b8521bf538cc1487f0987b390e (patch)
tree52eb89037195fca0a84bdff73662c6e5a322c0df /mod/dashboard
parente4fca34f791e3cfa9a872d7cb6faa197d2019e03 (diff)
downloadelgg-5ef15a8b5d5016b8521bf538cc1487f0987b390e.tar.gz
elgg-5ef15a8b5d5016b8521bf538cc1487f0987b390e.tar.bz2
Fixes #3599 spacing of dashboard blurb fixed
Diffstat (limited to 'mod/dashboard')
-rw-r--r--mod/dashboard/start.php2
-rw-r--r--mod/dashboard/views/default/dashboard/blurb.php2
-rw-r--r--mod/dashboard/views/default/dashboard/css.php10
3 files changed, 13 insertions, 1 deletions
diff --git a/mod/dashboard/start.php b/mod/dashboard/start.php
index 4fa048b3d..9de1ee4af 100644
--- a/mod/dashboard/start.php
+++ b/mod/dashboard/start.php
@@ -8,6 +8,8 @@ elgg_register_event_handler('init', 'system', 'dashboard_init');
function dashboard_init() {
elgg_register_page_handler('dashboard', 'dashboard_page_handler');
+ elgg_extend_view('css/elgg', 'dashboard/css');
+
elgg_register_menu_item('topbar', array(
'name' => 'dashboard',
'href' => 'dashboard',
diff --git a/mod/dashboard/views/default/dashboard/blurb.php b/mod/dashboard/views/default/dashboard/blurb.php
index 202be1dc5..9293e513a 100644
--- a/mod/dashboard/views/default/dashboard/blurb.php
+++ b/mod/dashboard/views/default/dashboard/blurb.php
@@ -9,7 +9,7 @@
<?php
echo elgg_view('output/longtext', array(
'id' => 'dashboard-info',
- 'class' => 'elgg-inner elgg-border-plain pam mhs mbl mtn',
+ 'class' => 'elgg-inner pam mhs mtn',
'value' => elgg_echo("dashboard:nowidgets"),
));
diff --git a/mod/dashboard/views/default/dashboard/css.php b/mod/dashboard/views/default/dashboard/css.php
new file mode 100644
index 000000000..f49293293
--- /dev/null
+++ b/mod/dashboard/views/default/dashboard/css.php
@@ -0,0 +1,10 @@
+<?php
+/**
+ * User dashboard CSS
+ */
+?>
+
+#dashboard-info {
+ border: 2px solid #dedede;
+ margin-bottom: 15px;
+}