[open-ils-commits] r1069 - in evergreen-ils.org: . css incl (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Nov 17 21:27:04 EST 2010


Author: dbs
Date: 2010-11-17 21:27:03 -0500 (Wed, 17 Nov 2010)
New Revision: 1069

Added:
   evergreen-ils.org/communicate.php
   evergreen-ils.org/incl/javascript.php
Modified:
   evergreen-ils.org/about.php
   evergreen-ils.org/code_museum.php
   evergreen-ils.org/css/style.css
   evergreen-ils.org/cvs.php
   evergreen-ils.org/documentation.php
   evergreen-ils.org/downloads.php
   evergreen-ils.org/faq.php
   evergreen-ils.org/header.php
   evergreen-ils.org/incl/header.php
   evergreen-ils.org/index.php
   evergreen-ils.org/irc.php
   evergreen-ils.org/listserv.php
   evergreen-ils.org/mission.php
   evergreen-ils.org/roadmap.php
Log:
First stab at gathering communication menu entries into one header

  * Provide a new communicate.php page that links to the other
    pertinent modes of communication for browsers with JavaScript
    turned off
  * Provide a drop-down menu under the new "Communicate" heading
    that links to mailing lists, IRC, calendar, blog, and planet
  * Also group a few items under "Contribute" - including "Report bugs"
    and "Develop code" (links to the list of code repositories).
    There is a stubbed-out "Join committees" entry because we don't
    have a single page that lists all of the ongoing activities
    in the community.


Modified: evergreen-ils.org/about.php
===================================================================
--- evergreen-ils.org/about.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/about.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -4,6 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>About Evergreen software and its community</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Modified: evergreen-ils.org/code_museum.php
===================================================================
--- evergreen-ils.org/code_museum.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/code_museum.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -2,8 +2,9 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-   <TITLE>Open-ILS.org | Code Museum.</TITLE>
-   <link HREF="/css/style.css" REL="STYLESHEET" TYPE="text/css" />
+   <title>Code Museum for the Evergreen project</title>
+   <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Added: evergreen-ils.org/communicate.php
===================================================================
--- evergreen-ils.org/communicate.php	                        (rev 0)
+++ evergreen-ils.org/communicate.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+   <title>Communicate: Evergreen open source library system</title>
+   <link href="/css/style.css" rel="stylesheet" type="text/css" />
+    <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
+</head>
+<body>
+<div id="wrap">
+<?php include "/var/www/open-ils.org/incl/header.php" ;?>
+
+<?php include "/var/www/open-ils.org/incl/sidebar.php" ;?>
+<!--end side-->
+
+<div id="pagebody">
+<h1>Communicate with us</h1>
+
+<p>We invite you to join us in the many different forums in which we discuss
+the Evergreen project!</p>
+
+<a name="listserv"></a>
+<h2>Mailing lists</h2>
+<p>Most of the day-to-day conversations are held on <a
+href="/listserv.php">mailing lists</a>. These mailing lists are open to anyone
+with an email account. In addition, archives that provide much of the history
+of the project are readily available.</p>
+
+<a name="irc"></a>
+<h2>Internet Relay Chat</h2>
+<p>Some members of the Evergreen community use the immediate mode of
+conversation that <a href="/irc.php">Internet Relay Chat (IRC)</a> offers. You
+can find us on the #evergreen channel on the Freenode server. Archives of the
+IRC channel are also available.</p>
+
+<a name="calendar"></a>
+<h2>Event Calendar</h2>
+<p>
+The <a
+href="http://evergreen-ils.org/dokuwiki/doku.php?id=calendar:start">Event
+Calendar</a> provides a single view of all of the meetings of the various
+committees and working groups in the Evergreen community. Most of these
+meetings are open to any interested members of the community; volunteers are
+always welcome!
+</p>
+
+<a name="blog"></a>
+<h2>Official blog</h2>
+<p>
+The <a href="http://evergreen-ils.org/blog">official blog</a> offers news and
+insight on the Evergreen project.
+</p>
+
+<a name="planet"></a>
+<h2>Community blogs</h2>
+<p>
+The <a href="http://planet.evergreen-ils.org">Planet Evergreen</a> blog
+aggregator pulls together all of the recent posts from each of the known blogs
+about Evergreen into one convenient package.
+</p>
+
+</div>
+<!--end pagebody-->
+<?php include "/var/www/open-ils.org/incl/footer.php"; ?>
+</div><!--end wrapper-->
+</body>
+</html>


Property changes on: evergreen-ils.org/communicate.php
___________________________________________________________________
Name: svn:executable
   + *

Modified: evergreen-ils.org/css/style.css
===================================================================
--- evergreen-ils.org/css/style.css	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/css/style.css	2010-11-18 02:27:03 UTC (rev 1069)
@@ -207,13 +207,14 @@
 }
 
 #subhead {
