Getting ready to implement to the demo.
authorAnders S. Mortensen <sondberg@indexdata.dk>
Thu, 4 Jan 2007 14:11:55 +0000 (14:11 +0000)
committerAnders S. Mortensen <sondberg@indexdata.dk>
Thu, 4 Jan 2007 14:11:55 +0000 (14:11 +0000)
13 files changed:
www/demo/about.php [new file with mode: 0644]
www/demo/css/styles.css [new file with mode: 0644]
www/demo/gfx/arrow_down.gif [new file with mode: 0644]
www/demo/gfx/arrow_right.gif [new file with mode: 0644]
www/demo/gfx/background.gif [new file with mode: 0644]
www/demo/gfx/logo.gif [new file with mode: 0644]
www/demo/gfx/minus.gif [new file with mode: 0644]
www/demo/gfx/plus.gif [new file with mode: 0644]
www/demo/help.php [new file with mode: 0644]
www/demo/includes.phpi [new file with mode: 0644]
www/demo/index.php [new file with mode: 0644]
www/demo/page_segments.phpi [new file with mode: 0644]
www/demo/settings.phpi [new file with mode: 0644]

diff --git a/www/demo/about.php b/www/demo/about.php
new file mode 100644 (file)
index 0000000..b928e0f
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+
+/* $Id: about.php,v 1.1 2007-01-04 14:11:55 sondberg Exp $
+ * --------------------------------------------------------------------
+ * Keystone retreiver about page
+ */
+
+require('includes.phpi');
+
+insert_header();
+
+echo "<h3>Welcome to the about page</h3>";
+
+insert_footer();
+
+?>
diff --git a/www/demo/css/styles.css b/www/demo/css/styles.css
new file mode 100644 (file)
index 0000000..3f77445
--- /dev/null
@@ -0,0 +1,253 @@
+html {
+overflow-y: scroll;
+}
+
+html, body {
+background-color: #5d82b7;
+color: #002863;
+font: 11px verdana, arial, sans-serif;
+}
+
+div.container {
+position: relative;
+width: 995px;
+background-color: #ffffff;
+color: #002863;
+margin-left: auto;
+margin-right: auto;
+height: 100%;
+}
+
+img {
+border: none;
+}
+
+div.topbar {
+background-color: #002863;
+color: #ffffff;
+height: 105px;
+position: absolute;
+left: 0px;
+top: 0px;
+width: 100%;
+border-bottom: 5px solid #335382;
+}
+
+#logo {
+position: relative;
+left: 71px;
+top: 44px;
+}
+
+div.topmenu {
+position: absolute;
+right: 0px;
+top: 64px;
+text-align: right;
+width: 729px;
+padding-top: 4px;
+padding-right: 35px;
+border-top: 1px solid #335382;
+height: 25px;
+vertical-align: center;
+}
+
+div.topmenu a {
+color: #ffffff;
+font: bold 11px verdana, arial, sans-serif;
+padding-left: 41px;
+}
+
+
+div.search {
+position: relative;
+top: 110px;
+left: 0px;
+width: 100%;
+height: 90px;
+background-color: #ffffff;
+color: #002863;
+font-weight: bold;
+}
+
+div.search span {
+position: absolute;
+right: 788px;
+top: 30px;
+}
+
+div.search div {
+position: absolute;
+left: 225px;
+top: 25px;
+}
+
+input.search {
+background-color: #f0f0f0;
+color: #002863;
+border: 1px solid #a5acb2;
+height: 17px;
+line-height: 17px;
+width: 420px;
+}
+
+
+div.main {
+width: 100%;
+height: 100%;
+background-color: #ffffff;
+background-image: url(../gfx/background.gif);
+background-position: top left;
+backgroun-repeat: repeat-y;
+color: #002863;
+position: relative;
+top: 100px;
+left: 0px;
+}
+
+div.clear {
+clear: both;
+}
+
+div.leftbar {
+float: left;
+width: 167px;
+padding-left: 23px;
+padding-top: 15px;
+padding-right: 20px;
+padding-bottom: 30px;
+margin-right: 17px;
+border-top: 1px solid #c5cedc;
+color: #000000;
+height: 100%;
+}
+
+div.content {
+float: right;
+width: 733px;
+padding-right: 35px;
+padding-top: 15px;
+padding-bottom: 30px;
+background-color: #ffffff;
+color: #002863;
+border-top: 1px solid #c5cedc;
+height: 100%;
+}
+
+
+input.button {
+background-color: #5d82b7;
+color: #ffffff;
+border: none;
+line-height: 19px;
+height: 19px;
+font: bold 11px verdana;
+}
+
+
+a {
+color: #5d82b7;
+text-decoration: none;
+}
+
+a:visited {
+color: #a0689d;
+}
+
+a:hover {
+text-decoration: underline;
+}
+
+a.record {
+padding-left: 27px;
+background-image: url(../gfx/arrow_right.gif);
+background-position: 7px 6px;
+background-repeat: no-repeat;
+display: block;
+height: 20px;
+line-height: 20px;
+margin-bottom: 5px;
+}
+
+div.records a.select {
+padding-left: 27px;
+background-image: url(../gfx/arrow_down.gif);
+background-position: 7px 8px;
+background-repeat: no-repeat;
+font-weight: bold;
+height: 20px;
+line-height: 20px;
+background-color: #e7ecf4;
+display: block;
+}
+
+div.results {
+float: left;
+font-weight: bold;
+color: #000000;
+}
+
+div.detail {
+background-color: #e7ecf4;
+margin-top: 2px;
+width: 100%;
+padding-top: 5px;
+padding-bottom: 5px;
+}
+
+table {
+padding: 0px;
+margin: 0px;
+border-collapse: collapse;
+}
+
+td.item {
+width: 100px;
+color: #000000;
+font-weight: bold;
+}
+
+div.detail a {
+background: none;
+padding: 0px;
+margin: 0px;
+}
+
+div.detail table {
+margin-left: 40px;
+}
+
+div.pages {
+float: right;
+}
+
+div.pages a {
+text-decoration: underline;
+}
+
+div.pages a.select {
+text-decoration: none;
+font-weight: bold;
+}
+
+div.leftbar a {
+display: block;
+padding-left: 20px;
+}
+
+a.unselected {
+background-image: url(../gfx/minus.gif);
+background-position: 0px 2px;
+background-repeat: no-repeat;
+}
+
+a.selected {
+background-image: url(../gfx/plus.gif);
+background-position: 0px 2px;
+background-repeat: no-repeat;
+}
+
+span.green {
+color: #63b05d;
+font-weight: bold;
+}
\ No newline at end of file
diff --git a/www/demo/gfx/arrow_down.gif b/www/demo/gfx/arrow_down.gif
new file mode 100644 (file)
index 0000000..09a19d2
Binary files /dev/null and b/www/demo/gfx/arrow_down.gif differ
diff --git a/www/demo/gfx/arrow_right.gif b/www/demo/gfx/arrow_right.gif
new file mode 100644 (file)
index 0000000..0e56a1f
Binary files /dev/null and b/www/demo/gfx/arrow_right.gif differ
diff --git a/www/demo/gfx/background.gif b/www/demo/gfx/background.gif
new file mode 100644 (file)
index 0000000..be66809
Binary files /dev/null and b/www/demo/gfx/background.gif differ
diff --git a/www/demo/gfx/logo.gif b/www/demo/gfx/logo.gif
new file mode 100644 (file)
index 0000000..f510197
Binary files /dev/null and b/www/demo/gfx/logo.gif differ
diff --git a/www/demo/gfx/minus.gif b/www/demo/gfx/minus.gif
new file mode 100644 (file)
index 0000000..e254e5f
Binary files /dev/null and b/www/demo/gfx/minus.gif differ
diff --git a/www/demo/gfx/plus.gif b/www/demo/gfx/plus.gif
new file mode 100644 (file)
index 0000000..5e663e0
Binary files /dev/null and b/www/demo/gfx/plus.gif differ
diff --git a/www/demo/help.php b/www/demo/help.php
new file mode 100644 (file)
index 0000000..22a9ac5
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+
+/* $Id: help.php,v 1.1 2007-01-04 14:11:55 sondberg Exp $
+ * --------------------------------------------------------------------
+ * Keystone retreiver help page
+ */
+
+require('includes.phpi');
+
+insert_header();
+
+echo "<h3>Welcome to the help page</h3>";
+
+insert_footer();
+
+?>
diff --git a/www/demo/includes.phpi b/www/demo/includes.phpi
new file mode 100644 (file)
index 0000000..4ebcf98
--- /dev/null
@@ -0,0 +1,11 @@
+<?php
+
+/* $Id: includes.phpi,v 1.1 2007-01-04 14:11:55 sondberg Exp $
+ * ---------------------------------------------------
+ * Include all that's needed by the php scripts
+ */
+
+require('settings.phpi');
+require('page_segments.phpi');
+
+?>
diff --git a/www/demo/index.php b/www/demo/index.php
new file mode 100644 (file)
index 0000000..c1455b2
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+
+/* $Id: index.php,v 1.1 2007-01-04 14:11:55 sondberg Exp $
+ * --------------------------------------------------------------------
+ * Keystone retreiver main page
+ */
+
+include('includes.phpi');
+
+insert_header();
+
+echo "<h3>Welcome to front-page!</h3>";
+
+insert_footer();
+
+?>
diff --git a/www/demo/page_segments.phpi b/www/demo/page_segments.phpi
new file mode 100644 (file)
index 0000000..e4a8e4a
--- /dev/null
@@ -0,0 +1,72 @@
+<?php
+
+/* $Id: page_segments.phpi,v 1.1 2007-01-04 14:11:55 sondberg Exp $
+ * ---------------------------------------------------
+ * Page segments 
+ */
+
+
+function insert_header () {
+    echo <<<END_OF_HEADER
+<!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="en" lang="en">
+  <head>
+    <title>Keystone Retriever</title>
+    <link rel="author" href="http://www.indexdata.dk" />
+    <link href="css/styles.css" rel="stylesheet" type="text/css"
+          media="screen, all" />
+  </head>
+  <body>
+    <div class="container">
+      <div class="topbar">
+        <a href=".">
+          <img id="logo" src="gfx/logo.gif" width="155" height="36"
+               alt="Keystone Retriever" />
+        </a>
+        <div class="topmenu">
+          <a href="about.php" class="topmenu">ABOUT</a>
+          <a href="help.php" class="topmenu">HELP</a>
+        </div>
+      </div>
+      <div class="search">  
+        <span>ENTER SEARCH TERM:</span>
+        <div>
+            <input type="text" class="search" tabindex="1" maxlength="255"
+                   value="" />
+            <input type="submit" class="button" value="Search" />
+        </div>
+      </div>
+      <div class="main">
+        <div class="leftbar">
+          <b>Limit search results</b><br />
+          Narrow your search by using the keywords below:<br />
+          <br />
+          <a href="#" class="unselected">Subject</a>
+          <a href="#">Subject 1</a>
+          <a href="#">Subject 2</a>
+          <a href="#"> Subject 3</a>
+          <br />
+          <a href="#" class="selected">Author</a>
+          <br />
+          <a href="#" class="selected">Institution</a>
+          <br />
+          <a href="#" class="unselected">Date</a>
+          <a href="#">Date 1</a>
+          <a href="#">Date 2</a>
+          <a href="#">Date 3</a>
+        </div>
+        <div class="content">
+END_OF_HEADER;
+}
+
+
+function insert_footer () {
+echo <<<END_OF_FOOTER
+        </div>
+        <div class="clear"></div>
+      </div>
+    </div>
+  </body>
+</html>
+END_OF_FOOTER;
+}
diff --git a/www/demo/settings.phpi b/www/demo/settings.phpi
new file mode 100644 (file)
index 0000000..7b87dbc
--- /dev/null
@@ -0,0 +1,9 @@
+<?php
+
+/* $Id: settings.phpi,v 1.1 2007-01-04 14:11:55 sondberg Exp $
+ * -------------------------------------------------
+ * Global settings for the Keystone Retriever
+ */
+
+
+?>