Skip to contentSkip to conversation

conga/luci/homebase form-chooser form-macros i ...

Cluster-devel [email protected] 1 participant 1 message Jun 20, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-06-20 21:21:47

Modified files:
luci/homebase : form-chooser form-macros index_html
luci_homebase.css main_logo main_pathbar main_personalbar main_sections portlet_homebase
Added files:
luci/homebase : main_footer x.png

Log message:

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/main_footer.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/x.png.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-chooser.diff?cvsroot=cluster&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/index_html.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/main_logo.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/main_pathbar.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/main_personalbar.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/main_sections.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/portlet_homebase.diff?cvsroot=cluster&r1=1.6&r2=1.7

/cvs/cluster/conga/luci/homebase/main_footer,v --> standard output revision 1.1

- renamed from luci/homebase/main_footer +31 -0
@@ -0,0 +1,31 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<body>
+<div id="portal-footer" metal:define-macro="portal_footer">
+
+<p>
+    <span i18n:translate="description_copyright" tal:omit-tag="">
+    The 
+    <span>
+        <a href="http://redhat.com">Conga&trade; Cluster and Storage Management System</a>
+    </span>
+    is Copyright
+    <acronym title="Copyright" i18n:name="copyright" i18n:attributes="title title_copyright;">&copy;</acronym>
+    2000-<span i18n:name="current_year" 
+               tal:define="now modules/DateTime/DateTime" 
+               tal:content="now/year" />
+    <a href="http://www.redhat.com/">Red Hat, Inc.</a>
+    </span>
+</p>
+
+<p>
+    <span i18n:translate="description_license">
+    Distributed under the 
+        <span i18n:name="license">
+            <a href="http://creativecommons.org/licenses/GPL/2.0/" i18n:translate="label_gnu_gpl_licence">GNU GPL license</a>
+        </span>.
+    </span>
+</p>
+
+</div>
+</body>
+</html>

/cvs/cluster/conga/luci/homebase/x.png,v --> standard output revision 1.1
Binary files /cvs/cluster/conga/luci/homebase/x.png and - differ

luci/homebase/form-chooser +6 -4
@@ -5,12 +5,13 @@
 </head>
 
 <tal:comment replace="nothing">
-	$Id: form-chooser,v 1.7 2006/05/18 17:47:15 rmccabe Exp $
+	$Id: form-chooser,v 1.8 2006/06/20 21:21:47 rmccabe Exp $
 </tal:comment>
 
 <body>
-  <metal:choose-form metal:define-macro="main-form">
-	<span tal:omit-tag="" tal:define="global ptype request/pagetype | request/form/pagetype |nothing"/>  
+
+<metal:choose-form metal:define-macro="main-form">
+	<span tal:omit-tag="" tal:define="global ptype request/pagetype | request/form/pagetype |nothing"/>
 
 	<span tal:omit-tag="" tal:condition="python: not ptype or ptype == '0'">
 		<div metal:use-macro="here/form-macros/macros/entry-form"/>
@@ -39,6 +40,7 @@
 	<span tal:omit-tag="" tal:condition="python: ptype == '6'">
 		<div metal:use-macro="here/form-macros/macros/cluster-add-form" />
 	</span>
-  </metal:choose-form>
+</metal:choose-form>
+
 </body>
 </html>
luci/homebase/form-macros +464 -585

1,275 lines not on this page · raw message

luci/homebase/index_html +355 -143

540 lines not on this page · raw message

luci/homebase/luci_homebase.css +70 -16

121 lines not on this page · raw message

luci/homebase/main_logo +5 -5
@@ -1,17 +1,17 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
-      i18n:domain="plone">
+	i18n:domain="plone">
+
+<head/>
 
 <body>
 
 <tal:comment replace="nothing">
-	$Id: main_logo,v 1.3 2006/05/18 17:47:15 rmccabe Exp $
+	$Id: main_logo,v 1.4 2006/06/20 21:21:47 rmccabe Exp $
 </tal:comment>
 
 <!--	THE PORTAL LOGO DEFINITION -->
 <h1 id="main-portal-logo" metal:define-macro="main_portal_logo">
-    <a href="/">
-        Luci
-    </a>
+	<a href="/">Luci</a>
 </h1>
 
 
luci/homebase/main_pathbar +37 -30

87 lines not on this page · raw message

luci/homebase/main_personalbar +41 -34

86 lines not on this page · raw message

luci/homebase/main_sections +17 -14
@@ -1,8 +1,10 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
-      i18n:domain="plone">
+	i18n:domain="plone">
+
+<head/>
 
 <tal:comment replace="nothing">
-	$Id: main_sections,v 1.3 2006/05/18 17:47:15 rmccabe Exp $
+	$Id: main_sections,v 1.4 2006/06/20 21:21:47 rmccabe Exp $
 </tal:comment>
 
 <body>
@@ -12,19 +14,20 @@
 	tal:omit-tag=""
 	tal:define="tabs python:here.getTabs(request)">
 
-    <h5 class="hiddenStructure" i18n:translate="heading_sections">Sections</h5>
+	<h5 class="hiddenStructure" i18n:translate="heading_sections">Sections</h5>
 
-    <ul id="portal-globalnav" tal:condition="python:here.userAuthenticated()">
-       <tal:tabs tal:repeat="tab tabs">
-        <li tal:attributes="id string:portaltab-${tab/Title};
-                            class python:test(tab['isSelected'], 'selected', 'plain');">
-            <a href="" 
-               tal:content="tab/Title"
-               tal:attributes="href tab/Taburl;
-                               title tab/Description|nothing">
-            Tab Name
-            </a></li></tal:tabs>
-    </ul>
+	<ul id="portal-globalnav" tal:condition="python:here.userAuthenticated()">
+		<tal:tabs tal:repeat="tab tabs">
+			<li tal:attributes="id string:portaltab-${tab/Title};
+							class python:test(tab['isSelected'], 'selected', 'plain');">
+				<a href=""
+					tal:content="tab/Title"
+					tal:attributes="href tab/Taburl;
+					title tab/Description|nothing">
+				Tab Name</a>
+			</li>
+		</tal:tabs>
+	</ul>
 </div>
 
 </body>
luci/homebase/portlet_homebase +19 -20
@@ -1,22 +1,21 @@
 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
-      xmlns:metal="http://xml.zope.org/namespaces/metal">
+	xmlns:metal="http://xml.zope.org/namespaces/metal">
+
+<head/>
 
 <body>
 
 <tal:comment replace="nothing">
-	$Id: portlet_homebase,v 1.6 2006/05/18 17:47:15 rmccabe Exp $
+	$Id: portlet_homebase,v 1.7 2006/06/20 21:21:47 rmccabe Exp $
 </tal:comment>
 
-<div metal:define-macro="homebase_portlet" tal:condition="python: here.userAuthenticated()">
-	<span tal:omit-tag=""
-		tal:define="global data python:here.homebaseControl(request)" />
-
-	<div tal:condition="python:here.isAdmin()" class="type-node">
-		<dl class="portlet" id="portlet-homebase">
-		<dt class="portletHeader"><a href="#" tal:content="user/getUserName"></a></dt>
+<div metal:define-macro="homebase_portlet">
+	<div class="type-node">
+	<dl class="portlet" id="portlet-homebase">
+	<dt class="portletHeader"><a href="/luci/homebase" tal:content="user/getUserName"></a></dt>
 
-		<dd class="portletItemSingle">
-		<ul class="portletCluConfigTree cluConfigTreeLevel0">
+	<dd class="portletItemSingle">
+	<ul class="portletCluConfigTree cluConfigTreeLevel0">
 		<tal:portal repeat="c python:data.get('children',[])">
 			<li tal:condition="not: c/currentItem" class="cluConfigTreeItem visualNoMarker">
 			<div tal:condition="not: c/currentItem">
@@ -28,17 +27,17 @@
 			</li>
 
 			<li tal:condition="c/currentItem" class="cluConfigTreeCurrentItem visualNoMarker">
-			<div tal:condition="c/currentItem">
-				<a class="visualIconPadding"
-					tal:attributes="href c/absolute_url;
-						title c/Description |nothing"
-					tal:content="c/Title|nothing">Title</a>
-			</div>
+				<div tal:condition="c/currentItem">
+					<a class="visualIconPadding"
+						tal:attributes="href c/absolute_url;
+							title c/Description |nothing"
+						tal:content="c/Title|nothing">Title</a>
+				</div>
 			</li>
 		</tal:portal>
-		</ul>
-		</dd>
-		</dl>
+	</ul>
+	</dd>
+	</dl>
 	</div>
 </div>