http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/CommonMessages_de.xml ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/CommonMessages_de.xml b/content/doc/r3.5.4-beta/skin/CommonMessages_de.xml new file mode 100644 index 0000000..bc46119 --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/CommonMessages_de.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<catalogue> + <message key="Font size:">Schriftgr�sse:</message> + <message key="Last Published:">Zuletzt ver�ffentlicht:</message> + <message key="Search">Suche:</message> + <message key="Search the site with">Suche auf der Seite mit</message> +</catalogue>
http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/CommonMessages_en_US.xml ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/CommonMessages_en_US.xml b/content/doc/r3.5.4-beta/skin/CommonMessages_en_US.xml new file mode 100644 index 0000000..88dfe14 --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/CommonMessages_en_US.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<catalogue> + <message key="Font size:">Font size:</message> + <message key="Last Published:">Last Published:</message> + <message key="Search">Search</message> + <message key="Search the site with">Search site with</message> +</catalogue> http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/CommonMessages_es.xml ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/CommonMessages_es.xml b/content/doc/r3.5.4-beta/skin/CommonMessages_es.xml new file mode 100644 index 0000000..63be671 --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/CommonMessages_es.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<catalogue> + <message key="Font size:">Tama�o del texto:</message> + <message key="Last Published:">Fecha de publicaci�n:</message> + <message key="Search">Buscar</message> + <message key="Search the site with">Buscar en</message> +</catalogue> http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/CommonMessages_fr.xml ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/CommonMessages_fr.xml b/content/doc/r3.5.4-beta/skin/CommonMessages_fr.xml new file mode 100644 index 0000000..622569a --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/CommonMessages_fr.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<catalogue> + <message key="Font size:">Taille :</message> + <message key="Last Published:">Derni�re publication :</message> + <message key="Search">Rechercher</message> + <message key="Search the site with">Rechercher sur le site avec</message> +</catalogue> http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/basic.css ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/basic.css b/content/doc/r3.5.4-beta/skin/basic.css new file mode 100644 index 0000000..01c383d --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/basic.css @@ -0,0 +1,167 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * General + */ + +img { border: 0; } + +#content table { + border: 0; + width: 100%; +} +/*Hack to get IE to render the table at 100%*/ +* html #content table { margin-left: -3px; } + +#content th, +#content td { + margin: 0; + padding: 0; + vertical-align: top; +} + +.clearboth { + clear: both; +} + +.note, .warning, .fixme { + clear:right; + border: solid black 1px; + margin: 1em 3em; +} + +.note .label { + background: #369; + color: white; + font-weight: bold; + padding: 5px 10px; +} +.note .content { + background: #F0F0FF; + color: black; + line-height: 120%; + font-size: 90%; + padding: 5px 10px; +} +.warning .label { + background: #C00; + color: white; + font-weight: bold; + padding: 5px 10px; +} +.warning .content { + background: #FFF0F0; + color: black; + line-height: 120%; + font-size: 90%; + padding: 5px 10px; +} +.fixme .label { + background: #C6C600; + color: black; + font-weight: bold; + padding: 5px 10px; +} +.fixme .content { + padding: 5px 10px; +} + +/** + * Typography + */ + +body { + font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif; + font-size: 100%; +} + +#content { + font-family: Georgia, Palatino, Times, serif; + font-size: 95%; +} +#tabs { + font-size: 70%; +} +#menu { + font-size: 80%; +} +#footer { + font-size: 70%; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; + font-weight: bold; + margin-top: 1em; + margin-bottom: .5em; +} + +h1 { + margin-top: 0; + margin-bottom: 1em; + font-size: 1.4em; +} +#content h1 { + font-size: 160%; + margin-bottom: .5em; +} +#menu h1 { + margin: 0; + padding: 10px; + background: #336699; + color: white; +} +h2 { font-size: 120%; } +h3 { font-size: 100%; } +h4 { font-size: 90%; } +h5 { font-size: 80%; } +h6 { font-size: 75%; } + +p { + line-height: 120%; + text-align: left; + margin-top: .5em; + margin-bottom: 1em; +} + +#content li, +#content th, +#content td, +#content li ul, +#content li ol{ + margin-top: .5em; + margin-bottom: .5em; +} + + +#content li li, +#minitoc-area li{ + margin-top: 0em; + margin-bottom: 0em; +} + +#content .attribution { + text-align: right; + font-style: italic; + font-size: 85%; + margin-top: 1em; +} + +.codefrag { + font-family: "Courier New", Courier, monospace; + font-size: 110%; +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/breadcrumbs-optimized.js ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/breadcrumbs-optimized.js b/content/doc/r3.5.4-beta/skin/breadcrumbs-optimized.js new file mode 100644 index 0000000..507612a --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/breadcrumbs-optimized.js @@ -0,0 +1,90 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +var PREPREND_CRUMBS=new Array(); +var link1="@skinconfig.trail.link1.name@"; +var link2="@skinconfig.trail.link2.name@"; +var link3="@skinconfig.trail.link3.name@"; +if(!(link1=="")&&!link1.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link1, @skinconfig.trail.link1.href@ ) ); } +if(!(link2=="")&&!link2.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link2, @skinconfig.trail.link2.href@ ) ); } +if(!(link3=="")&&!link3.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link3, @skinconfig.trail.link3.href@ ) ); } +var DISPLAY_SEPARATOR=" > "; +var DISPLAY_PREPREND=" > "; +var DISPLAY_POSTPREND=":"; +var CSS_CLASS_CRUMB="breadcrumb"; +var CSS_CLASS_TRAIL="breadcrumbTrail"; +var CSS_CLASS_SEPARATOR="crumbSeparator"; +var FILE_EXTENSIONS=new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" ); +var PATH_SEPARATOR="/"; + +function sc(s) { + var l=s.toLowerCase(); + return l.substr(0,1).toUpperCase()+l.substr(1); +} +function getdirs() { + var t=document.location.pathname.split(PATH_SEPARATOR); + var lc=t[t.length-1]; + for(var i=0;i < FILE_EXTENSIONS.length;i++) + { + if(lc.indexOf(FILE_EXTENSIONS[i])) + return t.slice(1,t.length-1); } + return t.slice(1,t.length); +} +function getcrumbs( d ) +{ + var pre = "/"; + var post = "/"; + var c = new Array(); + if( d != null ) + { + for(var i=0;i < d.length;i++) { + pre+=d[i]+postfix; + c.push(new Array(d[i],pre)); } + } + if(PREPREND_CRUMBS.length > 0 ) + return PREPREND_CRUMBS.concat( c ); + return c; +} +function gettrail( c ) +{ + var h=DISPLAY_PREPREND; + for(var i=0;i < c.length;i++) + { + h+='<a href="'+c[i][1]+'" >'+sc(c[i][0])+'</a>'; + if(i!=(c.length-1)) + h+=DISPLAY_SEPARATOR; } + return h+DISPLAY_POSTPREND; +} + +function gettrailXHTML( c ) +{ + var h='<span class="'+CSS_CLASS_TRAIL+'">'+DISPLAY_PREPREND; + for(var i=0;i < c.length;i++) + { + h+='<a href="'+c[i][1]+'" class="'+CSS_CLASS_CRUMB+'">'+sc(c[i][0])+'</a>'; + if(i!=(c.length-1)) + h+='<span class="'+CSS_CLASS_SEPARATOR+'">'+DISPLAY_SEPARATOR+'</span>'; } + return h+DISPLAY_POSTPREND+'</span>'; +} + +if(document.location.href.toLowerCase().indexOf("http://")==-1) + document.write(gettrail(getcrumbs())); +else + document.write(gettrail(getcrumbs(getdirs()))); + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/breadcrumbs.js ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/breadcrumbs.js b/content/doc/r3.5.4-beta/skin/breadcrumbs.js new file mode 100644 index 0000000..aea80ec --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/breadcrumbs.js @@ -0,0 +1,237 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * This script, when included in a html file, builds a neat breadcrumb trail + * based on its url. That is, if it doesn't contains bugs (I'm relatively + * sure it does). + * + * Typical usage: + * <script type="text/javascript" language="JavaScript" src="breadcrumbs.js"></script> + */ + +/** + * IE 5 on Mac doesn't know Array.push. + * + * Implement it - courtesy to fritz. + */ +var abc = new Array(); +if (!abc.push) { + Array.prototype.push = function(what){this[this.length]=what} +} + +/* ======================================================================== + CONSTANTS + ======================================================================== */ + +/** + * Two-dimensional array containing extra crumbs to place at the front of + * the trail. Specify first the name of the crumb, then the URI that belongs + * to it. You'll need to modify this for every domain or subdomain where + * you use this script (you can leave it as an empty array if you wish) + */ +var PREPREND_CRUMBS = new Array(); + +var link1 = "@skinconfig.trail.link1.name@"; +var link2 = "@skinconfig.trail.link2.name@"; +var link3 = "@skinconfig.trail.link3.name@"; + +var href1 = "@skinconfig.trail.link1.href@"; +var href2 = "@skinconfig.trail.link2.href@"; +var href3 = "@skinconfig.trail.link3.href@"; + + if(!(link1=="")&&!link1.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link1, href1 ) ); + } + if(!(link2=="")&&!link2.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link2, href2 ) ); + } + if(!(link3=="")&&!link3.indexOf( "@" ) == 0){ + PREPREND_CRUMBS.push( new Array( link3, href3 ) ); + } + +/** + * String to include between crumbs: + */ +var DISPLAY_SEPARATOR = " > "; +/** + * String to include at the beginning of the trail + */ +var DISPLAY_PREPREND = " > "; +/** + * String to include at the end of the trail + */ +var DISPLAY_POSTPREND = ""; + +/** + * CSS Class to use for a single crumb: + */ +var CSS_CLASS_CRUMB = "breadcrumb"; + +/** + * CSS Class to use for the complete trail: + */ +var CSS_CLASS_TRAIL = "breadcrumbTrail"; + +/** + * CSS Class to use for crumb separator: + */ +var CSS_CLASS_SEPARATOR = "crumbSeparator"; + +/** + * Array of strings containing common file extensions. We use this to + * determine what part of the url to ignore (if it contains one of the + * string specified here, we ignore it). + */ +var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" ); + +/** + * String that separates parts of the breadcrumb trail from each other. + * When this is no longer a slash, I'm sure I'll be old and grey. + */ +var PATH_SEPARATOR = "/"; + +/* ======================================================================== + UTILITY FUNCTIONS + ======================================================================== */ +/** + * Capitalize first letter of the provided string and return the modified + * string. + */ +function sentenceCase( string ) +{ return string; + //var lower = string.toLowerCase(); + //return lower.substr(0,1).toUpperCase() + lower.substr(1); +} + +/** + * Returns an array containing the names of all the directories in the + * current document URL + */ +function getDirectoriesInURL() +{ + var trail = document.location.pathname.split( PATH_SEPARATOR ); + + // check whether last section is a file or a directory + var lastcrumb = trail[trail.length-1]; + for( var i = 0; i < FILE_EXTENSIONS.length; i++ ) + { + if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) ) + { + // it is, remove it and send results + return trail.slice( 1, trail.length-1 ); + } + } + + // it's not; send the trail unmodified + return trail.slice( 1, trail.length ); +} + +/* ======================================================================== + BREADCRUMB FUNCTIONALITY + ======================================================================== */ +/** + * Return a two-dimensional array describing the breadcrumbs based on the + * array of directories passed in. + */ +function getBreadcrumbs( dirs ) +{ + var prefix = "/"; + var postfix = "/"; + + // the array we will return + var crumbs = new Array(); + + if( dirs != null ) + { + for( var i = 0; i < dirs.length; i++ ) + { + prefix += dirs[i] + postfix; + crumbs.push( new Array( dirs[i], prefix ) ); + } + } + + // preprend the PREPREND_CRUMBS + if(PREPREND_CRUMBS.length > 0 ) + { + return PREPREND_CRUMBS.concat( crumbs ); + } + + return crumbs; +} + +/** + * Return a string containing a simple text breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrail( crumbs ) +{ + var xhtml = DISPLAY_PREPREND; + + for( var i = 0; i < crumbs.length; i++ ) + { + xhtml += '<a href="' + crumbs[i][1] + '" >'; + xhtml += unescape( crumbs[i][0] ) + '</a>'; + if( i != (crumbs.length-1) ) + { + xhtml += DISPLAY_SEPARATOR; + } + } + + xhtml += DISPLAY_POSTPREND; + + return xhtml; +} + +/** + * Return a string containing an XHTML breadcrumb trail based on the + * two-dimensional array passed in. + */ +function getCrumbTrailXHTML( crumbs ) +{ + var xhtml = '<span class="' + CSS_CLASS_TRAIL + '">'; + xhtml += DISPLAY_PREPREND; + + for( var i = 0; i < crumbs.length; i++ ) + { + xhtml += '<a href="' + crumbs[i][1] + '" class="' + CSS_CLASS_CRUMB + '">'; + xhtml += unescape( crumbs[i][0] ) + '</a>'; + if( i != (crumbs.length-1) ) + { + xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + DISPLAY_SEPARATOR + '</span>'; + } + } + + xhtml += DISPLAY_POSTPREND; + xhtml += '</span>'; + + return xhtml; +} + +/* ======================================================================== + PRINT BREADCRUMB TRAIL + ======================================================================== */ + +// check if we're local; if so, only print the PREPREND_CRUMBS +if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 ) +{ + document.write( getCrumbTrail( getBreadcrumbs() ) ); +} +else +{ + document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) ); +} + http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/fontsize.js ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/fontsize.js b/content/doc/r3.5.4-beta/skin/fontsize.js new file mode 100644 index 0000000..11722bf --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/fontsize.js @@ -0,0 +1,166 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +function init() +{ //embedded in the doc + //ndeSetTextSize(); +} + +function checkBrowser(){ + if (!document.getElementsByTagName){ + return true; + } + else{ + return false; + } +} + + +function ndeSetTextSize(chgsize,rs) +{ + var startSize; + var newSize; + + if (!checkBrowser) + { + return; + } + + startSize = parseInt(ndeGetDocTextSize()); + + if (!startSize) + { + startSize = 16; + } + + switch (chgsize) + { + case 'incr': + newSize = startSize + 2; + break; + + case 'decr': + newSize = startSize - 2; + break; + + case 'reset': + if (rs) {newSize = rs;} else {newSize = 16;} + break; + + default: + try{ + newSize = parseInt(ndeReadCookie("nde-textsize")); + } + catch(e){ + alert(e); + } + + if (!newSize || newSize == 'NaN') + { + newSize = startSize; + } + break; + + } + + if (newSize < 10) + { + newSize = 10; + } + + newSize += 'px'; + + document.getElementsByTagName('html')[0].style.fontSize = newSize; + document.getElementsByTagName('body')[0].style.fontSize = newSize; + + ndeCreateCookie("nde-textsize", newSize, 365); +} + +function ndeGetDocTextSize() +{ + if (!checkBrowser) + { + return 0; + } + + var size = 0; + var body = document.getElementsByTagName('body')[0]; + + if (body.style && body.style.fontSize) + { + size = body.style.fontSize; + } + else if (typeof(getComputedStyle) != 'undefined') + { + size = getComputedStyle(body,'').getPropertyValue('font-size'); + } + else if (body.currentStyle) + { + size = body.currentStyle.fontSize; + } + + //fix IE bug + if( isNaN(size)){ + if(size.substring(size.length-1)=="%"){ + return + } + + } + + return size; + +} + + + +function ndeCreateCookie(name,value,days) +{ + var cookie = name + "=" + value + ";"; + + if (days) + { + var date = new Date(); + date.setTime(date.getTime()+(days*24*60*60*1000)); + cookie += " expires=" + date.toGMTString() + ";"; + } + cookie += " path=/"; + + document.cookie = cookie; + +} + +function ndeReadCookie(name) +{ + var nameEQ = name + "="; + var ca = document.cookie.split(';'); + + + for(var i = 0; i < ca.length; i++) + { + var c = ca[i]; + while (c.charAt(0) == ' ') + { + c = c.substring(1, c.length); + } + + ctest = c.substring(0,name.length); + + if(ctest == name){ + return c.substring(nameEQ.length,c.length); + } + } + return null; +} http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/getBlank.js ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/getBlank.js b/content/doc/r3.5.4-beta/skin/getBlank.js new file mode 100644 index 0000000..d9978c0 --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/getBlank.js @@ -0,0 +1,40 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * getBlank script - when included in a html file and called from a form text field, will set the value of this field to "" + * if the text value is still the standard value. + * getPrompt script - when included in a html file and called from a form text field, will set the value of this field to the prompt + * if the text value is empty. + * + * Typical usage: + * <script type="text/javascript" language="JavaScript" src="getBlank.js"></script> + * <input type="text" id="query" value="Search the site:" onFocus="getBlank (this, 'Search the site:');" onBlur="getBlank (this, 'Search the site:');"/> + */ +<!-- +function getBlank (form, stdValue){ +if (form.value == stdValue){ + form.value = ''; + } +return true; +} +function getPrompt (form, stdValue){ +if (form.value == ''){ + form.value = stdValue; + } +return true; +} +//--> http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/getMenu.js ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/getMenu.js b/content/doc/r3.5.4-beta/skin/getMenu.js new file mode 100644 index 0000000..b17aad6 --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/getMenu.js @@ -0,0 +1,45 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * This script, when included in a html file, can be used to make collapsible menus + * + * Typical usage: + * <script type="text/javascript" language="JavaScript" src="menu.js"></script> + */ + +if (document.getElementById){ + document.write('<style type="text/css">.menuitemgroup{display: none;}</style>') +} + + +function SwitchMenu(obj, thePath) +{ +var open = 'url("'+thePath + 'images/chapter_open.gif")'; +var close = 'url("'+thePath + 'images/chapter.gif")'; + if(document.getElementById) { + var el = document.getElementById(obj); + var title = document.getElementById(obj+'Title'); + + if(el.style.display != "block"){ + title.style.backgroundImage = open; + el.style.display = "block"; + }else{ + title.style.backgroundImage = close; + el.style.display = "none"; + } + }// end - if(document.getElementById) +}//end - function SwitchMenu(obj) http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/README.txt ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/README.txt b/content/doc/r3.5.4-beta/skin/images/README.txt new file mode 100644 index 0000000..e0932f4 --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/images/README.txt @@ -0,0 +1 @@ +The images in this directory are used if the current skin lacks them. http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/add.jpg ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/add.jpg b/content/doc/r3.5.4-beta/skin/images/add.jpg new file mode 100644 index 0000000..06831ee Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/add.jpg differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/apache-thanks.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/apache-thanks.png b/content/doc/r3.5.4-beta/skin/images/apache-thanks.png new file mode 100644 index 0000000..c0bea09 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/apache-thanks.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/built-with-cocoon.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/built-with-cocoon.gif b/content/doc/r3.5.4-beta/skin/images/built-with-cocoon.gif new file mode 100644 index 0000000..0b38f78 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/built-with-cocoon.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/built-with-forrest-button.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/built-with-forrest-button.png b/content/doc/r3.5.4-beta/skin/images/built-with-forrest-button.png new file mode 100644 index 0000000..4a787ab Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/built-with-forrest-button.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/chapter.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/chapter.gif b/content/doc/r3.5.4-beta/skin/images/chapter.gif new file mode 100644 index 0000000..d3d8245 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/chapter.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/chapter_open.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/chapter_open.gif b/content/doc/r3.5.4-beta/skin/images/chapter_open.gif new file mode 100644 index 0000000..eecce18 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/chapter_open.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/current.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/current.gif b/content/doc/r3.5.4-beta/skin/images/current.gif new file mode 100644 index 0000000..fd82c08 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/current.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/error.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/error.png b/content/doc/r3.5.4-beta/skin/images/error.png new file mode 100644 index 0000000..b4fe06e Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/error.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/external-link.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/external-link.gif b/content/doc/r3.5.4-beta/skin/images/external-link.gif new file mode 100644 index 0000000..ff2f7b2 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/external-link.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/fix.jpg ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/fix.jpg b/content/doc/r3.5.4-beta/skin/images/fix.jpg new file mode 100644 index 0000000..1d6820b Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/fix.jpg differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/forrest-credit-logo.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/forrest-credit-logo.png b/content/doc/r3.5.4-beta/skin/images/forrest-credit-logo.png new file mode 100644 index 0000000..8a63e42 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/forrest-credit-logo.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/hack.jpg ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/hack.jpg b/content/doc/r3.5.4-beta/skin/images/hack.jpg new file mode 100644 index 0000000..f38d50f Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/hack.jpg differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/header_white_line.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/header_white_line.gif b/content/doc/r3.5.4-beta/skin/images/header_white_line.gif new file mode 100644 index 0000000..369cae8 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/header_white_line.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/info.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/info.png b/content/doc/r3.5.4-beta/skin/images/info.png new file mode 100644 index 0000000..2e53447 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/info.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/instruction_arrow.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/instruction_arrow.png b/content/doc/r3.5.4-beta/skin/images/instruction_arrow.png new file mode 100644 index 0000000..0fbc724 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/instruction_arrow.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/label.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/label.gif b/content/doc/r3.5.4-beta/skin/images/label.gif new file mode 100644 index 0000000..c83a389 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/label.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/page.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/page.gif b/content/doc/r3.5.4-beta/skin/images/page.gif new file mode 100644 index 0000000..a144d32 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/page.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/pdfdoc.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/pdfdoc.gif b/content/doc/r3.5.4-beta/skin/images/pdfdoc.gif new file mode 100644 index 0000000..ec13eb5 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/pdfdoc.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/poddoc.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/poddoc.png b/content/doc/r3.5.4-beta/skin/images/poddoc.png new file mode 100644 index 0000000..a393df7 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/poddoc.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/printer.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/printer.gif b/content/doc/r3.5.4-beta/skin/images/printer.gif new file mode 100644 index 0000000..a8d0d41 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/printer.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-b-l-15-1body-2menu-3menu.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-b-l-15-1body-2menu-3menu.png b/content/doc/r3.5.4-beta/skin/images/rc-b-l-15-1body-2menu-3menu.png new file mode 100644 index 0000000..cdb460a Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-b-l-15-1body-2menu-3menu.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-b-r-15-1body-2menu-3menu.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-b-r-15-1body-2menu-3menu.png b/content/doc/r3.5.4-beta/skin/images/rc-b-r-15-1body-2menu-3menu.png new file mode 100644 index 0000000..3eff254 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-b-r-15-1body-2menu-3menu.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png b/content/doc/r3.5.4-beta/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png new file mode 100644 index 0000000..b175f27 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png b/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png new file mode 100644 index 0000000..e9f4440 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png b/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png new file mode 100644 index 0000000..f1e015b Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png b/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png new file mode 100644 index 0000000..e9f4440 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-t-r-15-1body-2menu-3menu.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-t-r-15-1body-2menu-3menu.png b/content/doc/r3.5.4-beta/skin/images/rc-t-r-15-1body-2menu-3menu.png new file mode 100644 index 0000000..29388b5 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-t-r-15-1body-2menu-3menu.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png b/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png new file mode 100644 index 0000000..944ed73 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png b/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png new file mode 100644 index 0000000..c4d4a8c Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png b/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png new file mode 100644 index 0000000..944ed73 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/remove.jpg ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/remove.jpg b/content/doc/r3.5.4-beta/skin/images/remove.jpg new file mode 100644 index 0000000..8c9b9ef Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/remove.jpg differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/rss.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/rss.png b/content/doc/r3.5.4-beta/skin/images/rss.png new file mode 100644 index 0000000..f0796ac Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/rss.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/spacer.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/spacer.gif b/content/doc/r3.5.4-beta/skin/images/spacer.gif new file mode 100644 index 0000000..35d42e8 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/spacer.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/success.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/success.png b/content/doc/r3.5.4-beta/skin/images/success.png new file mode 100644 index 0000000..96fcfea Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/success.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/txtdoc.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/txtdoc.png b/content/doc/r3.5.4-beta/skin/images/txtdoc.png new file mode 100644 index 0000000..bf8b374 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/txtdoc.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/update.jpg ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/update.jpg b/content/doc/r3.5.4-beta/skin/images/update.jpg new file mode 100644 index 0000000..beb9207 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/update.jpg differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/valid-html401.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/valid-html401.png b/content/doc/r3.5.4-beta/skin/images/valid-html401.png new file mode 100644 index 0000000..3855210 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/valid-html401.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/vcss.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/vcss.png b/content/doc/r3.5.4-beta/skin/images/vcss.png new file mode 100644 index 0000000..9b2f596 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/vcss.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/warning.png ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/warning.png b/content/doc/r3.5.4-beta/skin/images/warning.png new file mode 100644 index 0000000..b81b2ce Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/warning.png differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/images/xmldoc.gif ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/images/xmldoc.gif b/content/doc/r3.5.4-beta/skin/images/xmldoc.gif new file mode 100644 index 0000000..c92d9b9 Binary files /dev/null and b/content/doc/r3.5.4-beta/skin/images/xmldoc.gif differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/menu.js ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/menu.js b/content/doc/r3.5.4-beta/skin/menu.js new file mode 100644 index 0000000..06ea471 --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/menu.js @@ -0,0 +1,48 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +/** + * This script, when included in a html file, can be used to make collapsible menus + * + * Typical usage: + * <script type="text/javascript" language="JavaScript" src="menu.js"></script> + */ + +if (document.getElementById){ + document.write('<style type="text/css">.menuitemgroup{display: none;}</style>') +} + +function SwitchMenu(obj) +{ + if(document.getElementById) { + var el = document.getElementById(obj); + var title = document.getElementById(obj+'Title'); + + if(obj.indexOf("_selected_")==0&&el.style.display == ""){ + el.style.display = "block"; + title.className = "pagegroupselected"; + } + + if(el.style.display != "block"){ + el.style.display = "block"; + title.className = "pagegroupopen"; + } + else{ + el.style.display = "none"; + title.className = "pagegroup"; + } + }// end - if(document.getElementById) +}//end - function SwitchMenu(obj) http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/note.txt ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/note.txt b/content/doc/r3.5.4-beta/skin/note.txt new file mode 100644 index 0000000..d34c8db --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/note.txt @@ -0,0 +1,50 @@ +Notes for developer: + +--Legend------------------- +TODO -> blocker +DONE -> blocker +ToDo -> enhancement bug +done -> enhancement bug + +--Issues------------------- +- the corner images should be rendered through svg with the header color. +-> DONE +-> ToDo: get rid of the images and use only divs! + +- the menu points should be displayed "better". +-> DONE +-- Use the krysalis-site menu approach for the overall menu display. +-> DONE +-- Use the old lenya innermenu approch to further enhance the menu . +-> DONE + +- the content area needs some attention. +-> DONE +-- introduce the heading scheme from krysalis (<headings type="clean|box|underlined"/>) +-> DONE +-> ToDo: make box with round corners +-> done: make underlined with variable border height +-> ToDo: make underline with bottom round corner +-- introduce the toc for each html-page +-> DONE +-- introduce the external-link-images. +-> DONE + +- the publish note should be where now only a border is. +Like <div id="published"/> +-> DONE +, but make it configurable. +-> DONE +- footer needs some attention +-> DONE +-- the footer do not have the color profile! Enable it! +-> DONE +-- the footer should as well contain a feedback link. +See http://issues.apache.org/eyebrowse/ReadMsg?listName=forrest-u...@xml.apache.org&msgNo=71 +-> DONE + +- introduce credits alternativ location +-> DONE + +- border for published / breadtrail / menu /tab divs +-> ToDo \ No newline at end of file http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/print.css ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/print.css b/content/doc/r3.5.4-beta/skin/print.css new file mode 100644 index 0000000..aaa9931 --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/print.css @@ -0,0 +1,54 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +body { + font-family: Georgia, Palatino, serif; + font-size: 12pt; + background: white; +} + +#tabs, +#menu, +#content .toc { + display: none; +} + +#content { + width: auto; + padding: 0; + float: none !important; + color: black; + background: inherit; +} + +a:link, a:visited { + color: #336699; + background: inherit; + text-decoration: underline; +} + +#top .logo { + padding: 0; + margin: 0 0 2em 0; +} + +#footer { + margin-top: 4em; +} + +acronym { + border: 0; +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/zookeeper/blob/ec4ec140/content/doc/r3.5.4-beta/skin/profile.css ---------------------------------------------------------------------- diff --git a/content/doc/r3.5.4-beta/skin/profile.css b/content/doc/r3.5.4-beta/skin/profile.css new file mode 100644 index 0000000..eefaa88 --- /dev/null +++ b/content/doc/r3.5.4-beta/skin/profile.css @@ -0,0 +1,168 @@ + + +/* ==================== aural ============================ */ + +@media aural { + h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 } + h1 { pitch: x-low; pitch-range: 90 } + h2 { pitch: x-low; pitch-range: 80 } + h3 { pitch: low; pitch-range: 70 } + h4 { pitch: medium; pitch-range: 60 } + h5 { pitch: medium; pitch-range: 50 } + h6 { pitch: medium; pitch-range: 40 } + li, dt, dd { pitch: medium; richness: 60 } + dt { stress: 80 } + pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 } + em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 } + strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 } + dfn { pitch: high; pitch-range: 60; stress: 60 } + s, strike { richness: 0 } + i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 } + b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 } + u { richness: 0 } + + :link { voice-family: harry, male } + :visited { voice-family: betty, female } + :active { voice-family: betty, female; pitch-range: 80; pitch: x-high } +} + +a.external { + padding: 0 20px 0px 0px; + display:inline; + background-repeat: no-repeat; + background-position: center right; + background-image: url(images/external-link.gif); +} + +#top { background-color: #FFFFFF;} + +#top .header .current { background-color: #4C6C8F;} +#top .header .current a:link { color: #ffffff; } +#top .header .current a:visited { color: #ffffff; } +#top .header .current a:hover { color: #ffffff; } + +#tabs li { background-color: #E5E4D9 ;} +#tabs li a:link { color: #000000; } +#tabs li a:visited { color: #000000; } +#tabs li a:hover { color: #000000; } + +#level2tabs a.selected { background-color: #4C6C8F ;} +#level2tabs a:link { color: #ffffff; } +#level2tabs a:visited { color: #ffffff; } +#level2tabs a:hover { color: #ffffff; } + +#level2tabs { background-color: #E5E4D9;} +#level2tabs a.unselected:link { color: #000000; } +#level2tabs a.unselected:visited { color: #000000; } +#level2tabs a.unselected:hover { color: #000000; } + +.heading { background-color: #E5E4D9;} + +.boxed { background-color: #E5E4D9;} +.underlined_5 {border-bottom: solid 5px #E5E4D9;} +.underlined_10 {border-bottom: solid 10px #E5E4D9;} +table caption { +background-color: #E5E4D9; +color: #000000; +} + +#feedback { +color: #FFFFFF; +background: #4C6C8F; +text-align: center; +} +#feedback #feedbackto { +color: #FFFFFF; +} + +#publishedStrip { +color: #FFFFFF; +background: #4C6C8F; +} + +#publishedStrip { +color: #000000; +background: #E5E4D9; +} + +#menu .menupagetitle { background-color: #CFDCED; + color: #000000;} + +#menu { border-color: #999999;} +#menu .menupagetitle { border-color: #999999;} +#menu .menupageitemgroup { border-color: #999999;} + +#menu { background-color: #4C6C8F;} +#menu { color: #ffffff;} +#menu a:link { color: #ffffff;} +#menu a:visited { color: #ffffff;} +#menu a:hover { +background-color: #4C6C8F; +color: #ffffff;} + +#menu h1 { +color: #000000; +background-color: #cfdced; +} + +#top .searchbox { +background-color: #E5E4D9 ; +color: #000000; +} + +#menu .menupageitemgroup { +background-color: #E5E4D9; +} +#menu .menupageitem { +color: #000000; +} +#menu .menupageitem a:link { color: #000000;} +#menu .menupageitem a:visited { color: #000000;} +#menu .menupageitem a:hover { +background-color: #E5E4D9; +color: #000000; +} + +body{ +background-color: #ffffff; +color: #000000; +} +a:link { color:#0000ff} +a:visited { color:#009999} +a:hover { color:#6587ff} + + +.ForrestTable { background-color: #ccc;} + +.ForrestTable td { background-color: #ffffff;} + +.highlight { background-color: #ffff00;} + +.fixme { border-color: #c60;} + +.note { border-color: #069;} + +.warning { border-color: #900;} + +.code { border-color: #a5b6c6;} + +#footer { background-color: #E5E4D9;} +/* extra-css */ + + p.quote { + margin-left: 2em; + padding: .5em; + background-color: #f0f0f0; + font-family: monospace; + } + + pre.code { + margin-left: 0em; + padding: 0.5em; + background-color: #f0f0f0; + font-family: monospace; + } + + + + \ No newline at end of file