diff --git a/zeppelin-web/src/app/app.js b/zeppelin-web/src/app/app.js
index 3cbfe3f4be2..a854a8809c1 100644
--- a/zeppelin-web/src/app/app.js
+++ b/zeppelin-web/src/app/app.js
@@ -62,6 +62,10 @@
templateUrl: 'app/notebook/notebook.html',
controller: 'NotebookCtrl'
})
+ .when('/notebook/:noteId/offlineView', {
+ templateUrl: 'app/notebook/notebook.html',
+ controller: 'NotebookCtrl'
+ })
.when('/jobmanager', {
templateUrl: 'app/jobmanager/jobmanager.html',
controller: 'JobmanagerCtrl'
diff --git a/zeppelin-web/src/app/notebook/notebook-actionBar.html b/zeppelin-web/src/app/notebook/notebook-actionBar.html
index dc7a3ecff54..6b637442fb6 100644
--- a/zeppelin-web/src/app/notebook/notebook-actionBar.html
+++ b/zeppelin-web/src/app/notebook/notebook-actionBar.html
@@ -15,8 +15,8 @@
-
{{noteName(note)}}
+ ng-show="showEditor" ng-model="note.name" ng-blur="sendNewName();showEditor = false;" ng-enter="sendNewName();showEditor = false;" ng-escape="note.name = oldName; showEditor = false" focus-if="showEditor" ng-disabled="{{offlineView}}"/>
+
{{noteName(note)}}
@@ -24,20 +24,23 @@
class="btn btn-default btn-xs"
ng-click="runNote()"
ng-class="{'disabled':isNoteRunning()}"
- tooltip-placement="bottom" tooltip="Run all paragraphs">
+ tooltip-placement="bottom" tooltip="Run all paragraphs"
+ ng-disabled="{{offlineView}}">
@@ -54,21 +58,23 @@
ng-hide="viewOnly"
tooltip-placement="bottom" tooltip="Clone the notebook"
data-toggle="modal" data-target="#noteNameModal" data-clone="true"
- >
+ ng-disabled="{{offlineView}}">
@@ -111,7 +118,8 @@
type="button"
data-toggle="dropdown"
ng-class="{ 'btn-info' : note.config.cron, 'btn-danger' : note.info.cron, 'btn-default' : !note.config.cron}"
- tooltip-placement="bottom" tooltip="Run scheduler">
+ tooltip-placement="bottom" tooltip="Run scheduler"
+ ng-disabled="{{offlineView}}">
{{getCronOptionNameFromValue(note.config.cron)}}