summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/guix-web.js21
1 files changed, 9 insertions, 12 deletions
diff --git a/js/guix-web.js b/js/guix-web.js
index 62a8779..8cdbd53 100644
--- a/js/guix-web.js
+++ b/js/guix-web.js
@@ -70,18 +70,15 @@ guix.view = function(ctrl) {
"Packages",
m("span.badge", ctrl.packages().length)
]),
- m("div", [
- m("label", "Search"),
- m("input", {
- type: "text",
- placeholder: 'gui.*',
- onchange: m.withAttr("value", function(value) {
- ctrl.searchTerm(value);
- ctrl.doSearch();
- }),
- value: ctrl.searchTerm()
- })
- ]),
+ m("input.form-control", {
+ type: "text",
+ placeholder: "Search",
+ onchange: m.withAttr("value", function(value) {
+ ctrl.searchTerm(value);
+ ctrl.doSearch();
+ }),
+ value: ctrl.searchTerm()
+ }),
m("table.table", [
m("thead", [
m("tr", [