/WebSVN/templates/Zinn/blame.tmpl
0,0 → 1,36
<table width="100%" border="0">
<tr>
<td>
<h1>[websvn:repname]</h1>
</td>
<td>
<div align="right">[websvn:projects_form][websvn:projects_select][websvn:projects_submit][websvn:projects_endform]</div>
</td>
</tr>
</table>
 
[websvn-test:noaccess]
[lang:NOACCESS]
[websvn-else]
[websvn:curdirlinks] - [lang:BLAMEFOR] [websvn:rev]
<p>
<table border="1" class="blame" width="100%" cellpadding="2">
<tr>
<th style="padding-bottom: 5px" align="left"><b>[lang:LINENO]</b></th>
<th style="padding-bottom: 5px" align="left"><b>[lang:REV]</b></th>
<th style="padding-bottom: 5px" align="left"><b>[lang:AUTHOR]</b></th>
<th style="padding-bottom: 5px" align="left"><b>[lang:LINE]</b></th>
</tr>
[websvn-startlisting]
<tr>
<td>[websvn:lineno]</td>
<td>[websvn:revision]</td>
<td>[websvn:author]</td>
<td>[websvn:line]</td>
</tr>
[websvn-endlisting]
</table>
[websvn-endtest]
/WebSVN/templates/Zinn/collapse.js
0,0 → 1,169
/***********************************************
* Switch Content script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use. Last updated April 2nd, 2005.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
 
var enablepersist="on" // Enable saving state of content structure using session cookies? (on/off)
var collapseprevious="yes" // Collapse previously open content when opening present? (yes/no)
 
var contractsymbol='<div class="minusbox">-</div>' // HTML for contract symbol. For image, use: <img src="${prefix}whatever.gif">
var expandsymbol='<div class="plusbox">+</div>' // HTML for expand symbol.
var expandonload=false
 
if (document.getElementById)
{
document.write('<style type="text/css">')
document.write('.switchcontent{display:none;}')
document.write('</style>')
}
 
function getElementbyClass(rootobj, classname)
{
var temparray=new Array()
var inc=0
for (i=0; i<rootobj.length; i++)
{
if (rootobj[i].className==classname)
temparray[inc++]=rootobj[i]
}
return temparray
}
 
function sweeptoggle(ec)
{
var thestate=(ec=="expand")? "block" : "none"
var inc=0
while (ccollect[inc])
{
ccollect[inc].style.display=thestate
inc++
}
revivestatus()
collapseprevious = (ec=="expand")? "no" : "yes"
}
 
 
function contractcontent(omit)
{
var inc=0
while (ccollect[inc])
{
if (ccollect[inc].id!=omit)
ccollect[inc].style.display="none"
inc++
}
}
 
function expandcontent(curobj, cid)
{
var spantags=curobj.getElementsByTagName("SPAN")
var showstateobj=getElementbyClass(spantags, "showstate")
if (ccollect.length>0)
{
if (collapseprevious=="yes")
contractcontent(cid)
document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
if (showstateobj.length>0) //if "showstate" span exists in header
{
if (collapseprevious=="no")
showstateobj[0].innerHTML=(document.getElementById(cid).style.display=="block")? contractsymbol : expandsymbol
else
revivestatus()
}
}
}
 
function revivecontent()
{
contractcontent("omitnothing")
selectedItem=getselectedItem()
selectedComponents=selectedItem.split("|")
collapseprevious=selectedComponents[0]
for (i=1; i<selectedComponents.length-1; i++)
document.getElementById(selectedComponents[i]).style.display="block"
}
 
function revivestatus()
{
var inc=0
while (statecollect[inc])
{
if (ccollect[inc].style.display=="block")
statecollect[inc].innerHTML=contractsymbol
else
statecollect[inc].innerHTML=expandsymbol
inc++
}
}
 
function get_cookie(Name)
{
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0)
{
offset = document.cookie.indexOf(search)
if (offset != -1)
{
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
 
function getselectedItem()
{
if (get_cookie(window.location.pathname) != "")
{
selectedItem=get_cookie(window.location.pathname)
return selectedItem
}
else
return ""
}
 
function saveswitchstate()
{
var inc=0, selectedItem=collapseprevious+"|"
while (ccollect[inc])
{
if (ccollect[inc].style.display=="block")
selectedItem+=ccollect[inc].id+"|"
inc++
}
document.cookie=window.location.pathname+"="+selectedItem
}
 
function do_onload()
{
uniqueidn=window.location.pathname+"firsttimeload"
var alltags=document.all? document.all : document.getElementsByTagName("*")
ccollect=getElementbyClass(alltags, "switchcontent")
statecollect=getElementbyClass(alltags, "showstate")
if (enablepersist=="on" && ccollect.length>0)
{
document.cookie=(get_cookie(uniqueidn)=="")? uniqueidn+"=1" : uniqueidn+"=0"
firsttimeload=(get_cookie(uniqueidn)==1)? 1 : 0 //check if this is 1st page load
if (!firsttimeload)
revivecontent()
}
if (ccollect.length>0 && statecollect.length>0)
revivestatus()
if (expandonload)
sweeptoggle('expand')
}
 
if (window.addEventListener)
window.addEventListener("load", do_onload, false)
else if (window.attachEvent)
window.attachEvent("onload", do_onload)
else if (document.getElementById)
window.onload=do_onload
 
if (enablepersist=="on" && document.getElementById)
window.onunload=saveswitchstate
/WebSVN/templates/Zinn/compare.tmpl
0,0 → 1,75
<table width="100%" border="0">
<tr>
<td>
<h1>[websvn:repname]</h1>
</td>
<td>
<div align="right">[websvn:projects_form][websvn:projects_select][websvn:projects_submit][websvn:projects_endform]</div>
</td>
</tr>
</table>
 
[websvn-test:noaccess]
[lang:NOACCESS]
[websvn-else]
<center>
[websvn:compare_form]
<table>
<tr><td>
<table class="outlined">
<tr><td>[lang:COMPPATH]&nbsp;</td><td>[websvn:compare_path1input] [lang:REV] [websvn:compare_rev1input]</td></tr>
<tr><td>[lang:WITHPATH]&nbsp;</td><td>[websvn:compare_path2input] [lang:REV] [websvn:compare_rev2input]</td></tr>
</table>
</td><tr>
<tr><td align="center">[websvn:compare_submit]</td></tr>
</table>
[websvn:compare_endform]
<hr>
</center>
<p>
[websvn-test:success]
[lang:CONVFROM] <b>[websvn:path1] ([lang:REV] [websvn:rev1])</b> [lang:TO] <b>[websvn:path2] ([lang:REV] [websvn:rev2])</b>
<p>
[websvn:revlink]
[websvn-endtest]
<p>
[websvn-startlisting]
[websvn-test:newpath]
<p>
<div class="newpath">
<b>[websvn:newpath]</b><br>
[websvn-endtest]
[websvn-test:info]
[websvn:info]<br>
[websvn-endtest]
[websvn-test:difflines]
<div class="difflines">
<p>
[websvn:difflines]<br>
<table class="diff" cellspacing="0">
[websvn-endtest]
[websvn-test:diffclass]
<tr><td class="[websvn:diffclass]">[websvn:line]</td></tr>
[websvn-endtest]
[websvn-test:enddifflines]
</table>
</div>
[websvn-endtest]
[websvn-test:endpath]
</div>
<p><hr>
[websvn-endtest]
[websvn-test:properties]
<p><i>[lang:PROPCHANGES]</i><p>
[websvn-endtest]
[websvn-endlisting]
</table>
[websvn-endtest]
/WebSVN/templates/Zinn/diff.tmpl
0,0 → 1,51
[websvn-test:noaccess]
[lang:NOACCESS]
[websvn-else]
[websvn-test:noprev]
No Previous Revision
[websvn-else]
<table width="100%" border="0">
<tr>
<td>
<h1>[websvn:repname]</h1>
</td>
<td>
<div align="right">[websvn:projects_form][websvn:projects_select][websvn:projects_submit][websvn:projects_endform]</div>
</td>
</tr>
</table>
<b>[lang:PATH]:</b> [websvn:path]
<br><b>[lang:REV]:</b> [websvn:rev]
<p><hr>
<b>[lang:CURDIR]:</b> [websvn:curdirlinks]
<p>
<p><center>
[websvn:showcompactlink]
[websvn:showalllink]
</center>
<p>
<table class="diff" width="100%">
<tr>
<th style="padding-bottom: 5px" width="50%" align="left"><b>[lang:REV] [websvn:rev2]</b></th>
<th width="5"></th>
<th style="padding-bottom: 5px" width="50%" align="left"><b>[lang:REV] [websvn:rev1]</b></th>
</tr>
[websvn-startlisting]
[websvn-test:rev1lineno]
<tr>
<td width="50%" style="padding: 3px 0 3px 0" align="center"><b>[lang:LINE] [websvn:rev1lineno]...</b></td>
<td width="5"></td>
<td width="50%" style="padding: 3px 0 3px 0" align="center"><b>[lang:LINE] [websvn:rev2lineno]...</b></td>
<tr>
[websvn-else]
<tr><td class="[websvn:rev1diffclass]">[websvn:rev1line]</td>
<td width="5"></td>
<td class="[websvn:rev2diffclass]">[websvn:rev2line]</td></tr>
[websvn-endtest]
[websvn-endlisting]
</table>
[websvn-endtest]
[websvn-endtest]
/WebSVN/templates/Zinn/directory.tmpl
0,0 → 1,125
<table width="100%" border="0">
<tr>
<td>
<h1>[websvn:repname]</h1>
</td>
<td>
<div align="right">[websvn:projects_form][websvn:projects_select][websvn:projects_submit][websvn:projects_endform]</div>
</td>
</tr>
</table>
 
[websvn-test:noaccess]
[lang:NOACCESS]
[websvn-else]
[websvn-test:restricted]
[websvn-else]
<b>[lang:PATH]:</b> [websvn:path]
<br><b>[lang:REV]:</b> [websvn:rev]
<p><hr>
<b>[lang:CURDIR]:</b> [websvn:curdirlinks] - [websvn:curdirloglink]
[websvn-test:curdircomplink]
- [websvn:curdircomplink]
[websvn-endtest]
[websvn-test:curdirdllink]
- [websvn:curdirdllink]
[websvn-endtest]
[websvn-test:curdirrsslink]
- [websvn:curdirrssanchor]<img style="border: 0;" src="[websvn:locwebsvnhttp]/templates/Standard/xml.gif" width="36" height="14" alt="[lang:RSSFEED]"></a>
[websvn-endtest]
[websvn-endtest]
[websvn-defineicons]
dir=&nbsp;&nbsp;&nbsp;&nbsp;
diropen=&nbsp;&nbsp;&nbsp;&nbsp;
i-node=&nbsp;&nbsp;&nbsp;&nbsp;
t-node=&nbsp;&nbsp;&nbsp;&nbsp;
l-node=&nbsp;&nbsp;&nbsp;&nbsp;
e-node=&nbsp;&nbsp;&nbsp;&nbsp;
*=&nbsp;&nbsp;&nbsp;&nbsp;
[websvn-enddefineicons]
<p>
[websvn:compare_form]
<table class="outlined" width="100%" cellpadding="2">
<tr>
<th width="100%"><b>Path</b></th>
<th><b>[lang:NOBR][lang:LOG][lang:ENDNOBR]</b></th>
[websvn-test:allowdownload]
<th><b>[lang:TARBALL]</b></th>
[websvn-endtest]
[websvn-test:curdirrsslink]
<th><b>[lang:RSSFEED]</b></th>
[websvn-endtest]
</tr>
[websvn-startlisting]
<tr>
<td class="[websvn:rowparity]">
[websvn:compare_box]
[websvn-treenode]
[websvn:filelink]
</td>
<td class="[websvn:rowparity]">[lang:NOBR][websvn:fileviewloglink][lang:ENDNOBR]</td>
[websvn-test:allowdownload]
<td class="[websvn:rowparity]">[websvn:fileviewdllink]</td>
[websvn-endtest]
[websvn-test:curdirrsslink]
<td class="row[websvn:rowparity]">[websvn:rssanchor]<img style="border: 0;" src="[websvn:locwebsvnhttp]/templates/Standard/xml.gif" width="36" height="14" alt="[lang:RSSFEED]"></a></td>
[websvn-endtest]
</tr>
[websvn-endlisting]
</table>
<p>
[websvn:compare_submit]
[websvn:compare_endform]
<hr>
[websvn-test:goyoungestlink]
- [websvn:goyoungestlink]
[websvn-endtest]
<br><b>[lang:LASTMOD]:</b> [lang:REV] [websvn:lastchangedrev] - [websvn:author] - [websvn:date]
<br><b>[lang:LOGMSG]:</b><br>
[websvn:log]
<p>
[websvn-test:hidechanges]
<p>[websvn:showchangeslink]
[websvn-endtest]
[websvn-test:showchanges]
<p><b>[lang:CHANGES]:</b><br>
<p>[websvn:hidechangeslink]
<p>
<center>
<table border=1 class="bordered" cellpadding=4>
<tr>
<th><center><b>[lang:NEWFILES]</b></center></th>
<th><center><b>[lang:CHANGEDFILES]</b></center></th>
<th><center><b>[lang:DELETEDFILES]</b></center></th>
</tr>
<tr>
<td valign="top">
[websvn-test:newfilesbr]
[websvn:newfilesbr]
[websvn-else]
&nbsp;
[websvn-endtest]
</td>
<td valign="top">
[websvn-test:changedfilesbr]
[websvn:changedfilesbr]
[websvn-else]
&nbsp;
[websvn-endtest]
</td>
<td valign="top">
[websvn-test:deletedfilesbr]
[websvn:deletedfilesbr]
[websvn-else]
&nbsp;
[websvn-endtest]
</td>
</tr>
</table>
</center>
[websvn-endtest]
[websvn-endtest]
 
/WebSVN/templates/Zinn/file.tmpl
0,0 → 1,30
<table width="100%" border="0">
<tr>
<td>
<h1>[websvn:repname]</h1>
</td>
<td>
<div align="right">[websvn:projects_form][websvn:projects_select][websvn:projects_submit][websvn:projects_endform]</div>
</td>
</tr>
</table>
 
[websvn-test:noaccess]
[lang:NOACCESS]
[websvn-else]
<b>[lang:PATH]:</b> [websvn:path]
<br><b>[lang:REV]:</b> [websvn:rev]
<p><hr>
<b>[lang:CURDIR]:</b> [websvn:curdirlinks]
<p>
[websvn-test:goyoungestlink]
[websvn:goyoungestlink]<p>
[websvn-endtest]
[websvn:prevdifflink] - [websvn:blamelink]
<p>
<table width="100%" border=1><tr><td>
[websvn-getlisting]
</td></tr></table>
[websvn-endtest]
/WebSVN/templates/Zinn/footer.tmpl
0,0 → 1,2
</body>
</html>
/WebSVN/templates/Zinn/header.tmpl
0,0 → 1,64
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=[websvn:charset]">
<link href="[websvn:locwebsvnhttp]/templates/zinn/styles.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="[websvn:locwebsvnhttp]/templates/Zinn/collapse.js"></script>
<script type="text/javascript">
function checkCB(chBox)
{
count = 0
first = null
f = chBox.form
for (i = 0 ; i < f.elements.length ; i++)
if (f.elements[i].type == 'checkbox' && f.elements[i].checked)
{
if (first == null && f.elements[i] != chBox)
first = f.elements[i]
count += 1
}
if (count > 2)
{
first.checked = false
count -= 1
}
}
 
[websvn-test:opentree]
expandonload = true
[websvn-endtest]
 
</script>
<title>
WebSVN
[websvn-test:repname]
- [websvn:repname]
[websvn-endtest]
[websvn-test:action]
- [websvn:action]
[websvn-endtest]
[websvn-test:rev2]
[websvn-test:path2]
- [websvn:safepath1] [lang:REV] [websvn:rev1] [lang:AND] [websvn:safepath2] [lang:REV] [websvn:rev2]
[websvn-else]
- [lang:REV] [websvn:rev1] [lang:AND] [websvn:rev2]
[websvn-endtest]
[websvn-else]
[websvn-test:rev]
- [lang:REV] [websvn:rev]
[websvn-endtest]
[websvn-endtest]
[websvn-test:path]
- [websvn:safepath]
[websvn-endtest]
</title>
 
[websvn-test:curdirrsslink]
<link rel="alternate" type="application/rss+xml" title="WebSVN RSS" href="[websvn:curdirrsshref]">
[websvn-endtest]
 
</head>
<body>
<div style="float: right">[websvn:lang_form][websvn:lang_select][websvn:lang_submit][websvn:lang_endform]</div>
</tr>
</table>
/WebSVN/templates/Zinn/index.tmpl
0,0 → 1,34
[websvn-test:flatview]
<table border=0 cellspacing=0 cellpadding=0 align="center">
<tr>
<td align="center">
<br><h1>[lang:PROJECTS]:</h1>
<p><hr><p>
<table width="100%" class="outlined" cellpadding="2">
[websvn-startlisting]
<tr><td>[websvn:projlink]</td></tr>
[websvn-endlisting]
</table>
</td>
</tr>
</table>
[websvn-else]
<table border=0 cellspacing=0 cellpadding=0 align="center">
<tr>
<td align="center">
<br><h2>[lang:PROJECTS]:</h2>
<table border=0>
<tr><td>
[websvn-startlisting]
[websvn-test:isprojlink]
<div>[websvn:listitem]</div>
[websvn-else]
[websvn:listitem]
[websvn-endtest]
[websvn-endlisting]
</td></tr>
</table>
</td>
</tr>
</table>
[websvn-endtest]
/WebSVN/templates/Zinn/log.tmpl
0,0 → 1,74
<table width="100%" border="0">
<tr>
<td>
<h1>[websvn:repname]</h1>
</td>
<td>
<div align="right">[websvn:projects_form][websvn:projects_select][websvn:projects_submit][websvn:projects_endform]</div>
</td>
</tr>
</table>
 
[websvn-test:noaccess]
[lang:NOACCESS]
[websvn-else]
<b>[lang:PATH]:</b> [websvn:path]
<br><b>[lang:REV]:</b> [websvn:rev]
<p><hr>
<b>[lang:CURDIR]:</b> [websvn:curdirlinks]<br><br>
[websvn-test:goyoungestlink]
[websvn:goyoungestlink]<p>
[websvn-endtest]
<center>
[websvn:logsearch_form]
<b>[lang:FILTER]</b><p>
[lang:STARTLOG]:[websvn:logsearch_startbox] [lang:ENDLOG]:[websvn:logsearch_endbox] [lang:MAXLOG]:[websvn:logsearch_maxbox] [lang:SEARCHLOG]:[websvn:logsearch_inputbox]
[websvn:logsearch_submit]
[websvn-test:logsearch_clearloglink]
<p><font size="-1">[websvn:logsearch_clearloglink]</font><p>
[websvn-endtest]
[websvn:logsearch_endform]
</center>
[websvn-test:logsearch_nomatches]
<center>[lang:NORESULTS]</center>
[websvn-endtest]
[websvn-test:error]
<center>[websvn:error]</center>
[websvn-endtest]
 
[websvn-test:logsearch_resultsfound]
[websvn:compare_form]
<table border=1 class="outlined" width="100%" cellpadding=2>
<tr>
<th>[lang:REV]</th>
<th>[lang:PATH]</th>
<th>[lang:AUTHOR]</th>
<th>[lang:AGE]</th>
<th>[lang:LOGMSG]</th>
</tr>
[websvn-startlisting]
<tr>
<td valign="top" class="[websvn:rowparity]"><nobr>[websvn:compare_box][websvn:revlink]</nobr></td>
<td valign="top" class="[websvn:rowparity]">[websvn:revpathlink]</td>
<td valign="top" class="[websvn:rowparity]">[websvn:revauthor]</td>
<td valign="top" class="[websvn:rowparity]">[websvn:revage]</td>
<td valign="top" class="[websvn:rowparity]">[websvn:revlog]</td>
</tr>
[websvn-endlisting]
</table>
<p>
[websvn:compare_submit]
[websvn:compare_endform]
[websvn-endtest]
[websvn-test:logsearch_nomorematches]
<p><center>[lang:NOMORERESULTS]</center>
[websvn-endtest]
<p><center>[websvn:logsearch_moreresultslink]</center>
<p><center>[websvn:pagelinks]<p>[websvn:showalllink]</center>
[websvn-endtest]
/WebSVN/templates/Zinn/styles.css
0,0 → 1,107
 
body
{
font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
background-color: white;
margin: 20px;
padding: 0px;
font-size: 76%;
}
 
H1
{
color: #8c0000;
font-size: 30px;
font-weight: normal;
font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
text-decoration: none;
}
 
a:link { color: black;
font-size: 76%;
}
a:visited { color: black;
font-size: 76%;
}
 
HR { color: #8c0000; background-color: #8c0000 }
 
.highlight { color: #8c0000; font-style: italic; }
 
TABLE.bordered, TABLE.outlined, TABLE.blame
{
border-collapse: collapse;
border: solid 2px #8c0000;
}
 
.bordered TD, .bordered TH
{
border: solid 2px #8c0000;
}
 
.outlined TH, .blame TH
{
padding: 5px 5px 5px 5px;
font-weight: bold;
border: solid 2px #8c0000;
}
 
.outlined TD, .blame TD
{
padding: 1px 5px 1px 5px;
border-right: solid 2px #8c0000;
border-bottom: solid 1px #F0F0F0;
}
 
.blame TD
{
font-size: 11px;
}
 
.blame TD A
{
font-size: 100%;
}
 
TD.diffdeleted
{
font-size: 11px;
background-color: red;
}
 
TD.diffchanged
{
font-size: 11px;
background-color: yellow;
}
 
TD.diffadded
{
font-size: 11px;
background-color: green;
}
 
TD.diff
{
font-size: 11px;
background-color: #D0D0D0;
}
 
TABLE.diff
{
border-collapse: collapse;
}
 
DIV.newpath
{
padding: 5px 5px 5px 5px;
border: solid 2px #8c0000;
}
 
.plusbox { float: left; clear: both; position: relative; top: -3px; font-size: 13px; font-weight: bold; width: 16px; text-indent: 0; height: 16px; color: black; text-align: center; padding: 0px 2px 0px 3px; border: black solid 1px; margin-right: 5px; }
.minusbox { float: left; clear: both; position: relative; top: -3px; font-size: 13px; font-weight: bold; width: 16px; text-indent: 0; height: 16px; color: black; background-color: #8c0000; text-align: center; padding: 0px 2px 0px 3px; border: black solid 1px; margin-right: 5px; }
 
.groupname { padding-left: 0px; text-indent: -25px; margin: 8px 0 3px 0;}
.switchcontent { margin: 3px 0 0 20px; }
 
code { white-space: pre-wrap; }