summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanang Probo Sayekti2010-12-14 03:32:16 (GMT)
committerDanang Probo Sayekti2010-12-14 03:32:16 (GMT)
commit28360dbf40ef275998224505db8a1c7eb5a4c5f1 (patch)
tree87bc6f9ed37210322a097689db945c32f39694ca
parent3d563a8ae99a30300ca0710252a3337d529b96da (diff)
Add resources for maintenance page.7.x-1.0-rc2
-rw-r--r--maintenance-page.tpl.php84
-rw-r--r--maintenance.css18
2 files changed, 102 insertions, 0 deletions
diff --git a/maintenance-page.tpl.php b/maintenance-page.tpl.php
new file mode 100644
index 0000000..fefa9d6
--- /dev/null
+++ b/maintenance-page.tpl.php
@@ -0,0 +1,84 @@
+<?php
+// $Id$
+?>
+<!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" xml:lang="<?php print $language->language; ?>" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>">
+<head>
+ <?php print $head; ?>
+ <title><?php print $head_title; ?></title>
+ <?php print $styles; ?>
+ <?php print $scripts; ?>
+</head>
+<body class="<?php print $classes; ?>" <?php print $attributes;?>>
+
+<div>
+<div id="header">
+<div id="header-wrapper">
+ <?php if ($logo): ?>
+ <div id="logo-wrapper">
+ <div class="logo">
+ <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>
+ </div>
+ </div><!-- end logo wrapper -->
+ <?php endif; ?>
+ <?php if ($site_name || $site_slogan) : ?>
+ <div id="branding-wrapper">
+ <?php if ($site_name) : ?>
+ <h2 class="site-name"><a href="<?php print $base_path ?>" title="<?php print $site_name ?>"><?php print $site_name ?></a></h2>
+ <?php endif; ?>
+ <?php if ($site_slogan) : ?>
+ <div class='site-slogan'><?php print $site_slogan; ?></div>
+ <?php endif; ?>
+ </div><!-- end branding wrapper -->
+ <?php endif; ?>
+
+ <?php if ($feed_icons): ?>
+ <div class="feed-wrapper">
+ <?php print $feed_icons; ?>
+ </div>
+ <?php endif; ?>
+
+ <?php if (!$is_admin): ?>
+ <div id="authorize">
+ <ul><?php global $user; if ($user->uid != 0) { print '<li class="first">' .t('Logged in as '). '<a href="' .url('user/'.$user->uid). '">' .$user->name. '</a></li>'; print '<li><a href="' .url('user/logout'). '">' .t('Logout'). '</a></li>'; } else { print '<li class="first"><a href="' .url('user'). '">' .t('Login'). '</a></li>'; print '<li><a href="' .url('user/register'). '">' .t('Register'). '</a></li>'; } ?></ul>
+ </div>
+ <?php endif; ?>
+
+ </div><!-- end header-wrapper -->
+</div> <!-- /header -->
+<div style="clear:both"></div>
+
+<div id="menu">
+<div id="rounded-menu-left"></div>
+<div id="rounded-menu-right"></div>
+</div> <!-- end menu -->
+<div style="clear:both"></div>
+
+<div id="slideshow-wrapper">
+<div class="slideshow-inner">
+<div id="slideshow-preface">
+<?php if ($title): ?>
+ <div id="preface">
+ <h1 class="title" id="page-title">
+ <?php print $title; ?>
+ </h1>
+ </div><!-- end preface -->
+ <?php endif; ?>
+</div>
+<?php if ($content): ?><div id="slideshow-bottom">
+<div id="content-maintenance"><?php print $content; ?></div></div><?php endif; ?>
+<div class="slideshow">
+<img src="<?php print $base_path . $directory; ?>/images/slideshows/sea.jpg" width="950" height="355" alt="slideshow 1"/>
+<img src="<?php print $base_path . $directory; ?>/images/slideshows/noon.jpg" width="950" height="355" alt="slideshow 2"/>
+<img src="<?php print $base_path . $directory; ?>/images/slideshows/snow.jpg" width="950" height="355" alt="slideshow 3"/>
+</div>
+</div>
+</div>
+
+<div style="clear:both"></div>
+<div id="notice"><p>Theme by <a href="http://www.danetsoft.com">Danetsoft</a> and <a href="http://www.danpros.com">Danang Probo Sayekti</a> inspired by <a href="http://www.maksimer.no">Maksimer</a></p></div>
+</div>
+
+</body>
+</html>
diff --git a/maintenance.css b/maintenance.css
new file mode 100644
index 0000000..0f40332
--- /dev/null
+++ b/maintenance.css
@@ -0,0 +1,18 @@
+/* $Id$ */
+
+#content-maintenance {
+font-size:1.6em;
+color:#002054;
+display:block;
+float:right;
+line-height:1.2em;
+margin:20px;
+}
+
+#preface .title {
+margin: 20px;
+color:#fff;
+display:block;
+float:left;
+}
+