UI improvements for the tutorial:

- Have a show sudo checkbox which defaults to on for linux
  - Have the repository name be highlighted in a light blue bubble/chit
This commit is contained in:
Joseph Schorr 2014-02-13 15:59:37 -05:00
parent ade20952e2
commit 934b131f7b
9 changed files with 41 additions and 8 deletions

View file

@ -49,9 +49,13 @@ function PlansCtrl($scope, $location, UserService, PlanService) {
}
function TutorialCtrl($scope, AngularTour, AngularTourSignals, UserService) {
// Default to showing sudo on all commands if on linux.
var showSudo = navigator.appVersion.indexOf("Linux") != -1;
$scope.tour = {
'title': 'Quay.io Tutorial',
'initialScope': {
'showSudo': showSudo
},
'steps': [
{