<div class="panel nb-panel nb-control-panel">
  <div class="row">
    <div class="btn-toolbar pull-right" role="toolbar">
      <div class="btn-group btn-group-sm" role="group">
        <button
          type="button"
          class="btn btn-default"
          tooltip-placement="bottom"
          tooltip="New Notebook">
          <i class="fa fa-file-text-o nb-action"></i>
        </button>
        <button
          type="button"
          class="btn btn-default"
          tooltip-placement="bottom"
          tooltip="Open Notebook"
          ng-click="ctrl.openNotebook()">
          <i class="fa fa-folder-open-o nb-action"></i>
        </button>
        <button
          type="button"
          class="btn btn-default"
          tooltip-placement="bottom"
          tooltip="Save Notebook"
          ng-click="ctrl.saveNotebook()">
          <i class="fa fa-floppy-o nb-action"></i>
        </button>
      </div>
      <div
        class="btn-group btn-group-sm"
        role="group"
        ng-show="ctrl.kernelStatus()!=='stopped'">
        <button
          type="button"
          class="btn btn-default"
          tooltip-placement="bottom"
          tooltip="Stop Kernel"
          ng-click="ctrl.stopKernel()">
          <i class="fa fa-stop nb-action"></i>
        </button>
      </div>

      <div
        class="btn-group btn-group-sm"
        role="group"
        ng-show="ctrl.kernelStatus()=='stopped'">
        <button
          type="button"
          class="btn btn-default"
          tooltip-placement="bottom"
          tooltip="Start Kernel"
          ng-click="ctrl.startKernel()">
          <i class="fa fa-play nb-action"></i>
        </button>
      </div>
    </div>
  </div>
</div>

<div
  nb-notebook
  kernel-name="bash"
  cells="ctrl.cellsObj.cells"
  run-queue="ctrl.runQueue"></div>
