From 17986f25afdf9569c3e72a8ede0fb6df3cb703d9 Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Sat, 24 Mar 2012 17:25:18 +0000 Subject: [PATCH 01/11] [demo][s]: convert import from url to dropdown plus modal from simple form in top bar. --- demo/index.html | 47 +++++++++++++++++++++++++++++++++++++++-------- demo/js/app.js | 5 +++-- 2 files changed, 42 insertions(+), 10 deletions(-) diff --git a/demo/index.html b/demo/index.html index 3205aee9..03bdce6a 100644 --- a/demo/index.html +++ b/demo/index.html @@ -53,20 +53,51 @@
  • Documentation
  • - + +
    diff --git a/demo/js/app.js b/demo/js/app.js index 9afd6acf..c0aa5cbb 100755 --- a/demo/js/app.js +++ b/demo/js/app.js @@ -101,9 +101,10 @@ function localDataset() { function setupLoader(callback) { // pre-populate webstore load form with an example url var demoUrl = 'http://thedatahub.org/api/data/b9aae52b-b082-4159-b46f-7bb9c158d013'; - $('form.webstore-load input[name="source"]').val(demoUrl); - $('form.webstore-load').submit(function(e) { + $('form.js-import-url input[name="source"]').val(demoUrl); + $('form.js-import-url').submit(function(e) { e.preventDefault(); + $('.modal.js-import-dialog-url').modal('hide'); var $form = $(e.target); var source = $form.find('input[name="source"]').val(); var type = $form.find('select[name="backend_type"]').val(); From 5709300fa37beee7b4d3693de1a49c22c34c875f Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Sun, 25 Mar 2012 14:56:29 +0100 Subject: [PATCH 02/11] [#60,vendor][s]: upgrade to bootstrap v2.0.2 - fixes #60. --- css/data-explorer.css | 4 + demo/built.html | 4 +- demo/index.html | 6 +- .../bootstrap/{2.0.0 => 2.0.2}/bootstrap.js | 106 +- .../css/bootstrap-responsive.css | 627 ++++--- .../{2.0.0 => 2.0.2}/css/bootstrap.css | 1479 ++++++++++++----- .../img/glyphicons-halflings-white.png | Bin .../img/glyphicons-halflings.png | Bin 8 files changed, 1489 insertions(+), 737 deletions(-) rename vendor/bootstrap/{2.0.0 => 2.0.2}/bootstrap.js (95%) rename vendor/bootstrap/{2.0.0 => 2.0.2}/css/bootstrap-responsive.css (73%) rename vendor/bootstrap/{2.0.0 => 2.0.2}/css/bootstrap.css (75%) rename vendor/bootstrap/{2.0.0 => 2.0.2}/img/glyphicons-halflings-white.png (100%) rename vendor/bootstrap/{2.0.0 => 2.0.2}/img/glyphicons-halflings.png (100%) diff --git a/css/data-explorer.css b/css/data-explorer.css index b27e3f82..0fab70e1 100644 --- a/css/data-explorer.css +++ b/css/data-explorer.css @@ -27,6 +27,10 @@ margin-bottom: auto; } +.recline-query-editor .add-on { + float: left; +} + .header .recline-query-editor .text-query input { float: left; } diff --git a/demo/built.html b/demo/built.html index 4772e032..6a0c58e5 100644 --- a/demo/built.html +++ b/demo/built.html @@ -10,7 +10,7 @@ - + @@ -21,7 +21,7 @@ - + diff --git a/demo/index.html b/demo/index.html index 03bdce6a..6548e7df 100644 --- a/demo/index.html +++ b/demo/index.html @@ -10,11 +10,11 @@ - + - + @@ -23,7 +23,7 @@ - +