You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2003/06/19 18:08:40 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/xslt/admin root.xsl
michi 2003/06/19 09:08:39
Modified: src/webapp/lenya admin.xmap
src/webapp/lenya/resources/html index.html
src/webapp/lenya/xslt/admin root.xsl
Log:
user administration to admin area added
Revision Changes Path
1.3 +6 -6 cocoon-lenya/src/webapp/lenya/admin.xmap
Index: admin.xmap
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/admin.xmap,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- admin.xmap 11 Jun 2003 15:25:10 -0000 1.2
+++ admin.xmap 19 Jun 2003 16:08:39 -0000 1.3
@@ -41,12 +41,12 @@
<map:pipeline>
<map:match pattern="**">
- <map:aggregate element="lenya" label="aggregate">
- <map:part src="cocoon:/menus/admin.xml"/>
- <map:part element="cmsbody" src="resources/html/index.html"/>
- </map:aggregate>
- <map:transform src="xslt/admin/root.xsl" label="content" />
- <map:serialize type="html"/>
+ <map:aggregate element="lenya" label="aggregate">
+ <map:part src="cocoon:/menus/admin.xml"/>
+ <map:part element="cmsbody" src="resources/html/index.html"/>
+ </map:aggregate>
+ <map:transform src="xslt/admin/root.xsl" label="content" />
+ <map:serialize type="html"/>
</map:match>
</map:pipeline>
1.2 +8 -1 cocoon-lenya/src/webapp/lenya/resources/html/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/resources/html/index.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- index.html 19 Apr 2003 23:48:01 -0000 1.1
+++ index.html 19 Jun 2003 16:08:39 -0000 1.2
@@ -1,5 +1,12 @@
<html>
<body>
-Welcome to the Admin Area
+<h1>Welcome to the Admin Area</h1>
+
+<a href="?lenya.usecase=user-admin&lenya.step=showscreen">Show all users</a>
+
+<br>
+
+<a href="?lenya.usecase=user-add&lenya.step=showscreen">Add new user</a>
+
</body>
</html>
1.2 +8 -8 cocoon-lenya/src/webapp/lenya/xslt/admin/root.xsl
Index: root.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/admin/root.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- root.xsl 11 Jun 2003 15:25:10 -0000 1.1
+++ root.xsl 19 Jun 2003 16:08:39 -0000 1.2
@@ -1,17 +1,17 @@
<?xml version="1.0"?>
-<!--
- $Id$
- -->
+<!-- $Id$ -->
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- >
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="../menu/root.xsl"/>
<xsl:template match="lenya/cmsbody">
-<xsl:apply-templates />
+ <xsl:apply-templates select="html"/>
+</xsl:template>
+
+<xsl:template match="html">
+ <xsl:copy-of select="."/>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org