Skip to contentSkip to conversation

conga/luci storage/form-chooser storage/form-m ...

Cluster-devel [email protected] 1 participant 1 message Aug 3, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-08-03 18:56:10

Modified files:
luci/storage : form-chooser form-macros index_html
luci/site/luci/Extensions: HelperFunctions.py StorageReport.py
conga_storage_constants.py storage_adapters.py

Log message:
Change Storage Front Page

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-chooser.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-macros.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/index_html.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/HelperFunctions.py.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/StorageReport.py.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/conga_storage_constants.py.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/storage_adapters.py.diff?cvsroot=cluster&r1=1.2&r2=1.3

luci/storage/form-chooser +6 -1
@@ -5,7 +5,12 @@
   <body>
  
   <metal:choose-form metal:define-macro="main-form">
-
+    
+    <span tal:omit-tag=""
+          tal:define="global preferred_size_units python:here.set_persistant_var('preferred_size_units', 'GB')"/>
+    <span tal:omit-tag=""
+          tal:define="global preferred_path_display python:here.set_persistant_var('preferred_path_display', 'path')"/>
+    
 <!--
     <span tal:omit-tag="" tal:condition="python: storage_report == None and storagename != None">
       <div metal:use-macro="here/form-macros/macros/error-form"/>
luci/storage/form-macros +110 -140

281 lines not on this page · raw message

luci/storage/index_html +1 -1
@@ -213,7 +213,7 @@
                       Page body text
                     </metal:bodytext>
                     <span tal:omit-tag="" tal:condition="not: storagename">
-                      <h1>Choose a storage system to administer</h1>
+                      <h1>Welcome to Storage Configuration Interface</h1>
                     </span>
                     <span tal:omit-tag="" tal:condition="storagename">
                       <h1 tal:content="storagename"></h1>
luci/site/luci/Extensions/HelperFunctions.py +68 -1

73 lines not on this page · raw message

luci/site/luci/Extensions/StorageReport.py +40 -76

130 lines not on this page · raw message

luci/site/luci/Extensions/conga_storage_constants.py +1 -0
@@ -57,6 +57,7 @@
 STORAGESYS="0"
 STORAGE_CONFIG="43"
 STORAGE="44"
+CLUSTER_STORAGE="45"
 
 STORAGE_COMMIT_CHANGES='commit_changes'
 
luci/site/luci/Extensions/storage_adapters.py +63 -18

107 lines not on this page · raw message