diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-03-02 09:40:27 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2007-03-02 09:40:27 +0000 |
commit | ba0ff1a9b7805cde4521d07ca0f039506173bb6b (patch) | |
tree | b3ff25104d6edfb2eff698e22fecc51c47386b5a /misc | |
parent | 7cfde27e31c0eb238c0fe51598105c59cd2cab84 (diff) | |
download | brdo-ba0ff1a9b7805cde4521d07ca0f039506173bb6b.tar.gz brdo-ba0ff1a9b7805cde4521d07ca0f039506173bb6b.tar.bz2 |
#117018: Use Garland theme for installer/maintenance pages, and add task list in the sidebar.
- Refactor partial-page handling for the maintenance page. It's an exotic quirk for update.php and belongs there.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/maintenance.css | 40 | ||||
-rw-r--r-- | misc/maintenance.tpl.php | 59 |
2 files changed, 59 insertions, 40 deletions
diff --git a/misc/maintenance.css b/misc/maintenance.css index 032d56c37..a18f10c1a 100644 --- a/misc/maintenance.css +++ b/misc/maintenance.css @@ -1,45 +1,5 @@ /* $Id$ */ -body { - background: url(druplicon.png) 4.2em 4em no-repeat #fff; - color: #000; - border: 1px solid #bbb; - margin: 3em; - padding: 1em 1em 1em 128px; - line-height: 1.2; -} -h1 { - margin: 1.6em 0 1.1em 0; -} -h1, h2, h3, h4, h5, h6 { - font-family: sans-serif; -} -:link { - color: #0073ba; - font-weight: bold; -} -:visited { - color: #004975; - font-weight: bold; -} - -div.messages { - border: 1px solid #ddd; - padding: 0.4em; - margin-top: 1em; -} - -div.messages li { - margin-top: 0.5em; - margin-bottom: 0.5em; -} - -div.error { - background: #fdd; - border: 1px solid #daa; - color: #400; -} - /* Update styles */ #update-results { margin-top: 3em; diff --git a/misc/maintenance.tpl.php b/misc/maintenance.tpl.php new file mode 100644 index 000000000..8e580a5e2 --- /dev/null +++ b/misc/maintenance.tpl.php @@ -0,0 +1,59 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title><?php print $head_title ?></title> + <?php print $head ?> + <?php print $styles ?> + <?php print $scripts ?> + <style type="text/css" media="all">@import "<?php print $path_to_theme ?>/style.css";</style> + <!--[if lt IE 7]> + <style type="text/css" media="all">@import "<?php print $path_to_theme ?>/fix-ie.css";</style> + <![endif]--> + </head> + <body class="<?php + $classes = array('', 'sidebar-left', 'sidebar-right', 'sidebar-both'); + print $classes[((bool)$sidebar_left) + 2 * ((bool)$sidebar_right)]; + ?>"> + +<!-- Layout --> + <div id="header-region" class="clear-block"></div> + + <div id="wrapper"> + <div id="container" class="clear-block"> + + <div id="header"> + <div id="logo-floater"> + <h1><a href="<?php print check_url($base_path) ?>"><img src="<?php print check_url($logo) ?>" alt="Drupal" id="logo" /><span><?php print $site_title ?></span></a></h1> + </div> + </div> <!-- /header --> + + <?php if ($sidebar_left): ?> + <div id="sidebar-left" class="sidebar"> + <?php print $sidebar_left ?> + </div> + <?php endif; ?> + + <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner"> + <?php if ($title): print '<h2>'. $title .'</h2>'; endif; ?> + + <?php if ($messages): print $messages; endif; ?> + <?php print $content ?> + <span class="clear"></span> + + <!--partial--> + + </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center --> + + <?php if ($sidebar_right): ?> + <div id="sidebar-right" class="sidebar"> + <?php print $sidebar_right ?> + </div> + <?php endif; ?> + + </div> <!-- /container --> + </div> +<!-- /layout --> + + </body> +</html> |