Repository: couchdb-fauxton Updated Branches: refs/heads/secondary-indexes 3f7e9c5f4 -> 6b270a6ae
Commenting out the POC and placeholder stuff Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/6b270a6a Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/6b270a6a Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/6b270a6a Branch: refs/heads/secondary-indexes Commit: 6b270a6ae7d53b58c9dedebf1745e87cfcfc0703 Parents: 3f7e9c5 Author: deathbearbrown <deathbearbr...@gmail.com> Authored: Fri Aug 15 09:19:21 2014 -0400 Committer: deathbearbrown <deathbearbr...@gmail.com> Committed: Fri Aug 15 09:19:21 2014 -0400 ---------------------------------------------------------------------- app/addons/indexes/base.js | 36 ++++++++++++--------- app/addons/indexes/routes-viewindexes.js | 5 +-- app/addons/indexes/templates/header_right.html | 4 --- 3 files changed, 21 insertions(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/6b270a6a/app/addons/indexes/base.js ---------------------------------------------------------------------- diff --git a/app/addons/indexes/base.js b/app/addons/indexes/base.js index 6365c61..f2220fa 100644 --- a/app/addons/indexes/base.js +++ b/app/addons/indexes/base.js @@ -44,14 +44,16 @@ function(app, FauxtonAPI, Routes) { ddocType:'view', icon: "fonticon-sidenav-map-reduce" }); - FauxtonAPI.registerExtension('sidebar:list', { - selector:'list', - icon: "fonticon-sidenav-list-function" - }); - FauxtonAPI.registerExtension('sidebar:list', { - selector:'show', - icon: "fonticon-sidenav-show-function" - }); + + //Commented out since they are just POCs + // FauxtonAPI.registerExtension('sidebar:list', { + // selector:'list', + // icon: "fonticon-sidenav-list-function" + // }); + // FauxtonAPI.registerExtension('sidebar:list', { + // selector:'show', + // icon: "fonticon-sidenav-show-function" + // }); /* show in the add new menu dropdown */ @@ -59,15 +61,17 @@ function(app, FauxtonAPI, Routes) { title: "Secondary View", url: "new_view" }); - FauxtonAPI.registerExtension('sidebar:links', { - title: "List Function", - url: "new_list" - }); - FauxtonAPI.registerExtension('sidebar:links', { - url: 'new_show', - title: 'Show Index' - }); + //Commented out since they are just POCs + // FauxtonAPI.registerExtension('sidebar:links', { + // title: "List Function", + // url: "new_list" + // }); + + // FauxtonAPI.registerExtension('sidebar:links', { + // url: 'new_show', + // title: 'Show Index' + // }); }; return Routes; http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/6b270a6a/app/addons/indexes/routes-viewindexes.js ---------------------------------------------------------------------- diff --git a/app/addons/indexes/routes-viewindexes.js b/app/addons/indexes/routes-viewindexes.js index 546d72c..663e0e8 100644 --- a/app/addons/indexes/routes-viewindexes.js +++ b/app/addons/indexes/routes-viewindexes.js @@ -85,10 +85,7 @@ function (app, FauxtonAPI, Databases, Views, Documents, Resources, RouteCore, Co ]; var dropdown = [{ - links: [{ - title: 'Duplicate Index', - icon: 'fonticon-documents' - }, + links: [ { title: 'Delete', icon: 'fonticon-trash', http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/6b270a6a/app/addons/indexes/templates/header_right.html ---------------------------------------------------------------------- diff --git a/app/addons/indexes/templates/header_right.html b/app/addons/indexes/templates/header_right.html index 0370e51..2fba038 100644 --- a/app/addons/indexes/templates/header_right.html +++ b/app/addons/indexes/templates/header_right.html @@ -21,7 +21,3 @@ the License. </div> - <div id="header-select-all" class="button"> - <span class="toggle-select-menu icon fonticon-ok-circled">Select</span> - </div> -