Author: sdumitriu
Date: 2008-02-13 18:58:44 +0100 (Wed, 13 Feb 2008)
New Revision: 7651
Removed:
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attach.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attachments.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attachwysiwyg.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attributes.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attributesinline.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/cancel.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/changeavatar.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/changesall.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/deleted.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/diff.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/diffall.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/docalreadyexists.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/docdoesnotexist.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/getpagedatasources.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/header.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/space.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/status.vm
xwiki-platform/skins/trunk/finch/src/main/resources/finch/style1.css
xwiki-platform/skins/trunk/finch/src/main/resources/finch/style2.css
xwiki-platform/skins/trunk/finch/src/main/resources/finch/style3.css
Log:
XSFINCH-2: Use the shared platform tamplates
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/attach.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/attach.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/attach.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1 +0,0 @@
-$response.sendRedirect($doc.getURL("view", "viewer=attachments"))
\ No newline at end of file
Deleted:
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attachments.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/attachments.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/attachments.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,6 +0,0 @@
-###
-### Attachments page in the "view" mode
-###
-###
-<h2>$xwiki.parseMessage("viewattachmentstitle")</h2>
-#template("attachmentsinline.vm")
Deleted:
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attachwysiwyg.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/attachwysiwyg.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/attachwysiwyg.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,41 +0,0 @@
-#set($attachments = $doc.attachmentList)
-<div id="xwikiattachmentscontent" class="xwikidatacontent">
- <form id="attach" action="$doc.getURL("upload")"
enctype="multipart/form-data" method="post"
- onsubmit="return updateAttachName(this)" >
- <input type="hidden" name="xredirect" value="" />
- <p>
- $msg.get("choosetargetfilename"):
- <input type="text" name="filename" value="" size="20" />
- <br /><br />
- $msg.get("choosefiletoupload"):
- <input type="file" name="filepath" value="" size="40" /> <br /><br />
- <input type="submit" id="attachment" name="attachment"
value="$msg.get("attachthisfile")" />
- </p>
- </form>
- #set($counter=0)
- #foreach ($attach in $attachments)
- #if((!$request.images)||$attach.isImage())
- #if($counter==0)
- <table width="95%">
- <tr
class="title"><th></th><th>$msg.get("filename")</th><th>$msg.get("version")</th><th>$msg.get("author")</th></tr>
- #end
- <tr>
- <td>
- #if ($attach.isImage())
- <a href="$doc.getAttachmentURL("${attach.filename}", "download")"
onclick="document.forms[0].href.value='$attach.filename'; return false;" >
- <img src="$doc.getAttachmentURL("${attach.filename}",
"download", "width=80")" alt="${attach.filename}" width="80" border="0" />
- </a>
- #end
- </td><td align="center"><a
href="$doc.getAttachmentURL("${attach.filename}", "download")"
onclick="document.forms[0].href.value='$attach.filename'; return false;"
>$attach.filename</a></td>
- <td align="center">$attach.version</td><td
align="center">$xwiki.getLocalUserName($attach.author)</td>
- </tr>
- #end
- #set( $counter = $counter + 1)
- #end
- </table>
- </div>
- <div class="xwikidatafooter2">
- <div class="xwikidatafooter1"> </div>
- <div class="xwikidatafooter"> </div>
- </div>
-</div>
\ No newline at end of file
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/attributes.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/attributes.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/attributes.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,60 +0,0 @@
-<h2>$xwiki.parseMessage("viewattributestitle")</h2>
-
-<ul>
-<li>$msg.get("titlefield"): $doc.displayTitle</li>
-<li>$msg.get("fullName"): $doc.fullName</li>
-<li>$msg.get("creator"): $doc.creator</li>
-<li>$msg.get("creationdate"): $doc.creationDate</li>
-<li>$msg.get("lastmodifiedby"): $doc.author on $doc.date</li>
-<li>Comments: $doc.comments.size()</li>
-<li>Attachments: $doc.attachmentList.size()</li>
-#if($doc.backlinks.size()>0) <li>Links to this document:
-<ul>
-#foreach($item in $doc.backlinks)
-<li>[$item]</li>
-#end
-</ul>
-</li>
-#end
-#*
-#if($doc.linkedPages.size()>0) <li>Links from this document:
-<ul>
-#foreach($item in $doc.linkedPages)
-<li>[$item]</li>
-#end
-</ul>
-</li>
-#end
-*#
-##<li>Visited: $doc.getCurrentMonthPageStats("view").uniqueVisitors times</li>
-##<li>Unique visitors: $doc.currentMonthPageStats.uniqueVisitors</li>
-<li>Default langage: $doc.defaultLanguage</li>
-<li>Language: $doc.language</li>
-<li>Real language: $doc.realLanguage</li>
-##<li>Format: $doc.format</li>
-#if($doc.includedMacros.size()>0) <li>Included Pages:
-<ul>
-#foreach($item in $doc.includedMacros)
-<li>$item</li>
-#end
-</ul>
-</li>
-#end
-#if($doc.includedPages.size()>0) <li>Included Pages:
-<ul>
-#foreach($item in $doc.includedPages)
-<li>$item</li>
-#end
-</ul>
-</li>
-#end
-##<li>$doc.locked (bool) by $doc.lockingDate on </li>
-##<li>$doc.lockingUser</li>
-<li>Document name: $doc.name</li>
-<li>Document parent: $doc.parent</li>
-<li>Document revisions:$doc.revisions (vector)</li>
-<li>Document template:$doc.template</li>
-<li>Document title:$doc.title</li>
-<li>Document translation list:$doc.translationList (list)</li>
-<li>Document version:$doc.version</li>
-</ul>
\ No newline at end of file
Deleted:
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attributesinline.vm
===================================================================
---
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attributesinline.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++
xwiki-platform/skins/trunk/finch/src/main/resources/finch/attributesinline.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,8 +0,0 @@
-<div id="xwikidata" class="layoutsubsection">
-#set($tags = $doc.getTagList())
-tags:
-<ul id="tag_list">
-#foreach($tag in $tags)
-<li class="tag">$tag</li>
-#end
-</div>
\ No newline at end of file
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/cancel.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/cancel.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/cancel.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,7 +0,0 @@
-###
-### Cancel action
-###
-### This should NOT be displayed
-###
-#set($message=$msg.get("changescanceled"))
-#template("view.vm")
Deleted:
xwiki-platform/skins/trunk/finch/src/main/resources/finch/changeavatar.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/changeavatar.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/changeavatar.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,20 +0,0 @@
-###
-### Change a user's avatar
-###
-### Set the "avatar" property of the XWikiUsers object to the most recent
attachment and forward to "view"
-### TODO: Check dimensions
-### TODO: Document version to return to? (rev and language)
-###
-#if($doc.getObject("XWikiUsers", 0) && ($context.user == $doc.fullName ||
$hasadmin))
-#set($date = $doc.attachmentList.get(0).date)
-#set($name = $doc.attachmentList.get(0).filename)
-#foreach($attachment in $doc.attachmentList)
-#if($date.getTime().longValue().compareTo($attachment.date.getTime().longValue())
== -1)
-#set($date = $attachment.date)
-#set($name = $attachment.filename)
-#end
-#end
-$response.sendRedirect($doc.getURL("save", "XWiki.XWikiUsers_0_avatar=$name"))
-#else
-$response.sendRedirect($doc.getURL("view"))
-#end
\ No newline at end of file
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/changesall.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/changesall.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/changesall.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,38 +0,0 @@
-#template("xwiki.vm")
-#template("httpheader.vm")
-#template("header.vm")
-#template("viewheader.vm")
-<div id="xwikicontent">
-#if($request.get("type"))
-#set($type= $request.get("type"))
-#else
-#set($type = "html")
-#end
-#if ($tdoc.realLanguage!="")
-#set($lang = "&language=${tdoc.realLanguage}")
-#else
-#set($lang = "")
-#end
-$msg.get("currentdifftype"): $type (
-<a href="$doc.getURL("view",
"xpage=changesall&type=wiki$lang")">$msg.get("wikidiff")</a>
-<a href="$doc.getURL("view",
"xpage=changesall&type=source$lang")">$msg.get("sourcediff")</a>
-<a href="$doc.getURL("view",
"xpage=changesall&type=html$lang")">$msg.get("htmldiff")</a>
-)
-#set($firstrev = $tdoc.getVersion())
-#set($nextversion = $firstrev)
-#foreach ($version in $tdoc.getRecentRevisions(0))
-#if($version != $firstrev)
-#set($origdoc = "")
-#set($newdoc = "")
-#set($origdoc = $xwiki.getDocument($tdoc, $version))
-#set($newdoc = $xwiki.getDocument($tdoc, $nextversion))
-#template("changesdoc.vm")
-#set($nextversion = $version)
-#end
-#end
-#set($newdoc = $origdoc)
-#set($origdoc = $xwiki.getDocument($tdoc,"1.0"))
-#template("changesdoc.vm")
-</div>
-#template("basefooter.vm")
-#template("footer.vm")
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/deleted.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/deleted.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/deleted.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,14 +0,0 @@
-###
-### Document deleted messge
-###
-###
-#template("startpage.vm")
-<div class="main layoutsubsection">
-#if($message)
-<div id="xwikimessage">$message</div>
-#end
-#xwikimessageboxstart($msg.get("delete") $msg.get("deleted"))
-#xwikimessageboxend()
-</div>
-<div class="clearfloats"></div>
-#template("endpage.vm")
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/diff.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/diff.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/diff.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1 +0,0 @@
-#template("history.vm")
\ No newline at end of file
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/diffall.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/diffall.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/diffall.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,121 +0,0 @@
-#template("xwiki.vm")
-#template("httpheader.vm")
-#template("header.vm")
-#template("viewheader.vm")
-#if($message)
-<div id="xwikimessage">
-$message
-</div>
-#end
-<div id="xwikicontent">
-#set($versiontodiff= $request.get("version"))
-#set($topic = $request.get("topic"))
-#if(!$topic)
-#set($topic = "Main.WebHome")
-#end
-#if($request.get("type"))
-#set($type= $request.get("type"))
-#else
-#set($type = "html")
-#end
-#if ($tdoc.realLanguage!="")
-#set($lang = "&language=${tdoc.realLanguage}")
-#else
-#set($lang = "")
-#end
-#if($versiontodiff)
-#set($other="$lang")
-#else
-#set($other="&version=$versiontodiff$lang")
-#end
-$msg.get("currentdiffyype"): $type (
-<a href="$doc.getURL("view",
"xpage=diff&type=wiki$other")">$msg.get("wikidiff")</a>
-<a href="$doc.getURL("view",
"xpage=diff&type=source$other")">$msg.get("sourcediff")</a>
-<a href="$doc.getURL("view",
"xpage=diff&type=html$other")">$msg.get("htmldiff")</a>
-) <a href="$doc.getURL("view",
"xpage=diff&type=html&version=all&$lang")">$msg.get("showalldiff")</a>
-#set($firstrev = $tdoc.getVersion())
-#set($nextversion = $firstrev)
-#foreach ($version in $tdoc.getRecentRevisions(0))
-#if($version != $firstrev)
-#set($origdoc = "")
-#set($newdoc = "")
-#set($origdoc = $xwiki.getDocument($tdoc, $version))
-#set($newdoc = $xwiki.getDocument($tdoc, $nextversion))
-<div style="width: 100%; background-color: #DDDDDD">
-<h3>$msg.get("From") version $version $msg.get("to") $nextversion
-#if(($origdoc=="")||($newdoc==""))
-#if($newdoc!="")
-$msg.get("by") $xwiki.getLocalUserName($newdoc.author),$doc)
$xwiki.formatDate($newdoc.date)
-#end
- ($msg.get("cannotreaddocumentversion") $nextversion)</h3>
-#else
-$msg.get("by") $xwiki.getLocalUserName($newdoc.author) $msg.get("on")
$xwiki.formatDate($newdoc.date)
-(<a href="$doc.getURL("view",
"xpage=diff&type=html&version=$version&$lang")">$msg.get("showdiff")</a>)
-</h3>
-</div>
-#if(($versiontodiff=="all")||($versiontodiff==$version))
-<ul>
-#foreach($item in $doc.getMetaDataDiff($origdoc, $newdoc))
-<li>$item</li>
-#end
-</ul>
-
-<ul>
-#foreach($item in $doc.getClassDiff($origdoc, $newdoc))
-<li>$item</li>
-#end
-</ul>
-
-<ul>
-#foreach($item in $doc.getObjectDiff($origdoc, $newdoc))
-<li>$item</li>
-#end
-</ul>
-
-
-#if($type=="wiki")
-#set($deltas= $tdoc.getRenderedContentDiff($origdoc, $newdoc))
-#end
-
-#if($type=="xml")
-#set($deltas= $tdoc.getXMLDiff($origdoc, $newdoc))
-#else
-#set($deltas= $tdoc.getContentDiff($origdoc, $newdoc))
-#end
-
-#foreach($delta in $deltas)
-#set($chunk = $delta.revised)
-#if ($chunk.size()>0)
-<div style="border-left: 8px solid #00FF00">
-#if (($type == "source")||($type == "xml"))
-<pre>
-$xwiki.renderChunk($chunk, true, $tdoc)
-</pre>
-#else
-$xwiki.renderChunk($chunk, $tdoc)
-#end
-</div>
-#end
-
-#set($chunk = $delta.original)
-#if ($chunk.size()>0)
-<div style="border-left: 8px solid #FF0000">
-#if (($type == "source")||($type == "xml"))
-<pre>
-$xwiki.renderChunk($chunk, true, $tdoc)
-</pre>
-#else
-$xwiki.renderChunk($chunk, $tdoc)
-#end
-</div>
-#end
-#end
-#end
-#end
-
-#set($nextversion = $version)
-#end
-#end
-</div>
-#template("basefooter.vm")
-#template("footer.vm")
Deleted:
xwiki-platform/skins/trunk/finch/src/main/resources/finch/docalreadyexists.vm
===================================================================
---
xwiki-platform/skins/trunk/finch/src/main/resources/finch/docalreadyexists.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++
xwiki-platform/skins/trunk/finch/src/main/resources/finch/docalreadyexists.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,17 +0,0 @@
-###
-### Document already exists messge
-###
-###
-$response.setStatus(409)
-#template("startpage.vm")
-<div class="main layoutsubsection">
-#if($xwiki.exists("XWiki.DocumentAlreadyExist"))
- $xwiki.includeForm("XWiki.DocumentAlreadyExist",false)
-#else
-#xwikimessageboxstart($msg.get("notice") $msg.get("thispagealreadyexists"))
-$!exception
-#xwikimessageboxend()
-#end
-<div class="clearfloats"></div>
-</div>
-#template("endpage.vm")
Deleted:
xwiki-platform/skins/trunk/finch/src/main/resources/finch/docdoesnotexist.vm
===================================================================
---
xwiki-platform/skins/trunk/finch/src/main/resources/finch/docdoesnotexist.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++
xwiki-platform/skins/trunk/finch/src/main/resources/finch/docdoesnotexist.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,20 +0,0 @@
-###
-### Document does not exist messge
-###
-###
-$response.setStatus(404)
-#template("startpage.vm")
-<div class="main layoutsubsection">
-#if($xwiki.exists("XWiki.DocumentDoesNotExist"))
- $xwiki.includeForm("XWiki.DocumentDoesNotExist",false)
-#else
-#xwikimessageboxstart($msg.get("notice") $msg.get("thispagedoesnotexist"))
-#if($hasedit)
-#set($url = $doc.getURL("edit", $editparams))
-$xwiki.parseMessage("youcanclicktoedit")
-#end
-#xwikimessageboxend()
-#end
-<div class="clearfloats"></div>
-</div>
-#template("endpage.vm")
Deleted:
xwiki-platform/skins/trunk/finch/src/main/resources/finch/getpagedatasources.vm
===================================================================
---
xwiki-platform/skins/trunk/finch/src/main/resources/finch/getpagedatasources.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++
xwiki-platform/skins/trunk/finch/src/main/resources/finch/getpagedatasources.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,14 +0,0 @@
-$response.setContentType("text/xml")
-<types>
-#set($objects = $doc.getxWikiObjects())
-#set($classes = $objects.keySet())
-#foreach($class in $classes)
- #if($class.endsWith("DataSource"))
- <type>$class</type>
- #end
-#end
-
-#foreach($prefix in $xwiki.getSpaces())
- <option name="$prefix" value="$prefix"/>
-#end
-</types>
\ No newline at end of file
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/header.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/header.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/header.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,7 +0,0 @@
-###
-### Document headers
-###
-### Contains the global and space zones
-###
-#template("global.vm")
-#template("space.vm")
\ No newline at end of file
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/space.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/space.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/space.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,25 +0,0 @@
-#set($parents = $xwiki.arrayList)
-#set($discard = $parents.add($doc.fullName))
-#macro(breadcrumb $doc $string $level)
-#set($parent = $doc.parent)
-#if(($parent != "") && ($level < 6) && (!$parents.contains($parent)))
-#set($discard = $parents.add($parent))
-#set($pdoc = $xwiki.getDocument($parent).getTranslatedDocument())
-#set($pdocurl = $pdoc.getURL("view"))
-#set($nstring = "<a href='$pdocurl'>${pdoc.displayTitle}</a> > $string")
-#set($level = $level + 1)
-#breadcrumb($pdoc $nstring $level)
-#else
-$string
-#end
-#end
-#if($context.getMode()==0) ## Visible only in a page
-<div id="headerspace" class="layoutsection">
-<hr/>
- <div id="breadcrumbs">
- <span class="breadcrumbspace"><a href="$spaceviewurl">$doc.web</a>: </span>
-#breadcrumb($doc "<a href='$doc.getURL('view')'>$doc.displayTitle</a>")
- </div>
-<hr/>
-</div>
-#end
\ No newline at end of file
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/status.vm
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/status.vm
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/status.vm
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,106 +0,0 @@
-<html>
-<head>
-<title>Database Status</title>
-<script type="text/javascript">
-<!--
-function switchView(divname) {
- var divel = document.getElementById(divname);
- if (divel.style.display=='block')
- divel.style.display = 'none';
- else
- divel.style.display = 'block';
-}
-// -->
-</script>
-</head>
-<body>
-<h1>Memory and Database Status</h1>
-<h2>Memory</h2>
-<ul>
-<li>Max: $xwiki.maxMemory()</li>
-<li>Free: $xwiki.freeMemory()</li>
-<li>Total: $xwiki.totalMemory()</li>
-</ul>
-<h2>Active Connections</h2>
-<ul>
-<li />Active: $xwiki.store.store.nbConnections
-<li />Map Size: $xwiki.store.store.connections.size()
-</ul>
-<br /><br />
-
-#foreach ($mconn in $xwiki.store.store.connections)
-<h3>$mconn</h3>
-#set($pconn = $mconn.connection)
-<ul>
-<li /><a href="" onclick="switchView('$mconn'); return false;">Time:
$mconn.date</a>
-<div id="$mconn" style="display: none">
-The database connection was assigned in the following page:<br />
-$mconn.url
-<br /><br />
-StackTrace: <br />
-<pre>
-$mconn.exception.getStackTraceAsString()
-</pre>
-</div>
-<li />Closed: $pconn.isClosed()
-#if ( $pconn.closed==false)
-<li />Catalog: $!pconn.catalog
-<li />AutoCommit: $!pconn.autoCommit
-<li />ReadOnline: $!pconn.readOnly
-<li />Warnings: $!pconn.warnings
-#end
-</ul>
-#end
-
-
-#set($provider = $xwiki.store.store.sessionFactory.connectionProvider)
-#set($pool = $xwiki.getPrivateField($provider,"connectionPool"))
-
-#if ($pool)
-<h2>Current Pool</h2>
-
-
-<h3>Before gc</h3>
-<ul>
-<li />Max Active: $pool.maxActive
-<li />Max Idle: $pool.maxIdle
-<li />Max Wait: $pool.maxWait
-<li />Active: $pool.numActive
-<li />Idle: $pool.numIdle
-</ul>
-
-$xwiki.gc()
-$xwiki.gc()
-$xwiki.gc()
-
-<h3>After gc</h3>
-<ul>
-<li />Max Active: $pool.maxActive
-<li />Max Idle: $pool.maxIdle
-<li />Max Wait: $pool.maxWait
-<li />Active: $pool.numActive
-<li />Idle: $pool.numIdle
-</ul>
-
-
-#set($list = $xwiki.getPrivateField($pool,"_pool"))
-#foreach ($element in $list)
-#set($pconn = $xwiki.getPrivateField($element, "value"))
-#set($timea = $xwiki.currentDate.time)
-#set($timeb = $xwiki.getPrivateField($element, "tstamp"))
-<h3>$pconn</h3>
-#set($conn = $pconn.delegate.delegate)
-<ul>
-<li />CurrentTime: $timea
-<li />LastActiveTime: $timeb
-<li />$conn
-<li />Closed: $conn.isClosed()
-#if ( $conn.closed==false)
-<li />Catalog: $!conn.catalog
-<li />AutoCommit: $!conn.autoCommit
-<li />ReadOnline: $!conn.readOnly
-<li />Warnings: $!conn.warnings
-#end
-</ul>
-#end
-#end
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/style1.css
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/style1.css
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/style1.css
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,43 +0,0 @@
-/* Green StyleSheet */
-
-/* Default is a Green StyleSheet */
-/* Light Green */
-
-#xwikinav_footer, #xwikinav_header, .heading-1, .heading-1-1 {
- border-color: #BDDE7B;
-}
-
-#xwikinav_footer, #xwikiwebusermenu, .heading-1-1, .wiki-table th,
.rsschanneltitle,
-#xwikilanguagemenu a.xwikilanguageactive, #xwikilanguagemenu
a:visited.xwikilanguageactive {
- background-color: #BDDE7B;
-}
-
-
-/* Dark Green */
-.xwikiactions a, #xwikiwebusermenu a {
- background-color: #009255;
-}
-
-#xwikinav_footer, #xwikinav_header, #xwikinav_header.xwiki0b {
- border-color: #009255;
-}
-
-.heading-1, .heading-1-1 {
- border-color: #009255;
- color: #009255;
-}
-
-/* Comments colors */
-.xwikidata, .xwikidatafooter, .xwikidatafooter1, .xwikidatefooter2 {
- background-color: #cf9;
-}
-
-.xwikidatatitle, .xwikidatatitle1, .xwikidatatitle2 {
- background-color: #9c6;
-}
-
-/* Logo */
-#companylogo img {
- background-image: url("logovert.jpg");
-}
-
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/style2.css
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/style2.css
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/style2.css
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,40 +0,0 @@
-/* Bordeaux StyleSheet */
-
-/* Light Bordeaux */
-#xwikinav_footer, #xwikinav_header, .heading-1, .heading-1-1 {
- border-color: #FFBFBF;
-}
-
-#xwikinav_footer, #xwikiwebusermenu, .heading-1-1, .wiki-table th,
.rsschanneltitle,
-#xwikilanguagemenu a.xwikilanguageactive, #xwikilanguagemenu
a:visited.xwikilanguageactive {
- background-color: #FFBFBF;
-}
-
-
-/* Dark Bordeaux */
-.xwikiactions a, #xwikiwebusermenu a {
- background-color: #BF6060;
-}
-
-#xwikinav_footer, #xwikinav_header, #xwikinav_header.xwiki0b {
- border-color: #BF6060;
-}
-
-.heading-1, .heading-1-1 {
- border-color: #BF6060;
- color: #BF6060;
-}
-
-/* Comments colors */
-.xwikidata, .xwikidatafooter, .xwikidatafooter1, .xwikidatefooter2 {
- background-color: #FFBFBF;
-}
-
-.xwikidatatitle, .xwikidatatitle1, .xwikidatatitle2 {
- background-color: #BF6060;
-}
-
-/* Logo */
-#companylogo img {
- background-image: url("logobordeaux.jpg");
-}
Deleted: xwiki-platform/skins/trunk/finch/src/main/resources/finch/style3.css
===================================================================
--- xwiki-platform/skins/trunk/finch/src/main/resources/finch/style3.css
2008-02-13 17:49:23 UTC (rev 7650)
+++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/style3.css
2008-02-13 17:58:44 UTC (rev 7651)
@@ -1,41 +0,0 @@
-/* Sahara StyleSheet */
-
-/* Light Sahara */
-#xwikinav_footer, #xwikinav_header, .heading-1, .heading-1-1 {
- border-color: #FFECBF;
-}
-
-#xwikinav_footer, #xwikiwebusermenu, .heading-1-1, .wiki-table th,
.rsschanneltitle,
-#xwikilanguagemenu a.xwikilanguageactive, #xwikilanguagemenu
a:visited.xwikilanguageactive {
- background-color: #FFECBF;
-}
-
-
-/* Dark Sahara */
-.xwikiactions a, #xwikiwebusermenu a {
- background-color: #BFA260;
-}
-
-#xwikinav_footer, #xwikinav_header, #xwikinav_header.xwiki0b {
- border-color: #BFA260;
-}
-
-.heading-1, .heading-1-1 {
- border-color: #BFA260;
- color: #BFA260;
-}
-
-/* Comments colors */
-.xwikidata, .xwikidatafooter, .xwikidatafooter1, .xwikidatefooter2 {
- background-color: #FFECBF;
-}
-
-.xwikidatatitle, .xwikidatatitle1, .xwikidatatitle2 {
- background-color: #BFA260;
-}
-
-/* Logo */
-#companylogo img {
- background-image: url("logosahara.jpg");
-}
-
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications