incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r414584 - in /incubator/lokahi/lokahi/trunk/src/www/Core: Enviroment/list.vm Function/list.vm Instance/list.vm Ip/list.vm State/list.vm
Date Thu, 15 Jun 2006 13:57:33 GMT
Author: toback
Date: Thu Jun 15 06:57:32 2006
New Revision: 414584

URL: http://svn.apache.org/viewvc?rev=414584&view=rev
Log:
changes so the objects list, was refrencing an old template

Modified:
    incubator/lokahi/lokahi/trunk/src/www/Core/Enviroment/list.vm
    incubator/lokahi/lokahi/trunk/src/www/Core/Function/list.vm
    incubator/lokahi/lokahi/trunk/src/www/Core/Instance/list.vm
    incubator/lokahi/lokahi/trunk/src/www/Core/Ip/list.vm
    incubator/lokahi/lokahi/trunk/src/www/Core/State/list.vm

Modified: incubator/lokahi/lokahi/trunk/src/www/Core/Enviroment/list.vm
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/www/Core/Enviroment/list.vm?rev=414584&r1=414583&r2=414584&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/Enviroment/list.vm (original)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/Enviroment/list.vm Thu Jun 15 06:57:32 2006
@@ -15,38 +15,34 @@
 ##
 ## $Id: list.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
 ##
-#set ($menu = "/layout/menu/EntityTop.vm")
-#set ($pageSelected = "enviroment")
-#parse("/layout/header.vm")
-
-<div align="center" class="contentbox">
-<br /><br />
-<table width="700" border="0" cellspacing="0" cellpadding="0" >
-<tr valign="top" class="info">
-	<td valign="top" height="25" align="center"> Environments </td>
-</tr>
-<tr valign="top" class="body">
-	<td align="center" valign="top" style="border-right-color:#666666;border-right-style:solid;border-right-width:1px;"><br
/>
-
-		<a href="#">&nbsp;Some&nbsp;</a><br />
-		<a href="#">&nbsp;Environments&nbsp;</a><br />
-		<a href="#">&nbsp;Go&nbsp;</a><br />
-		<a href="#">&nbsp;Here?&nbsp;</a><br />
-
-	</td>
-</tr>
-
-</table>
-
-</form>
-
-<br />
-</div>
-
 #set ($collection = $view.getEnvironments())
 #set ($entity = "Environment")
 #parse("/layout/list2.vm")
 
 #parse("/layout/footer.vm")
 
+#if (!$collection)
+#set ($menu = "/layout/UtilTop.vm")
+#set ($pageSelected = "environment")
+#parse("/layout/header.vm")
+#set ($plf = "true")
+#if ($request.getParameter("id"))
+#set ($id = $request.getParameter("id"))
+#set ($individual = $view.getEnvironment($id))
+#set ($indivPage = "/Core/Environment/confirm.vm")
+#else
+#set ($collection = $view.getEnvironments())
+#end
+#end
+#set ($entity = "Environment")
+#set ($usesEnv = "false")
+#set ($path = "Core/Environment")
+#if (! $currentPage)
+#set ($currentPage = "$appRoot/Core/Environment/list.vm")
+#end
+
+#parse("/layout/list2.vm")
+#if ($plf)
+#parse("/layout/footer.vm")
+#end
 

Modified: incubator/lokahi/lokahi/trunk/src/www/Core/Function/list.vm
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/www/Core/Function/list.vm?rev=414584&r1=414583&r2=414584&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/Function/list.vm (original)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/Function/list.vm Thu Jun 15 06:57:32 2006
@@ -15,14 +15,29 @@
 ##
 ## $Id: list.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
 ##
+#if (!$collection)
 #set ($menu = "/layout/UtilTop.vm")
 #set ($pageSelected = "function")
 #parse("/layout/header.vm")
-
-#set ($collection = $User.getFunctions())
+#set ($plf = "true")
+#if ($request.getParameter("id"))
+#set ($id = $request.getParameter("id"))
+#set ($individual = $view.getFunction($id))
+#set ($indivPage = "/Core/Function/confirm.vm")
+#else
+#set ($collection = $view.getFunctions())
+#end
+#end
 #set ($entity = "Function")
