diff options
| author | Chad Kieffer <chad@2tbsp.com> | 2009-01-12 03:49:19 +0000 |
|---|---|---|
| committer | Chad Kieffer <chad@2tbsp.com> | 2009-01-12 03:49:19 +0000 |
| commit | 5fdcdc0e682f3ae42652bddea274e824e2a51974 (patch) | |
| tree | ab54b9010283d159b37c5baa4134d0e3a0b1ad2d /themes/admin_default/views | |
| parent | e4f340b1c78f6857d7e48d11e29f2bfbd7ce66fd (diff) | |
Applied jquery ui dialog titlebar to dashboard blocks to add a close button. It's not semantically "nice" but it works for now.
Diffstat (limited to 'themes/admin_default/views')
| -rw-r--r-- | themes/admin_default/views/block.html.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/themes/admin_default/views/block.html.php b/themes/admin_default/views/block.html.php index 42d09196..7f14353a 100644 --- a/themes/admin_default/views/block.html.php +++ b/themes/admin_default/views/block.html.php @@ -1,6 +1,11 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<div id="<?= $id ?>" class="gBlock"> - <h2><?= $title ?></h2> +<div id="<?= $id ?>" class="gBlock ui-widget-dialog"> + <div class="ui-dialog-titlebar ui-widget-header"> + <a href="#" class="ui-dialog-titlebar-close"> + <span class="ui-icon ui-icon-closethick">close</span> + </a> + <?= $title ?> + </div> <div class="gBlockContent"> <?= $content ?> </div> |
