From a4c0f5025877f4858576dba28bbb461f0581a5d1 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Thu, 19 Jan 2012 22:06:58 +0100 Subject: [PATCH] Bootstrap compatibility --- index.html | 6 ++---- js/adhoc.js | 27 ++++++++++++++------------- style.css | 4 ++++ 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index acf79d3..05983b6 100644 --- a/index.html +++ b/index.html @@ -15,12 +15,10 @@
-
+ -
-
+ -
diff --git a/js/adhoc.js b/js/adhoc.js index 0266318..3638eef 100644 --- a/js/adhoc.js +++ b/js/adhoc.js @@ -46,7 +46,7 @@ Adhoc.prototype = { addForm: function (x) { var self = this; - var form = $("
"); + var form = $(""); form.submit(function(event) { self.executeCommand("execute", self.serializeToDataform('form'), function(e) { self.displayResult(e) }); @@ -57,17 +57,16 @@ Adhoc.prototype = { $(x).find("title").each(function() { $("").text($(this).text()).appendTo(fieldset); }); $(x).find("instructions").each(function() { $("

").text($(this).text()).appendTo(fieldset); }); $(x).find("field").each(function() { + var clearfix = $("

"); var item = self.buildHTMLField(this); var label = $(this).attr("label"); if(label) { - $("