aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/static
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-07-03 09:14:35 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-07-03 13:58:54 +0200
commit1799ef77ae8c611e11750aade95b6750e84e95de (patch)
tree7f71c95008a292cfed641139c0bba92f0e03d87a /pyaggr3g470r/static
parentusing conf.DEFAULT_MAX_ERROR in feed template (diff)
downloadnewspipe-1799ef77ae8c611e11750aade95b6750e84e95de.tar.gz
newspipe-1799ef77ae8c611e11750aade95b6750e84e95de.tar.bz2
newspipe-1799ef77ae8c611e11750aade95b6750e84e95de.zip
Minor improvements to the edit feed forms.
Diffstat (limited to 'pyaggr3g470r/static')
-rw-r--r--pyaggr3g470r/static/js/feed.js32
1 files changed, 17 insertions, 15 deletions
diff --git a/pyaggr3g470r/static/js/feed.js b/pyaggr3g470r/static/js/feed.js
index b1e3110e..a2347286 100644
--- a/pyaggr3g470r/static/js/feed.js
+++ b/pyaggr3g470r/static/js/feed.js
@@ -1,20 +1,22 @@
$('.container').on('click', '#add-feed-filter-row', function() {
$('#filters-container').append(
- '<div class="col-sm-9">'
- + ' <input value="-" type="button" class="del-feed-filter-row" />'
- + ' <select name="type">'
- + ' <option value="simple match" selected>simple match</option>'
- + ' <option value="regex">regex</option>'
- + ' </select/>'
- + ' <input type="text" size="50%" name="pattern" />'
- + ' <select name="action_on">'
- + ' <option value="match" selected>match</option>'
- + ' <option value="no match">no match</option>'
- + ' </select/>'
- + ' <select name="action">'
- + ' <option value="mark as read" selected>mark as read</option>'
- + ' <option value="mark as favorite">mark as favorite</option>'
- + ' </select/>'
+ '<div class="form-inline">'
+ + ' <div class="form-group">'
+ + ' <input value="-" type="button" class="form-control del-feed-filter-row" />'
+ + ' <select name="type" class="form-control">'
+ + ' <option value="simple match" selected>simple match</option>'
+ + ' <option value="regex">regex</option>'
+ + ' </select>'
+ + ' <input type="text" class="form-control" name="pattern" />'
+ + ' <select name="action_on" class="form-control">'
+ + ' <option value="match" selected>match</option>'
+ + ' <option value="no match">no match</option>'
+ + ' </select>'
+ + ' <select name="action" class="form-control">'
+ + ' <option value="mark as read" selected>mark as read</option>'
+ + ' <option value="mark as favorite">mark as favorite</option>'
+ + ' </select>'
+ + ' </div>'
+ '</div>');
});
$('.container').on('click', '.del-feed-filter-row', function() {
bgstack15