From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/cluster form-macros index_html
Date: 12 Jun 2007 15:21:47 -0000 [thread overview]
Message-ID: <20070612152147.27661.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Branch: EXPERIMENTAL
Changes by: rmccabe at sourceware.org 2007-06-12 15:21:46
Modified files:
luci/cluster : form-macros index_html
Log message:
Fix 239389: conga cluster: make 'enable shared storage' the default
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.198.2.4&r2=1.198.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/index_html.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.32.2.1&r2=1.32.2.2
--- conga/luci/cluster/form-macros 2007/06/07 06:41:04 1.198.2.4
+++ conga/luci/cluster/form-macros 2007/06/12 15:21:46 1.198.2.5
@@ -3701,7 +3701,7 @@
<tr class="systemsTable"><td colspan="2" class="systemsTable">
<input type="checkbox" name="enable_storage"
tal:attributes="
- checked add_cluster/shared_storage | nothing" />
+ checked add_cluster/shared_storage | string:checked" />
Enable Shared Storage Support
</td></tr>
<tr class="systemsTable"><td colspan="2" class="systemsTable">
@@ -4436,13 +4436,14 @@
global global_resources python: here.getResourcesInfo(modelb, request);
global sstat python: here.getClusterStatus(request, ricci_agent);
global sinfo python: here.getServiceInfo(sstat, modelb, request);
+ global resource_list sinfo/resource_list | python:[];
global running sinfo/running | nothing" />
<tal:block tal:replace="structure python: '<script type='+chr(0x22)+'text/javascript'+chr(0x22)+'>'" />
var uuid_list = <tal:block tal:replace="sinfo/uuid_list | nothing" />;
var global_resources = <tal:block tal:replace="python: map(lambda x: str(x['name']), global_resources) or 'null'" />;
- var active_resources = <tal:block tal:replace="python: map(lambda x: str(x['name']), sinfo['resource_list']) or 'null'" />;
- var resource_names = <tal:block tal:replace="python: (map(lambda x: str(x['name']), global_resources) + map(lambda x: str(x['name']), sinfo['resource_list'])) or 'null'" />;
+ var active_resources = <tal:block tal:replace="python: map(lambda x: str(x['name']), resource_list) or 'null'" />;
+ var resource_names = <tal:block tal:replace="python: (map(lambda x: str(x['name']), global_resources) + map(lambda x: str(x['name']), resource_list)) or 'null'" />;
<tal:block tal:replace="structure string: </script>" />
</div>
@@ -4550,7 +4551,7 @@
</div>
<div class="service_comp_list" tal:attributes="id sinfo/root_uuid">
- <div tal:repeat="res sinfo/resource_list"
+ <div tal:repeat="res resource_list"
tal:attributes="
class python: 'service_comp rc_indent' + str(res['indent_ctr']);
id python: res['uuid']">
--- conga/luci/cluster/index_html 2007/06/07 06:41:05 1.32.2.1
+++ conga/luci/cluster/index_html 2007/06/12 15:21:46 1.32.2.2
@@ -38,14 +38,7 @@
resmap python:here.getClusterOS(ri_agent);
global isVirtualized resmap/isVirtualized | nothing;
global os_version resmap/os | nothing;
- global isBusy python:here.isClusterBusy(request);
- global firsttime request/busyfirst | nothing" />
-
- <tal:block tal:condition="firsttime">
- <tal:block tal:define="global busywaiting python:True" />
- <meta http-equiv="refresh"
- tal:attributes="content isBusy/refreshurl | string:." />
- </tal:block>
+ global isBusy python:here.isClusterBusy(request)" />
<tal:block tal:define="global busy isBusy/busy | nothing" />
@@ -233,23 +226,6 @@
</metal:block>
</td>
<tal:comment replace="nothing"> End of main content block </tal:comment>
-
-<!--
- <tal:comment replace="nothing"> Start of right column </tal:comment>
- <td id="portal-column-two"
- metal:define-slot="column_two_slot"
- tal:condition="sr">
- <div class="visualPadding">
- <metal:portlets define-slot="portlets_two_slot">
- <metal:rightportlets use-macro="here/portlets_fetcher/macros/right_column">
- This instruction gets the portlets (boxes) for the right column.
- </metal:rightportlets>
- </metal:portlets>
-
- </div>
- </td>
- <tal:comment replace="nothing"> End of the right column </tal:comment>
--->
</tr>
</tbody>
</table>
next reply other threads:[~2007-06-12 15:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-12 15:21 rmccabe [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-11-27 19:56 [Cluster-devel] conga/luci/cluster form-macros index_html rmccabe
2006-11-07 20:28 rmccabe
2006-10-04 16:10 jparsons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070612152147.27661.qmail@sourceware.org \
--to=rmccabe@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.