advanced page getting there
authorsenator <lebbeous@esilibrary.com>
Mon, 31 Jan 2011 19:08:39 +0000 (14:08 -0500)
committersenator <lebbeous@esilibrary.com>
Mon, 31 Jan 2011 19:08:39 +0000 (14:08 -0500)
Open-ILS/web/opac/skin/kcls-wire/css/contentslider.css [new file with mode: 0644]
Open-ILS/web/opac/skin/kcls-wire/css/style.css [new file with mode: 0644]
Open-ILS/web/opac/skin/kcls-wire/js/misc.js
Open-ILS/web/templates/default/kcls-wire/advanced.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-wire/parts/adv_global_row.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-wire/parts/advanced_search.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-wire/parts/base.tt2

diff --git a/Open-ILS/web/opac/skin/kcls-wire/css/contentslider.css b/Open-ILS/web/opac/skin/kcls-wire/css/contentslider.css
new file mode 100644 (file)
index 0000000..64a6d25
--- /dev/null
@@ -0,0 +1,39 @@
+.sliderwrapper{
+position: relative; /*leave as is*/
+overflow: hidden; /*leave as is*/
+width: 675px; /*width of featured content slider*/
+height: 213px;
+}
+
+
+
+.sliderwrapper .contentdiv{
+visibility: hidden; /*leave as is*/
+position: absolute; /*leave as is*/ 
+left: 0;  /*leave as is*/
+top: 0;  /*leave as is*/
+width: 675px; /*width of content DIVs within slider. Total width should equal slider's inner width (390+5+5=400) */
+height: 100%;
+filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
+-moz-opacity: 1;
+opacity: 1;
+}
+
+.pagination{
+width: 400px; /*Width of pagination DIV. Total width should equal slider's outer width (400+10+10=420)*/
+text-align: right;
+background-color: navy;
+padding: 5px 10px;
+}
+
+.pagination a{
+padding: 0 5px;
+text-decoration: none; 
+color: #00007D;
+background: white;
+}
+
+.pagination a:hover, .pagination a.selected{
+color: #000;
+background-color: #FEE496;
+}
\ No newline at end of file
diff --git a/Open-ILS/web/opac/skin/kcls-wire/css/style.css b/Open-ILS/web/opac/skin/kcls-wire/css/style.css
new file mode 100644 (file)
index 0000000..7dbc65f
--- /dev/null
@@ -0,0 +1,860 @@
+body {
+       margin:0;
+       font-family: Arial, Helvetica, sans-serif;
+       font-size: 12px;
+       background:#333;
+}
+
+img {
+       border: none;
+}
+
+a {
+       color: #003399;
+       text-decoration: none;
+}
+
+a:hover {
+       text-decoration: underline;
+}
+
+#search-wrapper input[type=text] {
+       border:none;
+       margin:0;
+       padding:0;
+}
+
+#search-wrapper select {
+       border:1px solid #e9ebf3;
+       margin:0;
+       padding:0;
+       width:168px;
+}
+
+/*
+#search-wrapper select {
+       border:0px solid black;
+       filter:alpha(opacity=0);
+       -moz-opacity:0;
+       -khtml-opacity:0;
+       opacity:0;
+       padding:0;
+       margin:0;
+       height:18px;
+       font-size: 12px;
+}
+*/
+h1 {
+       margin:0;
+       margin-bottom: 5px;
+       font-size: 20px;
+       font-weight:normal;
+}
+
+h2 {
+       margin:0;
+       margin-bottom: 5px;
+       font-size: 14px;
+       font-weight:bold;
+}
+
+.hide_me {
+       display: none;
+       visibility: hidden;
+}
+
+div.select-box-wrapper {
+       position:absolute;
+       padding-top:2px;
+       padding-left:3px;
+       overflow:hidden;
+       text-align:left;
+}
+
+div.select-wrapper {
+       border:1px solid #4C8AB0;
+       display:inline-block;
+       position:relative;
+       z-index:2;
+       background:url('/opac/skin/kcls/graphics/dropdown.gif') no-repeat right center;
+}
+
+div.select-wrapper:hover {
+       background:url('/opac/skin/kcls/graphics/dropdown-hover.gif') no-repeat right center;
+}
+
+#dash_wrapper {
+       width:500px;
+       position:relative;
+       top:-26px;
+}
+
+#dashboard {
+       clear:both;
+       float:right;
+       width:384px;
+}
+
+#dashboard span {
+       font-weight:bold;
+       position:relative;
+       left:-1px;
+}
+
+#dash_user {
+       font-weight:bold;
+       text-transform:capitalize;
+}
+
+#header {
+       color: #fff;
+       padding: 26px 0px 26px 0px;
+       width: 974px;
+       margin: auto;
+       font-size:11px;
+}
+
+#header a {
+       color: #fff;
+}
+
+#header a:hover {
+       color: white;
+       text-decoration: none;
+}
+
+#header-links {
+       color: #afafaf;
+       font-size: 11px;
+       font-weight: bold;
+       position: relative;
+       top:4px;
+       
+}
+
+#header-links a {
+       color: #afafaf;
+       display: block;
+       float:left;
+       margin-right:22px;
+}
+
+#header-links a:hover {
+       color: white;
+       text-decoration: none;
+}
+
+#header #header-links2 {
+       position:relative;
+       top:-8px;
+       color: white;
+       padding-bottom: 15px;
+}
+
+#header #header-links2 a {
+       color: white;
+}
+
+#header #header-links2 a:hover {
+       text-decoration: underline;
+}
+
+#header #your-acct-login {
+       padding-top:10px;
+}
+
+#gold-links {
+       margin:auto;
+       width:974px;
+       padding-left:0px;
+}
+
+#util-bar {
+       margin:auto;
+       width:974px;
+       padding-left:0px;
+       height:0px;
+}
+
+#search-wrapper {
+       border-bottom: 1px solid #e9ebf3;
+       padding-bottom: 5px;
+       background: white;
+}
+
+#search_box_wrapper {
+       border:1px solid #e9ebf3;
+       padding: 1px;
+       padding-left:3px;
+}
+
+#search-wrapper #breadcrumb {
+       margin-top:0px;
+       font-size: 10px;
+       float:left;
+}
+
+#search-wrapper #search-within {
+       margin-top:10px;
+       float:right;
+       position:relative;
+       left:-173px;
+}
+
+#search-wrapper #breadcrumb a {
+       color: black;
+}
+
+#search-wrapper #search_frm label {
+       font-size: 10px;
+}
+
+#search-wrapper #search-box {
+       width:974px;
+       margin:auto;
+       padding-left: 0px;
+}
+
+#utils {
+       float:right;
+       z-index:1;
+       width:150px;
+       height:30px;
+       background:url('/opac/skin/kcls/graphics/utils-corner-left.png') no-repeat left top;
+       padding-left: 3px;
+       color: white;
+       position:relative;
+}
+
+#utils a {
+       color: white;
+       font-size: 10px;
+}
+#adv_search_tabs {
+       height:33px;
+       width:974px;
+       margin:auto;
+}
+
+#adv_search_tabs a {
+       float: left;
+       display: block;
+       height:33px;
+       margin-right:7px;
+}
+
+#adv_search {
+       width:156px;
+       background:url('/opac/skin/kcls/graphics/adv_search_on.gif') no-repeat bottom;
+}
+
+#num_search {
+       width:156px;
+       background:url('/opac/skin/kcls/graphics/num_search_off.gif') no-repeat bottom;
+}
+
+#expert_search {
+       width:156px;
+       background:url('/opac/skin/kcls/graphics/expert_search_off.gif') no-repeat bottom;
+}
+
+#acct_tabs {
+       height:33px;
+       width:974px;
+       margin:auto;
+}
+
+#acct_tabs a {
+       float: left;
+       display: block;
+       height:33px;
+       margin-right:7px;
+}
+
+#acct_summary {
+       width:156px;
+       background:url('/opac/skin/kcls/graphics/acct_summary_on.gif') no-repeat bottom;
+}
+
+#acct_checked_out {
+       width:156px;
+       background:url('/opac/skin/kcls/graphics/acct_checked_out_off.gif') no-repeat bottom;
+}
+
+#acct_holds {
+       width:156px;
+       background:url('/opac/skin/kcls/graphics/acct_holds_off.gif') no-repeat bottom;
+}
+
+#acct_prefs {
+       width:156px;
+       background:url('/opac/skin/kcls/graphics/acct_prefs_off.gif') no-repeat bottom;
+}
+
+#acct_favs {
+       width:156px;
+       background:url('/opac/skin/kcls/graphics/acct_favs_off.gif') no-repeat bottom;
+}
+
+#acct_lists {
+       width:156px;
+       background:url('/opac/skin/kcls/graphics/acct_lists_off.gif') no-repeat bottom;
+}
+
+#rdetail_header {
+       font-size:14px;
+       font-weight:bold;
+       color:#074079;
+       padding: 5px 7px 6px 0px;
+       border-bottom: 1px dotted #ccc;
+}
+
+#rdetail_result_count {
+       color: black;
+       font-size: 11px;
+       font-weight: normal;
+}
+
+#rdetail_result_nav {
+       float:right;
+       font-size: 11px;
+       font-weight:normal;
+}
+
+#rdetail_details_table {
+       margin-top: 15px;
+}
+
+#rdetail_title {
+       font-size: 18px;
+}
+
+#rdetail_image_cell {
+       padding-top: 3px;
+       padding-right: 10px;
+}
+
+.rdetail_aux_utils {
+       border-left:1px dotted #ccc;
+       padding-left: 17px;
+       padding-bottom: 6px;
+       padding-right: 70px;
+}
+
+.results_aux_utils {
+       border-left:1px dotted #ccc;
+       padding-left: 17px;
+       padding-bottom: 6px;
+       padding-right: 50px;
+}
+
+#rdetails_status td, #rdetails_status2 td {
+       white-space:nowrap !important;
+       padding: 7px 0px 3px 13px;
+}
+
+#rdetails_status_head td {
+       background-color: #d8d8d8;
+       padding: 13px 0px 13px 13px;
+       font-size: 10px;
+       text-transform: uppercase;
+       font-weight: bold;
+}
+
+#rdetails_status_head2 td {
+       padding: 0px;
+}
+
+.rdetail_extras {
+       height: 29px;
+       background: #9ad0f1;
+       padding-top:1px;
+       margin-bottom: 10px;
+       margin-top: 10px;
+       clear:both;
+}
+
+.rdetail_extras_hr {
+       height: 1px;
+       background: #b7def5;
+       margin-left: 1px;
+       margin-right: 1px;
+}
+
+.rdetail_extras_link {
+       padding-top: 4px;
+       padding-left: 12px;
+       font-size: 10px;
+       text-transform: uppercase;
+       font-weight: bold;
+}
+
+.rdetail_extras_lbl {
+       position: relative;
+       top: -4px;
+       left: 7px;
+}
+
+#paginate-homebanner a.toc {
+       display:block;
+       width:20px;
+       height:20px;
+       background:gray;
+       float:left;
+       margin-left:2px;
+       margin-right:2px;
+       margin-top:2px;
+}
+
+#rdetail_extras_expand, #rdetail_extras_collapse, #rdetail_locs_collapse {
+       margin-left: 13px;
+}
+
+#rdetail_locs_expand, #rdetail_locs_collapse {
+       padding-bottom:3px;
+       margin-top:15px;
+       margin-left:13px;
+}
+
+#rdetail_anotes_div .biography {
+       margin:0;
+}
+
+#paginate-homebanner a.selected {
+       border: 2px solid black;
+       margin-top:0px;
+       margin-left:0px;
+       margin-right:0px;
+}
+
+#hp-buttons {
+       margin: auto;
+       margin-top: 6px;
+       width: 974px;
+}
+
+#hp-welcome {
+       position:absolute;
+       width:295px;
+       height:192px;
+       background: url('/opac/skin/kcls/graphics/banner-bg.png') no-repeat;
+       color: #fff;
+       padding-left: 33px;
+       padding-top: 21px;
+       z-index:9999999999;
+}
+
+#hp-welcome h1 {
+       font-size: 25px;
+       margin-bottom:15px;
+}
+
+#hp-welcome a {
+       color: #fff;
+       text-decoration: underline;
+}
+
+#hp-banner {
+       margin: auto;
+       width:974px;
+       height: 213px;
+}
+
+#hp-ql-table {
+       margin-left: 2px;
+       padding-top: 3px;
+}
+
+#hp-ql-table a {
+       color: #333;
+       font-weight: bold;
+       font-size: 13px;
+       text-transform: uppercase;
+       text-decoration: none;
+       display: block;
+       width: 144px;
+       height: 25px;
+       padding-top: 9px;
+       padding-left: 15px;
+       background: url('/opac/skin/kcls/graphics/button-bg.png') no-repeat;
+}
+
+#hp-ql-bottom {
+       width: 640px;
+       height: 31px;
+       padding-left: 24px;
+       padding-top: 13px;
+       background: url('/opac/skin/kcls/graphics/hp-links-mid.jpg') repeat-x;
+}
+
+#hp-ql-bottom a {
+       display: inline-block;
+       text-decoration: none;
+       color: white;
+       font-size: 15px;
+       font-weight: bold;
+}
+
+#content-wrapper {
+       background: white;
+       min-height: 260px;
+       border-bottom: 1px solid black;
+}
+
+#main-content {
+       width: 974px;
+       margin:auto;
+       padding-left:0px;
+}
+
+#main-content .login_boxes {
+       border: 1px solid #dedede;
+       background:url('/opac/skin/kcls/graphics/login-bg.jpg') top repeat-x;
+       color: #333;
+}
+
+#main-content .login_boxes h1 {
+       font-weight: normal;
+       font-size: 25px;
+       margin:0;
+}
+
+#main-content .left_brain {
+       padding-left:28px;
+       padding-top:25px;
+}
+
+#main-content .left_brain input[type=text], #main-content .left_brain input[type=password] {
+       width:167px;
+       height:18px;
+       margin:0;
+       padding:0;
+       border:none;
+       background: none;
+       font-size: 15px;
+       color: #666;
+}
+
+#main-content .left_brain .input_bg {
+       padding:10px 10px 0px 13px;
+       background: url('/opac/skin/kcls/graphics/login-box-bg.jpg') no-repeat;
+       width:167px;
+       height:29px;
+}
+
+#home-buttons-inner {
+       width:664px;
+       height:117px;
+       background:#bda964;
+}
+
+#holds_temp_parent td {
+       border-bottom:1px solid #dcdbdb;
+}
+
+#holds_temp_parent input, #holds_temp_parent select {
+       margin:0;
+}
+
+
+
+
+#results_header_bar {
+       background: #929292;
+       border-top:1px solid #8b8b8b;
+}
+
+#results_header_inner {
+       height:32px;
+       width:974px;
+       margin:auto;
+       padding-top:6px;
+}
+
+.results_header_btns {
+       float:left;
+       margin-right: 6px;
+}
+
+.results_header_div {
+       float: left;
+       width: 0px;
+       height: 25px;
+       border-left: 1px solid #7c7c7c;
+       border-right: 1px solid #9c9c9c;
+       margin: 0px 13px;
+}
+
+.results_header_lbl {
+       font-weight: bold;
+       float: left;
+       font-size: 11px;
+       color: #191919;
+       position: relative;
+       top: 5px;
+       margin-right: 6px;
+}
+
+.results_header_sel {
+       float:left;
+       position: relative;
+       top: 2px;
+       margin:0;
+}
+
+#results_header_nav1 {
+       padding: 5px 7px 6px 0px;
+       border-bottom: 1px dotted #ccc;
+}
+
+#results_header_nav1 .h1 {
+       font-size:14px;
+       font-weight:bold;
+       color:#074079;
+}
+
+#start_end_links_span {
+       font-size: 11px;
+}
+
+#start_end_links_span2 {
+       font-size: 11px;
+}
+
+.nav_arrow_fix {
+       font-size:8px;
+       position:relative;
+       top:-1px;
+}
+
+#result_table_div {
+       margin-top: 20px;
+}
+
+#result_numbers1 {
+       font-size: 11px;
+       padding-left:15px;
+}
+
+
+
+
+
+
+.icon_text {
+       text-transform:capitalize;
+}
+
+.result_table_title_cell {
+       padding-left: 7px;
+}
+
+#myopac_summary_div p {
+       margin:0;
+       margin-bottom: 10px;
+}
+
+#acct_sum_checked_table td {
+       padding-bottom:5px;
+}
+
+#zero_search_hits p {
+       margin-top:0;
+}
+
+#zero_hits_term {
+       text-transform: uppercase;
+}
+
+#zero_search_hits #spell_check_link {
+       text-transform: uppercase;
+}
+
+#zero_search_hits #zero_hits_suggestions {
+       text-transform: uppercase;
+}
+
+.results_info_table td {
+       padding-right: 10px;
+}
+
+#myopac_holds_main_table {
+       border-collapse: collapse;
+}
+
+#myopac_holds_main_table td {
+       border: 1px solid black;
+       
+}
+
+#myopac_prefs_div .data_grid {
+       border-collapse:collapse;
+}
+
+#myopac_prefs_div .data_grid td {
+       background:#f0f0f0;
+       border-bottom:3px solid white;
+       padding:6px 0px 7px 17px;
+}
+
+.header_middle {
+       height:22px;
+       font-size:14px;
+       font-weight:bold;
+       color:#074079;
+       padding: 0px 7px 0px 0px;
+       border-bottom: 1px dotted #ccc;
+}
+
+.header_middle a {
+       font-size: 12px;
+       font-weight: normal;
+}
+
+.acct_sum_row {
+       padding: 7px 15px;
+       width: 712px;
+       background: #f0f0f0;
+       margin-bottom: 2px;
+       font-size: 10px;
+       font-weight: bold;
+       text-transform: uppercase;
+}
+
+.acct_sum_row a {
+       text-transform: none;
+       font-size: 12px;
+       position:relative;
+       top:-1px;
+}
+
+.acct_sum_row .view_link {
+       font-weight: normal;
+       font-size:12px;
+}
+
+#myopac_sum_fines {
+       float:right;
+       padding: 15px 0px 0px 23px;
+       background: #f0f0f0;
+       width: 177px;
+       height: 166px;
+}
+
+.acct_holds_temp td {
+       text-align: left;
+}
+
+#acct_checked_tabs .align, #acct_holds_tabs .align, #acct_prefs_tabs .align {
+       float:left;
+       /*padding-left:10px;*/
+}
+
+#acct_checked_tabs .selected, #acct_holds_tabs .selected, #acct_prefs_tabs .selected {
+       /*background:url('/opac/skin/kcls/graphics/gray-arrow.png') left 3px no-repeat;*/
+}
+
+#acct_checked_main_header, #acct_holds_main_header, #acct_checked_hist_header, #acct_list_header, #acct_list_header_anon, #temp_list_holds {
+       font-weight:bold;
+       text-transform:uppercase;
+       font-size: 10px;
+}
+
+#acct_checked_main_header td, #acct_holds_main_header td, #acct_checked_hist_header td, #acct_list_header td, #acct_list_header_anon td, #temp_list_holds td {
+       background: #d8d8d8;
+       padding: 8px 0px 7px 0px;
+}
+
+#acct_list_header select, #acct_list_header_anon select {
+       font-weight:normal;
+       text-transform:none;
+}
+
+#acct_holds_activates_table label {
+       font-weight: bold;
+       font-size: 11px;
+       text-transform:uppercase;
+       padding-right: 5px;
+}
+
+.adv_search_font {
+       font-size: 10px;
+}
+
+.search_catalog_lbl {
+       font-size: 14px;
+}
+
+.lbl1 {
+       font-size:14px;
+       font-weight:bold;
+}
+
+.lbl2 {
+       font-size:10px;
+       font-weight:normal;
+       position:relative;
+       top:3px;
+}
+
+#myopac_tabs, #adv_search_parent {
+       background: #929292;
+       border-top:1px solid #8b8b8b;
+       padding-top:5px;
+       margin-bottom:20px;
+}
+
+#adv_search_parent {
+       margin-bottom:0px;
+}
+
+#myopac_loading {
+       width:100%;
+       text-align:center;
+       padding-top:20px;
+       font-size:16px;
+       font-weight:bold;
+}
+
+.chili_link {
+       width:100px !important;
+       text-align: center !important;
+}
+
+.chili_review div.chili_link div {
+       margin: auto;
+}
+
+/* some facet styling */
+.facetClassContainer { margin: 2px; border: 1px solid #CCC; }
+.facetClassLabelContainer { border: 1px solid #CCC; }
+.facetClassLabel { font-weight: bold; text-align: center; }
+.facetFieldContainer {  }
+.facetFieldLabel { padding-left: 2px; margin-top: 5px; margin-bottom: 5px; font-weight: bold; text-align: left; }
+.extraFacetFieldsWrapper { }
+.toggleExtraFacetFieldsButton { float: right; margin: 0px; padding: 0px; }
+.facetFieldLineCount { display: inline-block; border-right: 1px solid #CCC; color: gray; width: 3em; margin-right: 3px }
+.facetField { border-top: 1px solid #CCC; }
+.facetFields { padding-left: 5px; }
+.facetFieldLineValue { overflow: hidden; text-overflow: ellipsis; }
+
+#footer {
+       padding-top:5px;
+       padding-bottom: 10px;
+       color: white;
+       margin: auto;
+       width: 974px;
+       color: #afafaf;
+       font-size: 11px;
+}
+
+#footer a {
+       color: white;
+       color: #afafaf;
+}
+
+.color_4 {
+       text-transform: uppercase;
+       font-weight: bold;
+       font-size: 10px;
+}
index 42af934..0f3bf81 100644 (file)
@@ -57,9 +57,9 @@ function swapTabs(el) {
     if (!el) return;
 
     var tabs = [];
-    for (var i = 0; i < el.parentNode.childNodes.length) {
+    for (var i = 0; i < el.parentNode.childNodes.length; i++) {
         var node = el.parentNode.childNodes[i];
-        if (node.nodeType == 1 && node.nodeName == "a")
+        if (node.nodeType == 1 && node.nodeName.toLowerCase() == "a")
             tabs.push(node);
     }
 
diff --git a/Open-ILS/web/templates/default/kcls-wire/advanced.tt2 b/Open-ILS/web/templates/default/kcls-wire/advanced.tt2
new file mode 100644 (file)
index 0000000..0de7191
--- /dev/null
@@ -0,0 +1,50 @@
+[%  WRAPPER "default/kcls-wire/parts/base.tt2";
+    INCLUDE "default/kcls-wire/parts/topnav.tt2";
+    ctx.page_title = "Home" %]
+[% BLOCK html_head -%]
+<script type="text/javascript" src="/opac/skin/kcls-wire/js/misc.js"></script>
+<style type='text/css'>
+    .advanced_div { padding-top: 15px; }
+    #adv_global_search select { width: 13em; }
+    #adv_global_input_table select { width: 7em; }
+    .adv_adv_link { font-size: 8pt; color: red; }
+</style>
+[% END -%]
+    <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 "default/kcls-wire/parts/utils.tt2" %]
+        </div>
+        <div id="adv_search_parent">
+            <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>
+    <div id="content-wrapper">
+        <div id="main-content">
+            <div class="advanced_div">
+            [% INCLUDE "default/kcls-wire/parts/advanced_search.tt2" %]
+            </div>
+            <div style="clear:both;height:15px;"></div>        
+        </div>
+    </div>
+[% END %]
diff --git a/Open-ILS/web/templates/default/kcls-wire/parts/adv_global_row.tt2 b/Open-ILS/web/templates/default/kcls-wire/parts/adv_global_row.tt2
new file mode 100644 (file)
index 0000000..09e213b
--- /dev/null
@@ -0,0 +1,35 @@
+<!-- ****************** adv_global_row.xml ***************************** -->
+<tr id='adv_global_trow' type='input'>
+       <td align='left' width='100%' nowrap='nowrap'>
+
+               <!-- select the search class -->
+               <select name='type' style='margin-right: 7px;'>
+                       <option value='keyword' selected='selected'>&common.keyword;</option>
+                       <option value='title'>&common.title;</option>
+                       <option value='author'>&common.author;</option>
+                       <option value='subject'>&common.subject;</option>
+                       <option value='series'>&common.series;</option>
+                       <option value='bibcn'>&common.bibcn;</option>
+                       
+                       </select>
+       
+               <!-- select how to treat the text -->
+               <select name='contains' style='margin-right: 7px;'>
+                       <option value='contains'>&opac.advanced.refined.contains;</option>
+                       <option value='nocontains'>&opac.advanced.refined.nocontains;</option>
+                       <option value='exact'>&opac.advanced.refined.exact;</option>
+               </select>
+                       
+               <!-- search term -->
+               <input type='text' size='18' name='term' style='margin-right: 3px;' />
+       
+               <!-- Remove this row -->
+        <button onclick='
+            var row = this.parentNode.parentNode;
+            var tbody = row.parentNode;
+            if( tbody.getElementsByTagName("tr").length > 2 )
+                row.parentNode.removeChild(row);'>X</button>
+
+       </td>
+</tr>
+<!-- ****************** end: adv_global_row.xml ***************************** -->
diff --git a/Open-ILS/web/templates/default/kcls-wire/parts/advanced_search.tt2 b/Open-ILS/web/templates/default/kcls-wire/parts/advanced_search.tt2
new file mode 100644 (file)
index 0000000..1b6472f
--- /dev/null
@@ -0,0 +1,349 @@
+<!-- ****************** advanced_global.xml ***************************** -->
+<table id='adv_global_search' class='data_grid data_grid_center' width='100%'>
+       <tr style='border-bottom: none;'>
+
+               <!-- Contains the user-addable(?) rows to define search class, containment and text -->
+               <td valign='top' width='65%' style='border-bottom: none;'>
+                       <table width='100%' id='adv_global_input_table'>
+       
+                               <thead>
+                                       <tr><td><div style="width:100%;" class="header_middle">&advanced.search.title;</div></td></tr>
+                               </thead>
+                               <tbody id='adv_global_tbody'>
+                    [% INCLUDE "default/kcls-wire/parts/adv_global_row.tt2" %]
+
+                                       <!-- add a new row -->
+                                       <tr id='adv_global_addrow'>
+                                               <td align='left' style="padding-top:7px;">
+                                                       <a href="javascript:;" id="myopac_new_global_row" onclick='advAddGblRow();'>Add Search Row</a>
+                            <button onclick='advSubmitGlobal();' class="hide_me">&advanced.search.submit;</button>
+                                               </td>
+                                       </tr>
+
+                               </tbody>
+                       </table>
+               </td>
+       </tr>
+       <tr>
+               <td align='center'>
+               &advanced.search.library;<br /><br />
+            [% INCLUDE "default/kcls-wire/parts/libselect.tt2" %]
+                       <br /><br />
+                       <span>&result.limit2avail;</span>
+                       <input type='checkbox' id='opac.result.limit2avail'/>
+               </td>
+       </tr>
+       
+       
+       <tr>
+               <td colspan="2">
+                       <table width='100%'>
+                               <thead>
+                    <tr>
+                        <td colspan='2' align='center'>&advanced.search.filters;</td>
+                    </tr>
+                               </thead>
+                               <tbody>
+                                       <tr>
+                                               <td align='right' class="hide_me">
+                                                       <span>&advanced.item.form;</span>
+                                               </td>
+                                               <td align='left' class="hide_me">
+                                                       <select multiple='multiple' size='3' id='adv_global_item_form'>
+                                                       </select>       
+                                               </td>
+                                               <td align='right'>
+                            <span>&advanced.item.type;</span><br />
+                        </td>
+                                               <td align='left'>
+                                                       <select multiple='multiple' size='3' id='adv_global_item_type' class='hide_me'>
+                                                       </select>       
+                                                       <select multiple='multiple' size='3' id='adv_global_item_type_basic'>
+<option value=''>&opac.search.allFormats;</option>
+<option value='a'>Book</option>
+<option value='i'>Book on cassette</option>
+<option value='n'>Book on CD</option>
+<option value='x'>Download music</option>
+<option value='y'>Download video</option>
+<option value='h'>DVD</option>
+<option value='w'>eBook - Audio</option>
+<option value='v'>eBook - Text</option>
+<option value='e'>Equipment</option>
+<option value='f'>Films</option>
+<option value='o'>Kit</option>
+<option value='q'>Large print</option>
+<option value='b'>Magazine</option>
+<option value='d'>Microform</option>
+<option value='k'>Music cassette</option>
+<option value='j'>Music CD</option>
+<option value='l'>Music LP</option>
+<option value='p'>Newspaper</option>
+<option value='t'>Online</option>
+<option value='u'>Player</option>
+<option value='c'>Printed music</option>
+<option value='2'>Read along with cassette</option>
+<option value='5'>Read along with CD</option>  
+<option value='c'>Scores</option>      
+<option value='m'>Software</option>
+<option value='g'>Video</option>
+<option value='r'>3-D Object</option>
+<option value='z'>Map</option>
+<option value='s'>Slide set</option>
+
+                                                       </select>       
+                                               </td>
+
+                                               <td align='right' class="hide_me">
+                                                       <span>&advanced.literary.form;</span>
+                                                       <a id='adv_global_lit_form_link_adv' class='classic_link adv_adv_link'
+                                                               href='javascript:void(0);' onclick='
+                                                               hideMe($("adv_global_lit_form_basic"));
+                                                               unHideMe($("adv_global_lit_form"));
+                                                               hideMe(this);
+                                                               unHideMe($("adv_global_lit_form_link_basic"));
+                                                               '>&advanced.link;</a>
+
+                                                       <a id='adv_global_lit_form_link_basic' class='hide_me classic_link adv_adv_link'
+                                                               href='javascript:void(0);' onclick='
+                                                               unHideMe($("adv_global_lit_form_basic"));
+                                                               hideMe($("adv_global_lit_form"));
+                                                               unHideMe($("adv_global_lit_form_link_adv"));
+                                                               hideMe(this);
+                                                               '>&advanced.basic.link;</a>
+                                               </td>
+                                               <td align='left' class="hide_me">
+                                                       <select multiple='multiple' size='3' id='adv_global_lit_form' class='hide_me'>
+                                                       </select>       
+                                                       <select multiple='multiple' size='3' id='adv_global_lit_form_basic'>
+                                                               <option value='0 '>&advanced.non.fiction;</option>
+                                                               <option value='1'>&advanced.fiction;</option>
+                                                       </select>       
+                                               </td>
+
+                                               <td align='right'>
+                                                       <span>&advanced.language;</span>
+                                               </td>
+
+                                               <td align='left'>
+                                                       <select multiple='multiple' size='3' id='adv_global_lang'>
+                                                               <!--#include virtual="../../../../../common/xml/item_lang_options.xml"-->
+                                                       </select>
+                                               </td>
+
+                                               <td align='right' class="hide_me">
+                                                       <span>&advanced.audience;</span>
+
+                                                       <a id='adv_global_audience_link_adv' class='classic_link adv_adv_link'
+                                                               href='javascript:void(0);' onclick='
+                                                               hideMe($("adv_global_audience_basic"));
+                                                               unHideMe($("adv_global_audience"));
+                                                               hideMe(this);
+                                                               unHideMe($("adv_global_audience_link_basic"));
+                                                               '>&advanced.link;</a>
+
+                                                       <a id='adv_global_audience_link_basic' class='hide_me classic_link adv_adv_link'
+                                                               href='javascript:void(0);' onclick='
+                                                               unHideMe($("adv_global_audience_basic"));
+                                                               hideMe($("adv_global_audience"));
+                                                               unHideMe($("adv_global_audience_link_adv"));
+                                                               hideMe(this);'>&advanced.basic.link;</a>
+                                               </td>
+
+                                               <td align='left' class="hide_me">
+                                                       <select multiple='multiple' size='3' id='adv_global_audience' class='hide_me'>
+                                                       </select>
+                                                       <select multiple='multiple' size='3' id='adv_global_audience_basic'>
+                                                               <option value='e '>&advanced.adult;</option>
+                                                               <option value='abcdj'>&advanced.juvenile;</option>
+                                                               <option value='fg '>&advanced.general;</option>
+                                                       </select>
+                                               </td>
+
+                                               <td align='right' class="hide_me">
+                                                       <span>&advanced.biblevel;</span>
+                                               </td>
+                                               <td align='left' class="hide_me">
+                                                       <select multiple='multiple' size='3' id='adv_global_bib_level'>
+                                                       </select>       
+                                               </td>
+                                       </tr>
+                                       
+                                       <tr>
+                                               <td align='right'>
+                                                       <span>&advanced.filter.pubyear;</span>
+                                               </td>
+                                               <td align='left'>
+                                                       <select id='adv_global_pub_date_type' onchange='
+                                if($("adv_global_pub_date_type").selectedIndex == 3)
+                                    unHideMe($("adv_global_pub_date_2_span"));
+                                else
+                                    hideMe($("adv_global_pub_date_2_span"));'>
+                                <option value='equals' selected='selected'>&advanced.filter.pubyear.equals;</option>
+                                <option value='before'>&advanced.filter.pubyear.before;</option>
+                                <option value='after'>&advanced.filter.pubyear.after;</option>
+                                <option value='between'>&advanced.filter.pubyear.between;</option>
+                                                       </select>       
+                            <div style='margin-top:5px;'>
+                                <input id='adv_global_pub_date_1' type='text' size='4' maxlength='4'/>
+                                <span id='adv_global_pub_date_2_span' class='hide_me'>
+                                   &common.and; <input id='adv_global_pub_date_2' type='text' size='4' maxlength='4'/>
+                                </span>
+                            </div>
+                                               </td>
+                                       </tr>
+
+
+                    <!-- copy location selector -->
+                    <tr id='adv_copy_location_filter_row' class='hide_me'>
+                        <td align='right'>&opac.advanced.copy_loc_filter;</td>
+                        <td align='left' id='adv_copy_location_filter_td'>
+                            <select size='3' id='adv_copy_location_filter_select' multiple='multiple'>
+                            </select>
+                        </td>
+                    </tr>
+                               </tbody>
+                       </table>
+               </td>
+       </tr>
+
+       <tr style='border-top: none;'>
+               <td align='center' valign='top' style='border-top: none;' colspan='2'>
+
+                       <table style='border: none; width: 100%;'>
+                               <tr>
+                                       <td align='center' width='100%'>
+                                               <table class='' width='100%'>
+                       
+                                                       <thead>
+                                                               <tr>
+                                                                       <td align='center' width='50%'>&advanced.sort.criteria;</td>
+                                                                       <td align='center'></td>
+                                                               </tr>
+                                                       </thead>
+                       
+                                                       <tbody>
+                                                               <tr>
+
+                           <script language='javascript' type='text/javascript'>
+                              function __setsortsel() {
+                                 var sel = $('adv_global_sort_by')
+                                                                                  if(sel.selectedIndex == 0) {
+                                                                                          $("adv_global_sort_dir").disabled = true;
+                                                                                          $("adv_global_sort_dir").selectedIndex = 0;
+                                                                                  } else $("adv_global_sort_dir").disabled = false;
+                              }
+                           </script>
+
+                                                                       <td align=''>
+                                                                               <select id='adv_global_sort_by' onchange='__setsortsel();'>
+                                                                                       <option value='rel'>&advanced.relevance;</option>
+                                                                                       <option value='title'>&common.title;</option>
+                                                                                       <option value='author'>&common.author;</option>
+                                                                                       <option value='pubdate'>&advanced.pubdate;</option>
+                                                                               </select>
+                                                                       </td>
+                                                               </tr>
+                       
+                                                               <tr>
+
+                                                                       <td>
+                                                                               <select id='adv_global_sort_dir' disabled='disabled'>
+                                                                                       <option value='asc'>&advanced.sort.asc;</option>
+                                                                                       <option value='desc'>&advanced.sort.desc;</option>
+                                                                               </select>
+                                                                       </td>
+
+                           <!-- force the enable/disable sort dir code to run -->
+                           <script language='javascript' type='text/javascript'>__setsortsel();</script>
+                                                               </tr>
+                                                               <tr>
+                                                                       <td align='center' class="hide_me">
+                                                                               <span>&advanced.frbrize;</span>
+                                                                               <input id='adv_group_titles' type='checkbox' />
+                                                                       </td>
+                                    <td align='center'>
+
+                                    </td>
+                                                               </tr>
+                                                       </tbody>
+                                               </table>
+                                       </td>
+                               </tr>
+                       </table>
+               </td>
+
+       </tr>
+
+       <tr class='border_4_2'>
+               <td align="left" colspan='2'>
+               <img src="/opac/skin/kcls/graphics/search_btn.gif" alt="Search" onclick='advSubmitGlobal();' style="cursor:pointer;" />
+               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+               <a href="javascript:;" onclick='clearSearchBoxes();' style="position: relative; top: -9px;">Reset Form</a>
+               </td>
+       </tr>
+
+</table>
+
+
+<div id='adv_quick_search_sidebar' class='sidebar_chunk hide_me' style='text-align:center; margin-top: 20px; width:400px;'> 
+       <div id='adv_quick_search'>
+               <div class='adv_quick_search color_4'><b>&sidebar.quick.search;</b></div>
+               <div style='margin-top: 8px;'>
+                       <table><tbody><tr>
+                               <td>
+                                       <select id='adv_quick_type'>
+                                               <option value='isbn'>&opac.advanced.quick.isbn;</option>
+                                               <option value='issn'>&opac.advanced.quick.issn;</option>
+                                               <option value='cn'>&opac.advanced.quick.cn;</option>
+                                               <option value='lccn'>&opac.advanced.quick.lccn;</option>
+                                               <option value='tcn'>&opac.advanced.quick.tcn;</option>
+                                               <option value='barcode'>&opac.advanced.quick.barcode;</option>
+                                       </select>
+                               </td><td>
+                                       <input type='text' id='adv_quick_text' size='16' />
+                               </td>
+                       </tr></tbody></table>
+               </div>
+
+               <span class='hide_me' id='myopac.copy.not.found'>&sidebar.copy.not.found;</span>
+               <div style='margin-top: 8px;' class='adv_quick_search_submit'>
+               <img src="/opac/skin/kcls/graphics/search_btn.gif" alt="Search" id="adv_quick_submit" onclick='advGenericSearch();' style="cursor:pointer;" />
+                       <!-- <a id='adv_quick_submit' href='javascript:advGenericSearch();' class='classic_link'>&common.submit;</a> -->
+               </div>
+       </div>
+</div>
+
+
+<div id='adv_marc_search_sidebar' class='sidebar_chunk hide_me' style='width:400px; margin-top: 20px;'> 
+       <div class='adv_quick_search color_4'><b>&search.marc;</b></div>
+       <table style='margin: 3px; width: 100%;' id='adv_sdbar_table' class='border_4_3'>
+               <tbody>
+                       <tr>
+                               <td align="right">&search.marc.tag;</td>
+                               <td align="left"><input name='advanced.marc.tag' maxlength='3' size='3' /></td>
+                               <td align="right">&search.marc.subfield;</td>
+                               <td align="left"><input name='advanced.marc.subfield' maxlength='1' size='1' /></td>
+                       </tr>
+                       <tr>
+                               <td align="right">&search.marc.value;</td>
+                               <td colspan='3' align="left"><input name='advanced.marc.value' size='18' /></td>
+                       </tr>
+                       <tr name='crow' class='hide_me'>
+                               <td colspan='4' align='center'>
+                               <a href='javascript:void(0);' class='classic_link'
+                                       onclick='
+                                               var div = $("adv_marc_search_sidebar");
+                                               if( div.getElementsByTagName("table").length > 1 )
+                                                       div.removeChild(this.parentNode.parentNode.parentNode.parentNode);'>&common.close;</a>
+                               </td>
+                       </tr>
+                                                       
+               </tbody>
+       </table>
+       <div id='adv_marc_submit' class='adv_quick_search_submit'>
+               <a style='margin-right: 4px; position:relative;top:-10px;' class='classic_link' href='javascript:advAddMARC();'>&search.marc.add.row;</a>
+               <!-- <a style='margin-left: 4px;' class='classic_link' href='javascript:advMARCRun();'>&common.submit;</a> -->
+               <img alt="Search" src="/opac/skin/kcls/graphics/search_btn.gif" onclick='advMARCRun();' style="cursor:pointer;" />
+       </div>
+</div>
+<!-- ****************** end: advanced_global.xml ***************************** -->
index 061b306..a4a23b6 100644 (file)
@@ -1,13 +1,12 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
-]>
+<!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="/opac/skin/kcls/css/style.css" />
-        <link rel="stylesheet" type="text/css" href="/opac/skin/kcls/css/contentslider.css" />
+        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+        <link rel="stylesheet" type="text/css" href="/opac/skin/kcls-wire/css/style.css" />
+        <link rel="stylesheet" type="text/css" href="/opac/skin/kcls-wire/css/contentslider.css" />
         <title>Catalog - King County Library - [% ctx.page_title %]</title>
         <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>