Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
[HOPSWORKS-588] Fix Horovod UI bug in Jupyter configuration (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
robzor92 authored and tkakantousis committed Jun 15, 2018
1 parent 463647b commit 73ca29f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions hopsworks-web/yo/app/views/jupyterDashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,10 @@ <h3>
ng-click="jupyterCtrl.val.mode = 'distributedTensorFlow'">
<input type="radio" name="distributedTensorFlow" id="distributedTensorFlow" autocomplete="off"> TensorFlowOnSpark
</label>
<div ng-if="clusterUtilCtrl.allocatedGPUs !== 0 || clusterUtilCtrl.availableGPUs !== 0">

<label class="btn btn-primary" ng-class="{active: jupyterCtrl.val.mode === 'horovod', focus: jupyterCtrl.val.mode === 'horovod'}"
ng-click="jupyterCtrl.val.mode = 'horovod'">
<input type="radio" name="horovod" id="horovod" autocomplete="off"> Horovod
</label>
</div>
<label class="btn btn-primary" ng-class="{active: jupyterCtrl.val.mode === 'horovod', focus: jupyterCtrl.val.mode === 'horovod'}"
ng-click="jupyterCtrl.val.mode = 'horovod'" ng-if="clusterUtilCtrl.allocatedGPUs !== 0 || clusterUtilCtrl.availableGPUs !== 0">
<input type="radio" name="horovod" id="horovod" autocomplete="off"> Horovod
</label>
<label class="btn btn-primary" ng-class="{active: jupyterCtrl.val.mode === 'sparkStatic', focus: jupyterCtrl.val.mode === 'sparkStatic'}"
ng-click="jupyterCtrl.val.mode = 'sparkStatic'">
<input type="radio" name="sparks" id="sparkStatic" autocomplete="off"> Spark (Static)
Expand Down

0 comments on commit 73ca29f

Please sign in to comment.