-#parse("/layout/list.vm")
+#set ($usesEnv = "false")
+#set ($path = "Core/Function")
+#if (! $currentPage)
+#set ($currentPage = "$appRoot/Core/Function/list.vm")
+#end
 
+#parse("/layout/list2.vm")
+#if ($plf)
 #parse("/layout/footer.vm")
+#end
 
 

Modified: incubator/lokahi/lokahi/trunk/src/www/Core/Instance/list.vm
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/www/Core/Instance/list.vm?rev=414584&r1=414583&r2=414584&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/Instance/list.vm (original)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/Instance/list.vm Thu Jun 15 06:57:32 2006
@@ -15,14 +15,28 @@
 ##
 ## $Id: list.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
 ##
+#if (!$collection)
 #set ($menu = "/layout/UtilTop.vm")
 #set ($pageSelected = "instance")
 #parse("/layout/header.vm")
-
+#set ($plf = "true")
+#if ($request.getParameter("id"))
+#set ($id = $request.getParameter("id"))
+#set ($individual = $view.getInstance($id))
+#set ($indivPage = "/Core/Instance/confirm.vm")
+#else
 #set ($collection = $view.getInstances())
+#end
+#end
 #set ($entity = "Instance")
-#parse("/layout/list.vm")
+#set ($usesEnv = "false")
+#set ($path = "Core/Instance")
+#if (! $currentPage)
+#set ($currentPage = "$appRoot/Core/Instance/list.vm")
+#end
 
+#parse("/layout/list2.vm")
+#if ($plf)
 #parse("/layout/footer.vm")
-
+#end
 

Modified: incubator/lokahi/lokahi/trunk/src/www/Core/Ip/list.vm
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/www/Core/Ip/list.vm?rev=414584&r1=414583&r2=414584&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/Ip/list.vm (original)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/Ip/list.vm Thu Jun 15 06:57:32 2006
@@ -15,14 +15,28 @@
 ##
 ## $Id: list.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
 ##
+#if (!$collection)
 #set ($menu = "/layout/UtilTop.vm")
-#set ($pageSelected = "Administration")
+#set ($pageSelected = "ip")
 #parse("/layout/header.vm")
-
+#set ($plf = "true")
+#if ($request.getParameter("id"))
+#set ($id = $request.getParameter("id"))
+#set ($individual = $view.getIp($id))
+#set ($indivPage = "/Core/Ip/confirm.vm")
+#else
 #set ($collection = $view.getIps())
+#end
+#end
 #set ($entity = "Ip")
-#parse("/layout/list.vm")
+#set ($usesEnv = "false")
+#set ($path = "Core/Ip")
+#if (! $currentPage)
+#set ($currentPage = "$appRoot/Core/Ip/list.vm")
+#end
 
+#parse("/layout/list2.vm")
+#if ($plf)
 #parse("/layout/footer.vm")
-
+#end
 

Modified: incubator/lokahi/lokahi/trunk/src/www/Core/State/list.vm
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/www/Core/State/list.vm?rev=414584&r1=414583&r2=414584&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/www/Core/State/list.vm (original)
+++ incubator/lokahi/lokahi/trunk/src/www/Core/State/list.vm Thu Jun 15 06:57:32 2006
@@ -15,14 +15,28 @@
 ##
 ## $Id: list.vm,v 1.1.1.1 2005/11/30 22:35:36 drtobes Exp $
 ##
+#if (!$collection)
 #set ($menu = "/layout/UtilTop.vm")
 #set ($pageSelected = "state")
 #parse("/layout/header.vm")
-
+#set ($plf = "true")
+#if ($request.getParameter("id"))
+#set ($id = $request.getParameter("id"))
+#set ($individual = $view.getState($id))
+#set ($indivPage = "/Core/State/confirm.vm")
+#else
 #set ($collection = $view.getStates())
+#end
+#end
 #set ($entity = "State")
-#parse("/layout/list.vm")
+#set ($usesEnv = "false")
+#set ($path = "Core/State")
+#if (! $currentPage)
+#set ($currentPage = "$appRoot/Core/State/list.vm")
+#end
 
+#parse("/layout/list2.vm")
+#if ($plf)
 #parse("/layout/footer.vm")
-
+#end
 



Mime
View raw message