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/0cf994c5 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/0cf994c5 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/0cf994c5 Branch: refs/heads/secondary-indexes Commit: 0cf994c5aff6d92466e098d347f353b31e7ba70e Parents: 8637328 Author: deathbearbrown <[email protected]> Authored: Sun Aug 24 16:33:43 2014 +0200 Committer: deathbearbrown <[email protected]> Committed: Mon Aug 25 09:37:37 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/0cf994c5/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/0cf994c5/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/0cf994c5/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> -
