IGNITE-7979 Web Console: Removed delete button from "Notebook" screen, as of this function moved to "Notebooks" screen.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/19f9196c Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/19f9196c Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/19f9196c Branch: refs/heads/ignite-8446 Commit: 19f9196c9b1727b3317052309c53fcbb43206996 Parents: 8ea35e7 Author: Alexey Kuznetsov <[email protected]> Authored: Wed Aug 1 12:29:53 2018 +0700 Committer: Alexey Kuznetsov <[email protected]> Committed: Wed Aug 1 12:29:53 2018 +0700 ---------------------------------------------------------------------- .../page-queries/components/queries-notebook/template.tpl.pug | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/19f9196c/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug ---------------------------------------------------------------------- diff --git a/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug b/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug index ab188fa..713f83e 100644 --- a/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug +++ b/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug @@ -124,7 +124,6 @@ mixin query-actions i.fa.fa-fw.fa-refresh.fa-spin(ng-show='paragraph.executionInProgress(true)') span.tipLabelExecute Execute on selected node - a.btn.btn-default(ng-disabled='!queryAvailable(paragraph)' ng-click='explain(paragraph)' data-placement='bottom' bs-tooltip='' data-title='{{queryTooltip(paragraph, "explain query")}}') Explain mixin table-result-heading-query @@ -347,7 +346,6 @@ div(ng-if='notebook') label {{notebook.name}} .btn-group(ng-if='!demo') +btn-toolbar('fa-pencil', 'notebook.edit = true;notebook.editName = notebook.name', 'Rename notebook') - +btn-toolbar('fa-trash', 'removeNotebook(notebook)', '{{$ctrl.isDemo ? "Demo notebook cannot be deleted" : "Remove notebook"}}') h1(ng-show='notebook.edit') input.form-control(ng-model='notebook.editName' required ignite-on-enter='renameNotebook(notebook.editName)' ignite-on-escape='notebook.edit = false;')
