From 343600c2aa766a964f98b18fecebcff5345bbaf0 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 22 Nov 2013 18:27:15 -0500 Subject: [PATCH] Rework the 'update' button for clearer use alongside other buttons --- confluent/httpapi.py | 5 +++-- confluent/messages.py | 3 ++- plugins/hardwaremanagement/ipmi.py | 8 +++++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/confluent/httpapi.py b/confluent/httpapi.py index 07614966..aec32850 100644 --- a/confluent/httpapi.py +++ b/confluent/httpapi.py @@ -257,7 +257,6 @@ def _assemble_html(responses, resource, querydict, url): yield '
' yield 'Only fields that have their boxes checked will have their ' yield 'respective values honored by the confluent server.
' - yield '' yield '' yield '%s
' % (resource, resource) if url == '/': @@ -279,7 +278,9 @@ def _assemble_html(responses, resource, querydict, url): yield rsp.html() yield "
" if not iscollection: - yield '' + yield '' + else: + yield '' def _assemble_json(responses, resource, url): diff --git a/confluent/messages.py b/confluent/messages.py index 4544f3a8..c8f3ff05 100644 --- a/confluent/messages.py +++ b/confluent/messages.py @@ -98,6 +98,7 @@ class LinkRelation(ConfluentMessage): This is used by the API explorer aspect of httpapi""" return '%s' % (self.href, self.rel, self.href) + #return '%s