felixcheung commented on a change in pull request #3281: [ZEPPELIN-3943] - Add 
button "stop notebook execution"
URL: https://github.com/apache/zeppelin/pull/3281#discussion_r247303946
 
 

 ##########
 File path: zeppelin-web/src/app/notebook/notebook-actionBar.html
 ##########
 @@ -31,10 +31,20 @@ <h3>
       <button type="button"
               class="btn btn-default btn-xs"
               ng-click="runAllParagraphs(note.id)"
-              ng-class="{'disabled':isNoteRunning()}"
+              ng-if=!isNoteRunning()
               tooltip-placement="bottom" uib-tooltip="Run all paragraphs"
               ng-disabled="revisionView">
         <i class="icon-control-play"></i>
+      </button>
+        <button type="button"
+              class="btn btn-default btn-xs"
+              ng-click=stopNoteExecution(note.id)
+              style="color: red"
+              ng-if=isNoteRunning()
+              tooltip-placement="bottom"
+              uib-tooltip="Stop execution"
+              ng-disabled="revisionView">
+        <i class="icon-control-pause"></i>
 
 Review comment:
   that's a pause icon - is there a stop icon?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to