You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2017/10/23 10:45:39 UTC

[kibble] branch master updated (b020811 -> e685651)

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git.


    from b020811  missing sub-filtering here, plus refactor of view filter
     new 4a7d758  add a reset button
     new e685651  regen JS

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ui/js/coffee/explorer.coffee |  2 ++
 ui/js/kibble.v1.js           | 12 +++++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@kibble.apache.org" <co...@kibble.apache.org>'].

[kibble] 02/02: regen JS

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git

commit e6856514ccc3326edf129110f2410444b067e8a0
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Oct 23 12:45:31 2017 +0200

    regen JS
---
 ui/js/kibble.v1.js | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/ui/js/kibble.v1.js b/ui/js/kibble.v1.js
index 2d0e1b9..90b4e47 100644
--- a/ui/js/kibble.v1.js
+++ b/ui/js/kibble.v1.js
@@ -2175,7 +2175,7 @@ subFilter = function() {
 };
 
 viewexplorer = function(json, state) {
-  var ID, b, div, h, i, item, len, list, opt, org, q, ref, source, tName;
+  var ID, b, div, h, i, item, len, list, opt, org, q, rb, ref, source, tName;
   org = json.organisation;
   h = document.createElement('h4');
   h.appendChild(document.createTextNode("Select a view to use:"));
@@ -2281,8 +2281,18 @@ viewexplorer = function(json, state) {
     onClick: 'subFilter();',
     value: "sub-filter"
   });
+  rb = new HTML('input', {
+    style: {
+      marginLeft: '10px'
+    },
+    "class": 'btn btn-small btn-danger',
+    type: 'button',
+    onClick: 'subFilterGlob=""; subFilter();',
+    value: "reset"
+  });
   state.widget.inject(i);
   state.widget.inject(b);
+  state.widget.inject(rb);
   if (globArgs.subfilter && globArgs.subfilter.length > 0) {
     source = globArgs.subfilter;
     $("a").each(function() {

-- 
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.

[kibble] 01/02: add a reset button

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git

commit 4a7d758baf1dfc205d55b8902dae09fb1fef003a
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Oct 23 12:45:28 2017 +0200

    add a reset button
---
 ui/js/coffee/explorer.coffee | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ui/js/coffee/explorer.coffee b/ui/js/coffee/explorer.coffee
index fadd362..6abb682 100644
--- a/ui/js/coffee/explorer.coffee
+++ b/ui/js/coffee/explorer.coffee
@@ -545,8 +545,10 @@ viewexplorer = (json, state) ->
         state.widget.inject(new HTML('br'))
         i = new HTML('input', {type: 'text', value: globArgs.subfilter, onChange: 'subFilterGlob = this.value;', placeholder: 'sub-filter'})
         b = new HTML('input', {style: { marginLeft: '10px'}, class: 'btn btn-small btn-success', type: 'button', onClick: 'subFilter();', value: "sub-filter"})
+        rb = new HTML('input', {style: { marginLeft: '10px'}, class: 'btn btn-small btn-danger', type: 'button', onClick: 'subFilterGlob=""; subFilter();', value: "reset"})
         state.widget.inject(i)
         state.widget.inject(b)
+        state.widget.inject(rb)
         
         if globArgs.subfilter and globArgs.subfilter.length > 0
                 source = globArgs.subfilter

-- 
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.