2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-15 12:17:47 +00:00

Back off on the table attempt in the rest explorer interface

This commit is contained in:
Jarrod Johnson 2013-11-03 08:18:44 -05:00
parent 17a75d96ab
commit 6588a15174
2 changed files with 0 additions and 5 deletions

View File

@ -229,11 +229,9 @@ def resourcehandler(env, start_response):
if mimetype == 'text/html':
yield '<html><body><form action="' + resource + '" method="post">'
yield '<input type="hidden" name="restexplorerop" value="update">'
yield "<table><tr><td></td><td>Ignore on submit</td></tr><br>"
for rsp in hdlr:
yield rsp.html()
yield "<br>"
yield "</table>"
yield '<input type="submit"></form></body></html>'
else:
yield '['

View File

@ -31,14 +31,11 @@ class ConfluentMessage(object):
value = val['value']
if 'note' in val:
note = '(' + val['note'] + ')'
snippet += "<tr><td>"
snippet += label + ":" + \
'<input type="text" name="%s" value="%s">%s' % (
key, value, note)
snippet += "</td><td>"
snippet += '<input type="checkbox" name="restexplorerignorekey" '
snippet += 'value="%s" checked>' % (key)
snippet += "</td></tr>"
return snippet