[prev in list] [next in list] [prev in thread] [next in thread] 

List:       luci-commits
Subject:    [Luci-commits] [luci] Fix rhbz#636267: Fence dev.: dummy Update buttons.
From:       jpokorny () fedoraproject ! org (Jan Pokorny)
Date:       2010-09-22 20:29:55
Message-ID: 20100922202955.D56FE120350 () lists ! fedorahosted ! org
[Download RAW message or body]

commit 6a765721487f2b75a92439a7f2588f37a6964bff
Author: Jan Pokorny <jpokorny at redhat.com>
Date:   Wed Sep 22 22:26:13 2010 +0200

    Fix rhbz#636267: Fence dev.: dummy Update buttons.
    
    These buttons were removed from Fence Devices tab.

 luci/templates/fence.html |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/luci/templates/fence.html b/luci/templates/fence.html
index 5126b7c..e3caac9 100644
--- a/luci/templates/fence.html
+++ b/luci/templates/fence.html
@@ -21,7 +21,6 @@
   <xi:include href="submenu.html"/>
   <div id="toolbar">
     <a href="#" class="toolbar_button" id="tb_add" \
                onclick="$('#create_fencedev_dialog').dialog('open')">Add</a>
-    <input type="submit" name="MultiAction" value="${_('Update')}" \
                class="toolbar_button" id="tb_update"/>
     <input type="submit" name="MultiAction" value="${_('Delete')}" \
class="toolbar_button" id="tb_delete"/>  </div>
 
@@ -99,7 +98,6 @@
       <h3 py:content="name">Fence A</h3>
       <div id="details_header_buttons">
         <a href="${tg.url(fences_cmd + '?command=Delete' + '&amp;name=' + name)}" \
                id="dh_delete" title="delete"><span class="hide">delete</span></a>
-        <a href="${tg.url(fences_cmd + '?command=Update' + '&amp;name=' + name)}" \
id="dh_update" title="update"><span class="hide">update</span></a>  </div>
       <span class="details_header_info_label">Type</span> <span \
class="details_header_info">${details.getPrettyName()}</span>  </div>
@@ -180,7 +178,7 @@
         <input type="Submit" value="Submit" class="button formsubmit blue" />
         <input type="button" class="button formsubmit silver" value="Cancel"
             onclick="$('#create_fencedev_dialog').dialog('close')" />
-        </div>    
+        </div>
     </form>
   </div>
   </div>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic