diff --git a/static/css/quay.css b/static/css/quay.css index 9fbf00d6f..01064e0ae 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -2876,6 +2876,11 @@ p.editable:hover i { border: 1px solid #ddd; } +.angular-tour-ui-element .skip-message { + display: inline-block; + margin-left: 20px; +} + pre.command { padding: 20px; background: #fff; diff --git a/static/directives/angular-tour-ui.html b/static/directives/angular-tour-ui.html index c357565c1..bd5816970 100644 --- a/static/directives/angular-tour-ui.html +++ b/static/directives/angular-tour-ui.html @@ -22,6 +22,7 @@
diff --git a/static/js/controllers.js b/static/js/controllers.js index c14b5d7b4..9df7bb774 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -52,8 +52,6 @@ function TutorialCtrl($scope, AngularTour, AngularTourSignals, UserService) { $scope.tour = { 'title': 'Quay.io Tutorial', 'initialScope': { - 'repoName': 'myfirstrepo', - 'containerId': 'containerId' }, 'steps': [ { @@ -76,7 +74,8 @@ function TutorialCtrl($scope, AngularTour, AngularTourSignals, UserService) { function(message) { return message['data']['action'] == 'login'; }), - 'waitMessage': "Waiting for docker login" + 'waitMessage': "Waiting for docker login", + 'skipTitle': "I'm already logged in" }, { 'title': 'Step 2: Create a new container', @@ -162,13 +161,13 @@ function TutorialCtrl($scope, AngularTour, AngularTourSignals, UserService) { }, { 'title': 'Permissions', - 'content': "The permissions tab displays all the users, robot accounts and tokens that have access to the repository", + 'templateUrl': '/static/tutorial/permissions.html', 'overlayable': true, 'element': '#permissions' }, { 'title': 'Adding a permission', - 'content': 'To add a permission, enter a username or robot account name into the autocomplete ' + + 'content': 'To add an additional permission, enter a username or robot account name into the autocomplete ' + 'or hit the dropdown arrow to manage robot accounts', 'overlayable': true, 'element': '#add-entity-permission' diff --git a/static/tutorial/create-container.html b/static/tutorial/create-container.html index 69b4e34c4..b3668e26b 100644 --- a/static/tutorial/create-container.html +++ b/static/tutorial/create-container.html @@ -16,9 +16,9 @@ CONTAINER ID IMAGE COMMAND CREATEDTo do so, we run the docker commit
with the container ID from the previous step and tag it to be a repository under quay.io
.
-docker commit {{ tour.tourScope.containerId }} quay.io/{{ tour.tourScope.username }}/{{ tour.tourScope.repoName }} +docker commit {{ tour.tourScope.containerId || 'containerId' }} quay.io/{{ tour.tourScope.username }}/{{ tour.tourScope.repoName || 'myfirstrepo' }}diff --git a/static/tutorial/permissions.html b/static/tutorial/permissions.html new file mode 100644 index 000000000..ced0912f5 --- /dev/null +++ b/static/tutorial/permissions.html @@ -0,0 +1,2 @@ +
The permissions tab displays all the users, robot accounts and tokens that have access to the repository.
+By default, any repository you create will have your user ({{ tour.tourScope.username }}) as the single administrator.
diff --git a/static/tutorial/push-image.html b/static/tutorial/push-image.html index 475eab735..5eed732fe 100644 --- a/static/tutorial/push-image.html +++ b/static/tutorial/push-image.html @@ -1,8 +1,8 @@Now that we've tagged our image with a repository name, we can push
the repository to Quay.io:
-docker push quay.io/{{ tour.tourScope.username }}/{{ tour.tourScope.repoName }} -The push refers to a repository [quay.io/{{ tour.tourScope.username }}/{{ tour.tourScope.repoName }}] (len: 1) +docker push quay.io/{{ tour.tourScope.username }}/{{ tour.tourScope.repoName || 'myfirstrepo' }} +The push refers to a repository [quay.io/{{ tour.tourScope.username }}/{{ tour.tourScope.repoName || 'myfirstrepo' }}] (len: 1) Sending image list -Pushing repository quay.io/{{ tour.tourScope.username }}/{{ tour.tourScope.repoName }} (1 tags) +Pushing repository quay.io/{{ tour.tourScope.username }}/{{ tour.tourScope.repoName || 'myfirstrepo' }} (1 tags)