[Yanel-commits] rev 20837 - in public/yanel/trunk/src/realms/welcome-admin/yanel: data data/xslt rti

michi at wyona.com michi at wyona.com
Wed Dec 13 23:18:11 CET 2006


Author: michi
Date: 2006-12-13 23:18:09 +0100 (Wed, 13 Dec 2006)
New Revision: 20837

Removed:
   public/yanel/trunk/src/realms/welcome-admin/yanel/data/welcome.xhtml
Modified:
   public/yanel/trunk/src/realms/welcome-admin/yanel/data/xslt/welcome.xsl
   public/yanel/trunk/src/realms/welcome-admin/yanel/rti/.yanel-rti
   public/yanel/trunk/src/realms/welcome-admin/yanel/rti/show-realms.html.yanel-rti
Log:
welcome page made dynamic

Deleted: public/yanel/trunk/src/realms/welcome-admin/yanel/data/welcome.xhtml
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/data/welcome.xhtml	2006-12-13 22:07:59 UTC (rev 20836)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/data/welcome.xhtml	2006-12-13 22:18:09 UTC (rev 20837)
@@ -1,62 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-  <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
-  <title>Welcome to Yanel</title>
-  <!-- TODO: This page should be generated dynamically! -->
-  <!--
-  <link rel="neutron-introspection" type="application/neutron+xml" href="introspection-homepage.xml"/>
-  -->
-</head>
-<body>
-<h1>Welcome to Yanel</h1>
-
-<p>
-If you can see this, it means that the installation of Yanel
-software on this system was successful. Thanks for using Yanel!
-</p>
-
-<h2>Getting Started ...</h2>
-<p>
-<ul>
-  <li>What is a realm?</li>
-  <li>Create a realm from scratch.</li>
-  <li><a href="yanel-website/en/documentation/import-existing-website-as-new-realm.html">Import an existing website as a new realm.</a></li>
-  <li><a href="yanel-website/en/documentation/how-to-add-a-new-realm.html">Add an existing third-party realm.</a></li>
-  <li>What is a resource?</li>
-  <li>Create a resource from scratch.</li>
-  <li>Add an existing third-party resource.</li>
-</ul>
-</p>
-
-<h2>Realms</h2>
-<ul>
-  <li><a href="index.html">Welcome and Admin</a> (ROOT realm)</li>
-  <li><a href="yanel-website/">Yanel Website</a></li>
-  <li><a href="yanel-website/javadoc/">Javadoc</a> (Run "build javadoc" to generate the javadoc from source!)</li>
-  <li>Add another realm:
-    <ul>
-      <li><a href="http://svn.wyona.com/repos/public/yulup/website/yanel/config/yanel-realm-config.xml">Yulup Website</a> (U: anonymous, P: anonymous)</li>
-      <li><a href="http://svn.wyona.com/repos/public/yulup/demo/yanel/config/yanel-realm-config.xml">Yulup Demo</a> (U: anonymous, P: anonymous)</li>
-      <li><a href="http://svn.wyona.com/repos/public/osr-101/trunk/yanel/config/yanel-realm-config.xml">OSR-101 (Neutron Protocol Website)</a> (U: anonymous, P: anonymous)</li>
-      <li><a href="http://svn.wyona.com/repos/public/yanel/trunk/src/realms/from-scratch-realm-template/yanel/config/yanel-realm-config.xml">Yanel from Scratch Realm</a> (U: anonymous, P: anonymous)</li>
-      <li>...</li>
-    </ul>
-  </li>
-  <li><a href="show-realms.html">List all registered realms</a></li>
-</ul>
-
-<h2>Resources</h2>
-<ul>
-  <li>XML</li>
-  <li>Nutch</li>
-  <li>Wiki</li>
-  <li>Atom Feed</li>
-  <li>Atom Entry</li>
-  <li>Add another resource ...</li>
-</ul>
-</body>
-</html>

Modified: public/yanel/trunk/src/realms/welcome-admin/yanel/data/xslt/welcome.xsl
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/data/xslt/welcome.xsl	2006-12-13 22:07:59 UTC (rev 20836)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/data/xslt/welcome.xsl	2006-12-13 22:18:09 UTC (rev 20837)
@@ -44,9 +44,9 @@
             <li>Add an existing third-party resource.</li>
           </ul>
         </p>
-        <h2>Realms</h2>
+        <h2>Registered Realms</h2>
         <xsl:apply-templates select="/yanel-info/realms"/>
-        <h2>Resources</h2>
+        <h2>Registered Resources</h2>
         <xsl:apply-templates select="/yanel-info/resourcetypes"/>
       </body>
     </html>
@@ -55,8 +55,10 @@
   <xsl:template match="realms">
     <ul>
       <xsl:apply-templates select="realm"/>
-      <li>Add another realm: <ul>
-          <li>
+    </ul>
+
+    <p>
+    Add another realm: <ul><li>
             <a
               href="http://svn.wyona.com/repos/public/yulup/website/yanel/config/yanel-realm-config.xml">Yulup
             Website</a> (U: anonymous, P: anonymous)</li>
@@ -73,9 +75,7 @@
               href="http://svn.wyona.com/repos/public/yanel/trunk/src/realms/from-scratch-realm-template/yanel/config/yanel-realm-config.xml">Yanel
               from Scratch Realm</a> (U: anonymous, P: anonymous)</li>
           <li>...</li>
-        </ul>
-      </li>
-    </ul>
+        </ul></p>
   </xsl:template>
   
   <xsl:template match="realm">

Modified: public/yanel/trunk/src/realms/welcome-admin/yanel/rti/.yanel-rti
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/rti/.yanel-rti	2006-12-13 22:07:59 UTC (rev 20836)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/rti/.yanel-rti	2006-12-13 22:18:09 UTC (rev 20837)
@@ -1,2 +1,3 @@
-<{http://www.wyona.org/yanel/resource/1.0}file/>
+<{http://www.wyona.org/yanel/resource/1.0}show-realms/>
 mime-type: application/xhtml+xml
+xslt: /xslt/welcome.xsl

Modified: public/yanel/trunk/src/realms/welcome-admin/yanel/rti/show-realms.html.yanel-rti
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/rti/show-realms.html.yanel-rti	2006-12-13 22:07:59 UTC (rev 20836)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/rti/show-realms.html.yanel-rti	2006-12-13 22:18:09 UTC (rev 20837)
@@ -1,3 +1,3 @@
 <{http://www.wyona.org/yanel/resource/1.0}show-realms/>
 mime-type: application/xhtml+xml
-xslt: /xslt/welcome.xsl
+#xslt: /xslt/welcome.xsl




More information about the Yanel-commits mailing list