beginning of boiling down the home page of the kcls skin
authorsenator <lebbeous@esilibrary.com>
Fri, 28 Jan 2011 19:30:17 +0000 (14:30 -0500)
committersenator <lebbeous@esilibrary.com>
Fri, 28 Jan 2011 19:30:17 +0000 (14:30 -0500)
Open-ILS/web/templates/default/kcls-new/base.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-new/footer.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-new/home.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-new/searchbar.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-new/topnav.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-new/utils.tt2 [new file with mode: 0644]

diff --git a/Open-ILS/web/templates/default/kcls-new/base.tt2 b/Open-ILS/web/templates/default/kcls-new/base.tt2
new file mode 100644 (file)
index 0000000..4d8da96
--- /dev/null
@@ -0,0 +1,17 @@
+<!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' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
+    <head>
+        <link rel="stylesheet" type="text/css" href="css/style.css" />
+        <link rel="stylesheet" type="text/css" href="css/contentslider.css" />
+        <title>Catalog - King County Library - [% ctx.page_title %]</title>
+        <!-- Don't think we're going to need this anymore.
+        <link rel="unapi-server" type="application/xml" title="unAPI" href="/opac/extras/unapi"/> -->
+        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+        [% BLOCK html_head; END; # provide a default that can be overridden %]
+        [% PROCESS html_head %]
+    </head>
+    <body>
+        [% content %] 
+        [% footer %]
+    </body>
+</html>
diff --git a/Open-ILS/web/templates/default/kcls-new/footer.tt2 b/Open-ILS/web/templates/default/kcls-new/footer.tt2
new file mode 100644 (file)
index 0000000..aebbd48
--- /dev/null
@@ -0,0 +1,25 @@
+<!-- Google Analytics -->
+<script type="text/javascript">
+/* uncomment when ready */ /*
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-3018520-10']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+*/
+</script>
+<!-- End Google Analytics -->
+
+<div id="footer">
+    <a href="http://www.kcls.org/usingthelibrary/request/">Request a Purchase</a> &nbsp;|&nbsp;
+    <a href="http://www.kcls.org/usingthelibrary/request/">Interlibrary Loan</a> &nbsp;|&nbsp;
+    <a href="http://www.kcls.org/about/contact/">Contact Us</a> &nbsp;|&nbsp;
+    <a href="http://www.kcls.org/usingthelibrary/catalog_help/">Site Help</a> &nbsp;|&nbsp;
+    <a href="http://www.kcls.org/usingthelibrary/policies/privacy.cfm">Privacy Statement</a> &nbsp;|&nbsp;
+    <a href="http://www.kcls.org/about/support/">Support KCLS</a> &nbsp;|&nbsp;
+    <a href="http://www.kcls.org/employment/">Employment</a> 
+</div>
diff --git a/Open-ILS/web/templates/default/kcls-new/home.tt2 b/Open-ILS/web/templates/default/kcls-new/home.tt2
new file mode 100644 (file)
index 0000000..c6d1118
--- /dev/null
@@ -0,0 +1,119 @@
+[% INCLUDE "topnav.tt2" %]
+
+<div id="search-wrapper">
+    <div style="margin:auto;width:974px;height:0px;">
+        <div id="user-ql">
+            <script type="text/javascript">
+/* if(grabUser()) {
+       var str = '<div style="float:right;width:214px;">';
+       str += '<div style="position:absolute;"><div style="position:relative;top:-81px;">\n';
+       str += '<div id="quick-links">\n';
+       str += '</div></div></div></div>';
+       document.write(str);
+}*/
+            </script>
+        </div>
+    [% INCLUDE utils.tt2 %]
+    </div>
+
+    [% INCLUDE searchbar.tt2 %]
+</div>
+
+<div id="content-wrapper">
+    <div id="myopac_tabs" class="hide_me">
+        <div id="acct_tabs">
+            <a href="myopac/main" id="acct_summary" rel="myopac_summary_div"></a>
+            <a href="myopac/circs" id="acct_checked_out" rel="myopac_checked_div"></a>
+            <a href="myopac/holds" id="acct_holds" rel="myopac_holds_div"></a>
+            <a href="myopac/prefs" id="acct_prefs" rel="myopac_prefs_div"></a>
+            <a href="myopac/bookbags" id="acct_lists" rel="myopac_bookbag_div"></a>
+            <a href="myopac/fines" class="hide_me" id="acct_favs" style="margin-right:0px;" rel="myopac_fines_div"></a>
+        </div>
+    </div>
+
+    <div id="adv_search_parent" class="hide_me">
+        <div id="adv_search_tabs">
+            <a href="javascript:;" alt="Advanced Search" id="adv_search" onclick="swapTabs(this);" rel="adv_global_search"></a>
+            <a href="javascript:;" alt="Numeric Search" id="num_search" onclick="swapTabs(this);" rel="adv_quick_search_sidebar"></a>
+            <a href="javascript:;" alt="Expert Search" id="expert_search" onclick="swapTabs(this);" rel="adv_marc_search_sidebar"></a>
+        </div>
+    </div>
+
+    <div id="results_header_bar" class="hide_me">
+        <div id="results_header_inner">
+            <div class="results_header_btns">
+                <a href="index.xml"><img
+                    alt="Another Search"
+                    src="/opac/skin/kcls/graphics/another_search.png"
+                    onmouseover="this.src='/opac/skin/kcls/graphics/another_search_hover.png';"
+                    onmouseout="this.src='/opac/skin/kcls/graphics/another_search.png';"
+                    /></a>
+            </div>
+            <div class="results_header_btns">
+                <a href="javascript:;"
+                    onclick="goTo(buildOPACLink({page:ADVANCED}));"><img
+                    alt="Advanced Search"
+                    src="/opac/skin/kcls/graphics/adv_search.png"
+                    onmouseover="this.src='/opac/skin/kcls/graphics/adv_search_hover.png';"
+                    onmouseout="this.src='/opac/skin/kcls/graphics/adv_search.png';"
+                    /></a>
+            </div>
+            <div class="results_header_btns" style="width:111px;height:25px;">
+                <a href="javascript:;" class="hide_me" id="cacheListLink"
+                    onclick="showCachedList();"><img
+                    alt="View My List"
+                    src="/opac/skin/kcls/graphics/view_my_list.png"
+                    onmouseover="this.src='/opac/skin/kcls/graphics/view_my_list_hover.png';"
+                    onmouseout="this.src='/opac/skin/kcls/graphics/view_my_list.png';"
+                    /></a>
+            </div>
+            <div class="results_header_div"></div>
+            <div class="results_header_lbl">Sort by</div>
+            <!-- XXX TODO -->filter/sorter thign here
+            <div class="results_header_div"></div>
+            <div class="results_header_lbl">View</div>
+            <select class="results_header_sel" style="width:88px;" onchange="this.selectedIndex?showDetailedInfo(true):showDetailedInfo(false);">
+                <option>Simple</option>
+                <option>Detailed</option>
+            </select>
+            <div class="results_header_div"></div>
+            <input type="checkbox" id="opac.result.limit2avai2"
+            onclick='searchBarSubmit(true, this);'
+            style="float:left;position:relative;top:2px;left:-2px;margin-right:4px;" />
+            <label for="opac.result.limit2avai2" class="results_header_lbl">
+                Limit to available items
+            </label>
+            <div style="clear:both;"></div>
+        </div>
+    </div>
+
+    <div id="main-content">
+        <!-- XXX TODO if not(myopac,advanced,result) -->
+        <div style="height:15px;clear:both;"></div>
+        <!-- XXX TODO endif -->
+<!--#if expr="$OILS_PAGE='index.xml'"-->
+       <!--#include virtual="common/altcanvas.xml"-->
+       <!--#include virtual="home/homesearch.xml"-->
+<!--#else-->
+       <!--#if expr="$OILS_PAGE='rresult.xml'"-->
+        <div id="tehResultsPage"><!-- XXX matches ABC below -->
+       <!--#include virtual="result/result_header.xml"-->
+           <div id="rresults_page">
+       <!--#endif-->
+       <!--#include virtual="common/altcanvas.xml"--> 
+       <!--#include virtual="common/ilsevents.xml"--> 
+       <!--#include virtual="page_${OILS_PAGE}"-->
+       
+       <!--#if expr="$OILS_PAGE!='advanced.xml'"-->
+       <!--#include virtual="common/statusbar.xml"-->
+       <!--#endif-->
+       <!--#if expr="$OILS_PAGE='advanced.xml'"-->
+       <style type="text/css">#search-wrapper{padding:0; border:none;}</style>
+       <!--#endif-->
+       <!--#include virtual="common/tips.xml"-->
+    <!--#if expr="$OILS_PAGE='rresult.xml'"--></div></div><!--#endif--><!-- XXX matches ABC above -->
+<!--#endif-->
+       <div style="clear:both;height:15px;"></div>     
+    </div>
+</div>
diff --git a/Open-ILS/web/templates/default/kcls-new/searchbar.tt2 b/Open-ILS/web/templates/default/kcls-new/searchbar.tt2
new file mode 100644 (file)
index 0000000..ea62775
--- /dev/null
@@ -0,0 +1 @@
+searchbar todo
diff --git a/Open-ILS/web/templates/default/kcls-new/topnav.tt2 b/Open-ILS/web/templates/default/kcls-new/topnav.tt2
new file mode 100644 (file)
index 0000000..8cd6067
--- /dev/null
@@ -0,0 +1 @@
+topnav todo
diff --git a/Open-ILS/web/templates/default/kcls-new/utils.tt2 b/Open-ILS/web/templates/default/kcls-new/utils.tt2
new file mode 100644 (file)
index 0000000..d103dca
--- /dev/null
@@ -0,0 +1 @@
+utils todo