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:
parent
ade20952e2
commit
934b131f7b
9 changed files with 41 additions and 8 deletions
|
@ -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': [
|
||||
{
|
||||
|
|
Reference in a new issue