+width: 100%;
 margin: 0;
 padding: 3px 0 8px 0;
 background: #F5AE61 url('/img/subheadfade2.gif') bottom repeat-x;
 }
 
 #subhead a:link, #subhead a:visited {
-text-align:center;
+text-align:left;
 margin: 0;
 text-decoration:none;
 padding: 3px 20px 8px 5px;
@@ -322,3 +323,72 @@
 #wrap.wide {
 background: #fff;
 }
+
+/* Adapted from http://www.spiffyjr.me/2010/03/02/creating-fancy-drop-down-menus-with-html-css-and-dojo/ */
+ul#subhead {
+  display: table;
+  list-style-type: none;
+  margin: 0;
+  padding: 0;
+  position: relative;
+}
+ 
+ul#subhead li {
+  cursor: pointer;
+  list-style: none;
+  display: table-cell;
+  float: left;
+  position: relative;
+  text-shadow: 0px 0px 1px #fff;
+  background: #F5AE61 url('/img/subheadfade2.gif') bottom repeat-x;
+}
+ 
+ul#subhead li a,#subhead li div {
+  color: #154f14;
+  padding: 5px 12px;
+}
+ 
+ul#subhead img {
+  margin-right: 3px;
+  vertical-align: top;
+}
+ 
+ul#subhead a {
+  position: relative;
+  display: block;
+}
+ 
+ul#subhead ul.dropmenu {
+  background: #f5faf5;
+  border: 1px solid #BBCFBB;
+  margin: 0;
+  padding: 0;
+  position: absolute;
+  z-index: 999;
+  top: 24px;
+  left: -999em;
+  height: 1px;
+  display: block;
+}
+ 
+ul#subhead ul.dropmenu li {
+  margin: 0;
+  padding: 0;
+  list-style: none;
+  width: 145px;
+}
+ 
+ul#subhead ul.dropmenu li:hover {
+  opacity: 1;
+}
+ 
+ul#subhead ul.dropmenu li a {
+  display: block;
+  padding: 6px 14px;
+  text-shadow: 0px 0px 1px #fff;
+  text-align: left;
+}
+ 
+ul#subhead ul.dropmenu li a:hover {
+  text-decoration: none;
+}

Modified: evergreen-ils.org/cvs.php
===================================================================
--- evergreen-ils.org/cvs.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/cvs.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -4,6 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Downloads: Evergreen open source library system</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Modified: evergreen-ils.org/documentation.php
===================================================================
--- evergreen-ils.org/documentation.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/documentation.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -4,6 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Documentation: Evergreen open source library system</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Modified: evergreen-ils.org/downloads.php
===================================================================
--- evergreen-ils.org/downloads.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/downloads.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -4,6 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Downloads: Evergreen open source library system</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Modified: evergreen-ils.org/faq.php
===================================================================
--- evergreen-ils.org/faq.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/faq.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -5,6 +5,7 @@
    <title>Frequently Asked Questions: Evergreen open source library system</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="refresh" content="1;url=http://evergreen-ils.org/dokuwiki/doku.php?id=faqs:evergreen_faq_1">
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Modified: evergreen-ils.org/header.php
===================================================================
--- evergreen-ils.org/header.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/header.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -15,4 +15,4 @@
 Bugzilla
 Mailing Lists
 
-</div><!--end subhead-->
\ No newline at end of file
+</div><!--end subhead-->

Modified: evergreen-ils.org/incl/header.php
===================================================================
--- evergreen-ils.org/incl/header.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/incl/header.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -1,19 +1,27 @@
 <!--start header-->
 <div id="mainhead">
-<a href="/"><img src="/img/evergreen_logo.gif" border="0" alt="Open Source Integrated Library System" />
+<a href="/"><img src="/img/evergreen_logo.gif" border="0" alt="Open Source Integrated Library System" /></a>
 </div>
