Index: lams_central/src/web/template/css/aqua.css
===================================================================
diff -u
--- lams_central/src/web/template/css/aqua.css (revision 0)
+++ lams_central/src/web/template/css/aqua.css (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -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
===================================================================
diff -u
--- lams_central/src/web/template/css/base.css (revision 0)
+++ lams_central/src/web/template/css/base.css (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -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
===================================================================
diff -u
--- lams_central/src/web/template/css/xp.css (revision 0)
+++ lams_central/src/web/template/css/xp.css (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -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/_notes/aqua_tab_centre.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/aqua_tab_centre.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/aqua_tab_centre.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/aqua_tab_left.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/aqua_tab_left.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/aqua_tab_left.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/aqua_tab_right.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/aqua_tab_right.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/aqua_tab_right.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/aqua_tab_s_centre.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/aqua_tab_s_centre.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/aqua_tab_s_centre.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/aqua_tab_s_left.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/aqua_tab_s_left.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/aqua_tab_s_left.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/aqua_tab_s_right.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/aqua_tab_s_right.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/aqua_tab_s_right.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tab.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tab.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tab.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tab_selected.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tab_selected.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tab_selected.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r1_c1.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r1_c1.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r1_c1.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r2_c1.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r2_c1.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r2_c1.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r2_c3.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r2_c3.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r2_c3.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r3_c3.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r3_c3.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r3_c3.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r3_c5.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r3_c5.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r3_c5.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r3_c6.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r3_c6.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r3_c6.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r3_c7.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r3_c7.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r3_c7.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r4_c2.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r4_c2.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r4_c2.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r4_c4.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r4_c4.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r4_c4.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/_notes/tabs_r4_c6.gif.mno
===================================================================
diff -u
--- lams_central/src/web/template/images/_notes/tabs_r4_c6.gif.mno (revision 0)
+++ lams_central/src/web/template/images/_notes/tabs_r4_c6.gif.mno (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,5 @@
+
+
+
+
+
Index: lams_central/src/web/template/images/aqua_tab.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/images/aqua_tab_centre.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/images/aqua_tab_left.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/images/aqua_tab_right.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/images/aqua_tab_s_centre.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/images/aqua_tab_s_left.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/images/aqua_tab_s_right.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/images/aqua_tab_selected.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/images/tab.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/images/tab_selected.gif
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/js/tabcontroller.js
===================================================================
diff -u
--- lams_central/src/web/template/js/tabcontroller.js (revision 0)
+++ lams_central/src/web/template/js/tabcontroller.js (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -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
===================================================================
diff -u
--- lams_central/src/web/template/lams_example_tool/author_page.html (revision 0)
+++ lams_central/src/web/template/lams_example_tool/author_page.html (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,290 @@
+
+
+
+
+
+
+sample tool
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_central/src/web/template/lams_example_tool/author_page_basic.html
===================================================================
diff -u
--- lams_central/src/web/template/lams_example_tool/author_page_basic.html (revision 0)
+++ lams_central/src/web/template/lams_example_tool/author_page_basic.html (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,285 @@
+
+
+
+
+
+
+sample tool
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_central/src/web/template/lams_example_tool/author_page_seperate.html
===================================================================
diff -u
--- lams_central/src/web/template/lams_example_tool/author_page_seperate.html (revision 0)
+++ lams_central/src/web/template/lams_example_tool/author_page_seperate.html (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -0,0 +1,150 @@
+
+
+
+
+
+
+sample tool
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_central/src/web/template/lams_example_tool/css/tool_custom.css
===================================================================
diff -u
--- lams_central/src/web/template/lams_example_tool/css/tool_custom.css (revision 0)
+++ lams_central/src/web/template/lams_example_tool/css/tool_custom.css (revision 855a82a382534668d78443c7e29f7e2f95925bcd)
@@ -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
===================================================================
diff -u
Binary files differ
Index: lams_central/src/web/template/lams_example_tool/images/jenny.avi
===================================================================
diff -u
Binary files differ