From f2071a761fb549091880ed6fd490e16de43f84cb Mon Sep 17 00:00:00 2001 From: Neeraj Date: Mon, 16 Mar 2015 22:34:49 +0530 Subject: [PATCH] Frontend: Enable global search --- client.go | 2 +- static/index.html | 7 ++- static/js/app.js | 137 ++++++++++++++++++++++++++++++++++++++++------ utils.go | 2 +- 4 files changed, 127 insertions(+), 21 deletions(-) diff --git a/client.go b/client.go index 06ff83f..da2cbdc 100644 --- a/client.go +++ b/client.go @@ -42,7 +42,7 @@ func NewClientFromURL(url string) (*Client, error) { return nil, err } - user, host := getHostUser(url) + user, host := getHostUserFromConnString(url) return &Client{db: db, host: host, user: user}, nil } diff --git a/static/index.html b/static/index.html index cd086da..c407dca 100644 --- a/static/index.html +++ b/static/index.html @@ -30,8 +30,11 @@
Database