Index: lams_central/src/web/template/css/aqua.css =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/css/Attic/aqua.css,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/src/web/template/css/aqua.css 18 Jan 2006 00:49:37 -0000 1.1 @@ -0,0 +1,203 @@ +/*This is a theme CSS file. Which one will be loaded into the JSP depends on a variable passed in from FLASH.*/ + +body { + font-family: Verdana, Arial, Helvetica, sans-serif; + background-color: #A2BCF9; + font-size: small; +} + +h1 { + font-size: large; + background-color: #B4C8FE; + border-top-width: 1px; + border-top-style: solid; + border-top-color: #999999; + border-left-width: 1px; + border-left-style: solid; + border-left-color: #999999; +} +h2 { + font-size: small; + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: #666666; + margin-bottom: 1px; + + +} + +th { + font-size: small; + color: #FFFFFF; + background-color: #075A8B; + text-align: left; +} + +.formtablecontainer{ + text-align:center; +} + +.datatablecontainer{ + width:100%; +} + +.buttoncontainer { + +} + + +input, select, textarea { + font-family: 'Verdana', 'Arial', 'Helvetica', sans-serif; + font-size: small; +} + +.forms { + border: 1px solid #999999; + font-size: small; + font-style: normal; + width: 100%; +} + +.formlabel { + font-size: small; + font-style: normal; + text-align: right; + width: 20%; +} + +.formcontrol { + font-size: small; + font-style: normal; + text-align: left; +} + +/*tab styles*/ +.tab{ + text-align:center; +} + +.tab a{ + font-size: 11px; + color: #000000; + text-decoration:none; +} +.tab a:hover{ + font-size: 11px; + color: #000000; + text-decoration:underline +} +.tabcentre{ + background-image:url(../images/aqua_tab_centre.gif); + background-repeat:repeat-x; +} + + +.tabcentre_selected{ + background-image:url(../images/aqua_tab_s_centre.gif); + background-repeat:repeat-x; +} + + + +/*Tab content containers*/ +.tabbody{ + + + background-color : #D9E8FF; + float:left; + + margin : 0; + border-right-width: 1px; + border-left-width: 1px; + border-right-style: solid; + border-left-style: solid; + border-right-color: #0D3F59; + border-left-color: #0D3F59; + + border-bottom-width: 1px; + border-bottom-style: solid; + border-bottom-color: #0D3F59; + padding:5px; + +} + + +/*specific styles for the content divs of the tabs*/ +.content_b{ + z-index: 0; + position:relative; + visibility:visible; +} +.content_a{ + z-index: 0; + position:absolute; + visibility: hidden; +} +.content_i{ + z-index: 0; + position:absolute; + visibility: hidden; +} +/*end tabs*/ + +a.button{ + float:right; + font-size: 12px; + color: #000000; + text-decoration:none; + text-align: center; + background-color:#B4C8FE; + margin: 2px 5px 2px 5px; + padding:3px; + width: 80px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-style: solid; + border-right-style: solid; + border-bottom-style: solid; + border-left-style: solid; + border-top-color: #FFFFFF; + border-right-color: #0D3F59; + border-bottom-color: #0D3F59; + border-left-color: #FFFFFF; +} + + + +a.button:link{ + color: #000000; + text-decoration:none; + background-color:#B4C8FE; +} + +a.button:visited{ + color: #000000; + text-decoration:none; + background-color:#B4C8FE; +} + + + +a.button:hover{ + text-decoration:none; + background-color:#FFFFFF; +} + +a.button:active{ + text-decoration:none; + background-color:#CCCCCC; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px; + border-left-width: 1px; + border-top-style: solid; + border-right-style: solid; + border-bottom-style: solid; + border-left-style: solid; + border-bottom-color: #FFFFFF; + border-left-color: #0D3F59; + border-top-color: #0D3F59; + border-right-color: #FFFFFF; +} Index: lams_central/src/web/template/css/base.css =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/css/Attic/base.css,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/src/web/template/css/base.css 18 Jan 2006 00:49:37 -0000 1.1 @@ -0,0 +1,3 @@ +/* +This is the Base CSS, it will define the location of images etc and other core, non user configurable items. (Admin configurable) +*/ \ No newline at end of file Index: lams_central/src/web/template/css/xp.css =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/css/Attic/xp.css,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/src/web/template/css/xp.css 18 Jan 2006 00:49:37 -0000 1.1 @@ -0,0 +1,3 @@ +/* +Another theme CSS, would have diufferent colours and layout techniques +*/ \ No newline at end of file Index: lams_central/src/web/template/images/aqua_tab.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/aqua_tab.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/aqua_tab_centre.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/aqua_tab_centre.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/aqua_tab_left.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/aqua_tab_left.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/aqua_tab_right.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/aqua_tab_right.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/aqua_tab_s_centre.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/aqua_tab_s_centre.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/aqua_tab_s_left.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/aqua_tab_s_left.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/aqua_tab_s_right.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/aqua_tab_s_right.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/aqua_tab_selected.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/aqua_tab_selected.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/tab.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/tab.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/tab_selected.gif =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/Attic/tab_selected.gif,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/aqua_tab_centre.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/aqua_tab_centre.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/aqua_tab_left.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/aqua_tab_left.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/aqua_tab_right.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/aqua_tab_right.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/aqua_tab_s_centre.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/aqua_tab_s_centre.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/aqua_tab_s_left.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/aqua_tab_s_left.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/aqua_tab_s_right.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/aqua_tab_s_right.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tab.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tab.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tab_selected.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tab_selected.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r1_c1.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r1_c1.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r2_c1.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r2_c1.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r2_c3.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r2_c3.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r3_c3.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r3_c3.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r3_c5.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r3_c5.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r3_c6.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r3_c6.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r3_c7.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r3_c7.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r4_c2.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r4_c2.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r4_c4.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r4_c4.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/images/_notes/tabs_r4_c6.gif.mno =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/images/_notes/Attic/tabs_r4_c6.gif.mno,v diff -u Binary files differ Index: lams_central/src/web/template/js/tabcontroller.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/js/Attic/tabcontroller.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/src/web/template/js/tabcontroller.js 18 Jan 2006 00:49:37 -0000 1.1 @@ -0,0 +1,137 @@ + +var tabsContents = new Array(); +var tab_lefts = new Array(); +//TODO:we need to set this variable, maybe from the praent or direct from JSP/Java +var themeName = "aqua"; +var currentTab = ""; + +function initTabs(){ + //put all the tab contents in an array + tabsContents.push(document.getElementById('content_b')); + tabsContents.push(document.getElementById('content_a')); + tabsContents.push(document.getElementById('content_i')); + + //position the advanced (a) and instructions (i) layers over the basic (b) layer + var bTabC_x = findPosX(tabsContents[0]); + var bTabC_y = findPosY(tabsContents[0]); + + tabsContents[1].style.left = bTabC_x+'px'; + tabsContents[1].style.top = bTabC_y+'px'; + tabsContents[2].style.left = bTabC_x+'px'; + tabsContents[2].style.top = bTabC_y+'px'; + tabsContents[1].style.visibility="hidden"; + tabsContents[2].style.visibility="hidden"; +} + +function deSelectTab(tabId){ + //swap images of side parts + var tl = document.getElementById("tab_left_"+tabId); + tl.src="../images/"+themeName+"_tab_left.gif"; + tl.height = 22; + var tr = document.getElementById("tab_right_"+tabId); + tr.src="../images/"+themeName+"_tab_right.gif"; + tr.height = 22; + //swap css of centre class + var tc = document.getElementById("tab_tbl_centre_"+tabId); + tc.className="tab tabcentre"; +} + +function selectTab(tabId){ + //alert('selecttab'); + //swap images of side parts + var tl = document.getElementById("tab_left_"+tabId); + tl.src="../images/"+themeName+"_tab_s_left.gif"; + tl.height = 25; + var tr = document.getElementById("tab_right_"+tabId); + tr.src="../images/"+themeName+"_tab_s_right.gif"; + tr.height = 25; + //swap css of centre class + var tc = document.getElementById("tab_tbl_centre_"+tabId); + tc.className="tab tabcentre_selected"; + + //if(tabId=="a"){ + //enableFCKEditor(); + //} + +} + +function enableFCKEditor(){ + //alert('enableFCKEditor'); + // This is a hack for Gecko... it stops editing when the editor is hidden. + if ( !document.all ){ + var oEditor = FCKeditorAPI.GetInstance( 'FCKeditor1' ) ; + + if ( oEditor.EditMode == FCK_EDITMODE_WYSIWYG ) + { + oEditor.SwitchEditMode() ; + oEditor.SwitchEditMode() ; + } + } +} + + +function showTab(tabId){ + if (currentTab == tabId){ + return; + }else{ + currentTab = tabId; + } + + selectTab(tabId); + + if(tabId == "i"){ + deSelectTab("a"); + deSelectTab("b"); + }else if(tabId=="a"){ + deSelectTab("i"); + deSelectTab("b"); + }else{ + deSelectTab("i"); + deSelectTab("a"); + } + + //sort out the content + var contentId = "content_"+tabId; + for(var i=0; i < tabsContents.length; i++){ + if(tabsContents[i].id==contentId){ + //document.getElementById(tabsContents[i].id).style.display = '' ; + tabsContents[i].style.visibility="visible"; + }else{ + //document.getElementById(tabsContents[i].id).style.display = 'none' ; + tabsContents[i].style.visibility="hidden"; + } + } + + + +} + +function findPosX(obj) { + var curleft = 0; + if(obj.offsetParent) + while(1) + { + curleft += obj.offsetLeft; + if(!obj.offsetParent) + break; + obj = obj.offsetParent; + } + else if(obj.x) + curleft += obj.x; + return curleft; + } + +function findPosY(obj) { + var curtop = 0; + if(obj.offsetParent) + while(1) + { + curtop += obj.offsetTop; + if(!obj.offsetParent) + break; + obj = obj.offsetParent; + } + else if(obj.y) + curtop += obj.y; + return curtop; + } Index: lams_central/src/web/template/lams_example_tool/author_page.html =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/lams_example_tool/Attic/author_page.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/src/web/template/lams_example_tool/author_page.html 18 Jan 2006 00:49:37 -0000 1.1 @@ -0,0 +1,290 @@ + + + + + + +sample tool + + + + + + + + + + +
+

Tool title

+ + + + + + + + + +
+ + + + + + + +
+ +
+ + + + + + + +
+ +
+ + + + + + + +
+ +
+ + + + +
+

Basic tab content

+
+ + + + + + + + + + +
Field label
Different label
+
+

Another section heading

+
+ + + + + + + + + + + + + + + + + +
Option label
Option label
Radio label
Radio label
+
+

Data display

+
+ + + + + + + + + + + + + + + + + +
A colum header The other one
Some data A related fact
Intersting data An unrelated fact
Boring data Way to boil an egg
+ + + + + + + +
+ +
+Cancel +OK + +
+ + + + +
+

Advanced tab content

+
+ + + + + + + + + + +
Field label
Different label
+
+

Another section heading

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Option label
Option label
Radio label
  
Text area + +
  
Combo
+
+ +

FCK Editor

+ + + +
+Cancel +OK + +
+ + +
+

Instructions tab content

+
+ + + + + + + + + + +
Field label
Different label
+
+

Some flash content

+
+ + + + +
+ + + + + +
+
+

Data display

+
+ + + + + + + + + + + + + + + + + +
A colum header The other one
Some data A related fact
Intersting data An unrelated fact
Boring data Way to boil an egg
+
+ +
+Cancel +OK + +
+ + + + + +

+
+ + Index: lams_central/src/web/template/lams_example_tool/author_page_basic.html =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/lams_example_tool/Attic/author_page_basic.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/src/web/template/lams_example_tool/author_page_basic.html 18 Jan 2006 00:49:37 -0000 1.1 @@ -0,0 +1,285 @@ + + + + + + +sample tool + + + + + + + + + +
+

Tool title

+ + + + + + + + + +
+ + + + + + + +
Basic
+ +
+ + + + + + + +
+ +
+ + + + + + + +
Instructions
+ +
+ + + + +
+

Basic tab content

+
+ + + + + + + + + + +
Field label
Different label
+
+

Another section heading

+
+ + + + + + + + + + + + + + + + + +
Option label
Option label
Radio label
Radio label
+
+

Data display

+
+ + + + + + + + + + + + + + + + + +
A colum header The other one
Some data A related fact
Intersting data An unrelated fact
Boring data Way to boil an egg
+ +
+ +
+Cancel +OK + +
+ + + + +
+

Advanced tab content

+
+ + + + + + + + + + +
Field label
Different label
+
+

Another section heading

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Option label
Option label
Radio label
  
Text area + +
  
Combo
+
+ +
+Cancel +OK + +
+ + +
+

Instructions tab content

+
+ + + + + + + + + + +
Field label
Different label
+
+

A photo

+ +

Data display

+
+ + + + + + + + + + + + + + + + + +
A colum header The other one
Some data A related fact
Intersting data An unrelated fact
Boring data Way to boil an egg
+
+

FCK Editor

+ + + +
+Cancel +OK + +
+ + + + + +

+
+ + Index: lams_central/src/web/template/lams_example_tool/author_page_seperate.html =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/lams_example_tool/Attic/author_page_seperate.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/src/web/template/lams_example_tool/author_page_seperate.html 18 Jan 2006 00:49:37 -0000 1.1 @@ -0,0 +1,150 @@ + + + + + + +sample tool + + + + + + + + + +
+

Tool title

+ + + + + + + + + +
+ + + + + + + +
Basic
+ +
+ + + + + + + +
+ +
+ + + + + + + +
Instructions
+ +
+ + + + +
+

Basic tab content

+
+ + + + + + + + + + +
Field label
Different label
+
+

Another section heading

+
+ + + + + + + + + + + + + + + + + +
Option label
Option label
Radio label
Radio label
+
+

FCK Editor

+ + + +
+Cancel +OK + +
+ + + + + + +

+
+ + Index: lams_central/src/web/template/lams_example_tool/css/tool_custom.css =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/lams_example_tool/css/Attic/tool_custom.css,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/src/web/template/lams_example_tool/css/tool_custom.css 18 Jan 2006 00:49:37 -0000 1.1 @@ -0,0 +1,3 @@ +/* +If a tool needs to have any styles defined beyond the base and theme css it will go in here +*/ \ No newline at end of file Index: lams_central/src/web/template/lams_example_tool/images/article_thumb1726_148x113.jpg =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/lams_example_tool/images/Attic/article_thumb1726_148x113.jpg,v diff -u Binary files differ Index: lams_central/src/web/template/lams_example_tool/images/jenny.avi =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/web/template/lams_example_tool/images/Attic/jenny.avi,v diff -u Binary files differ