-<div id="subhead">
-<a href="/about.php" class="first">About Us</a> 
-<!-- a href="/search.php">Search</a -->
-<a href="/dokuwiki/doku.php?id=faqs:evergreen_faq_1">FAQs</a> 
-<a href="/documentation.php">Documentation</a> 
-<a href="/blog">Blog</a> 
-<!-- a href="/dokuwiki/doku.php?id=evergreen_libraries">Evergreen Libraries</a --> 
-<a href="/irc.php">Chat</a>
-<a href="/listserv.php">Mailing Lists</a>
-<a href="http://planet.evergreen-ils.org">Evergreen Blogs</a>
-<!-- a href="/cgi-bin/bugzilla/index.cgi">Bug Database</a -->
-<a href="/downloads.php">Download</a> 
-</div>
+<ul id="subhead">
+    <li><a href="/about.php" class="first">About Us</a></li>
+    <li><a href="/dokuwiki/doku.php?id=faqs:evergreen_faq_1">FAQs</a></li>
+    <li><a href="/documentation.php">Documentation</a></li>
+    <li class="dropdown"><a href="/communicate.php">Communicate</a>
+        <ul class="dropmenu">
+            <li><a href="/listserv.php">Mailing Lists</a></li>
+            <li><a href="/irc.php">Chat</a></li>
+            <li><a href="http://evergreen-ils.org/dokuwiki/doku.php?id=calendar:start">Calendar</a></li>
+            <li><a href="/blog">Official blog</a></li>
+            <li><a href="http://planet.evergreen-ils.org">Community blogs</a></li>
+        </ul>
+    </li>
+    <li class="dropdown"><a href="http://www.evergreen-ils.org/dokuwiki/doku.php?id=contributing">Contribute</a>
+        <ul class="dropmenu">
+            <!--<li><a href="">Join committees and working groups</a></li>-->
+            <li><a href="http://bugs.launchpad.net/evergreen">Report bugs</a></li>
+            <li><a href="http://evergreen-ils.org/dokuwiki/doku.php?id=dev:code_repositories">Develop code</a></li>
+        </ul>
+    </li>
+    <li><a href="/downloads.php">Download</a></li>
+</ul>
 <!--end header-->
-

Added: evergreen-ils.org/incl/javascript.php
===================================================================
--- evergreen-ils.org/incl/javascript.php	                        (rev 0)
+++ evergreen-ils.org/incl/javascript.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -0,0 +1,35 @@
+<script type="text/javascript"> 
+//<![CDATA[
+// From http://www.spiffyjr.me/2010/03/02/creating-fancy-drop-down-menus-with-html-css-and-dojo/
+function _initLoader() {
+    var userMenu = dojo.byId("subhead");
+    
+    // user menu special effects
+    if (userMenu) {
+        dojo.query(".dropmenu").forEach(function(n) {
+            var l = dojo.query(n);
+            l.parent().at(0)
+                .onmouseenter(function(){
+                    dojo.style(l[0], "left", "0");
+                    dojo.fx.wipeIn({node: l[0], duration: 250}).play();
+                })
+                .onmouseleave(function(){
+                    dojo.style(l[0], "left", "-999em");
+                    dojo.style(l[0], "display", "none");
+                });
+        });
+    }
+}
+//]]>
+</script> 
+<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js" type="text/javascript"></script>
+<script type="text/javascript"> 
+//<![CDATA[
+    dojo.require("dijit.Tooltip");
+    dojo.require("dojo.parser");
+    dojo.require("dojo.fx");
+    dojo.require("dojo.fx.easing");
+    dojo.require("dojo.NodeList-traverse");
+    dojo.addOnLoad(_initLoader);
+//]]>
+</script>

Modified: evergreen-ils.org/index.php
===================================================================
--- evergreen-ils.org/index.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/index.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -4,6 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Welcome: Evergreen open source library system</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Modified: evergreen-ils.org/irc.php
===================================================================
--- evergreen-ils.org/irc.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/irc.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -4,6 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Chat online: Evergreen open source library system</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Modified: evergreen-ils.org/listserv.php
===================================================================
--- evergreen-ils.org/listserv.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/listserv.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -4,6 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Mailing lists: Evergreen open source library system</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Modified: evergreen-ils.org/mission.php
===================================================================
--- evergreen-ils.org/mission.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/mission.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -4,6 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Mission statement: Evergreen open source library system</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">

Modified: evergreen-ils.org/roadmap.php
===================================================================
--- evergreen-ils.org/roadmap.php	2010-11-17 20:43:41 UTC (rev 1068)
+++ evergreen-ils.org/roadmap.php	2010-11-18 02:27:03 UTC (rev 1069)
@@ -4,6 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Development roadmap: Evergreen open source library system</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
+   <?php include "/var/www/open-ils.org/incl/javascript.php" ;?>
 </head>
 <body>
 <div id="wrap">



More information about the open-ils-commits mailing list