diff --git a/static/css/quay.css b/static/css/quay.css
index c2d3d3f6b..9cabe975a 100644
--- a/static/css/quay.css
+++ b/static/css/quay.css
@@ -3645,16 +3645,21 @@ pre.command:before {
}
.repo-name-small {
- background: none repeat scroll 0 0 #D9EDF7;
- border-radius: 10px;
- margin-left: 6px;
- margin-right: 6px;
+ margin-left: 2px;
+ margin-right: 2px;
display: inline-block;
font-size: 14px;
font-weight: bold;
padding: 4px 8px;
}
+.user-enter-box {
+ padding: 10px;
+ margin-bottom: 20px;
+ border: 1px solid #DDE7ED;
+ background: #F0FAFF;
+}
+
.file-drop {
padding: 10px;
margin: 10px;
diff --git a/static/directives/angular-tour-ui.html b/static/directives/angular-tour-ui.html
index a3a59abc7..8c4e8fb52 100644
--- a/static/directives/angular-tour-ui.html
+++ b/static/directives/angular-tour-ui.html
@@ -14,7 +14,7 @@
-
+
diff --git a/static/js/pages/tutorial.js b/static/js/pages/tutorial.js
index 80da6d349..6c835e057 100644
--- a/static/js/pages/tutorial.js
+++ b/static/js/pages/tutorial.js
@@ -13,7 +13,7 @@
}, ['old-layout']);
}]);
- function TutorialCtrl($scope, AngularTour, AngularTourSignals, UserService, Config) {
+ function TutorialCtrl($scope, AngularTour, AngularTourSignals, UserService, Config, Features) {
// Default to showing sudo on all commands if on linux.
var showSudo = navigator.appVersion.indexOf("Linux") != -1;
@@ -149,8 +149,8 @@
'overlayable': true
},
{
- 'content': 'To view the permissions for a repository, click on the gear tab',
- 'element': '#settingTab',
+ 'content': 'To view the permissions for a repository, click on the Gear tab',
+ 'element': '#settingsTab',
'overlayable': true,
'signal': AngularTourSignals.elementVisible('*[id="repoPermissions"]')
},
@@ -177,17 +177,20 @@
'content': 'Repositories can be automatically populated in response to a Dockerfile build. To view the build settings for a repository, click on the builds tab',
'element': '#buildsTab',
'overlayable': true,
- 'signal': AngularTourSignals.elementVisible('*[id="repoBuilds"]')
+ 'signal': AngularTourSignals.elementVisible('*[id="repoBuilds"]'),
+ 'skip': !Features.BUILD_SUPPORT
},
{
'content': 'New build triggers can be created by clicking the "Create Build Trigger" button.',
'element': '#addBuildTrigger',
- 'overlayable': true
+ 'overlayable': true,
+ 'skip': !Features.BUILD_SUPPORT
},
{
'content': 'The full build history can always be referenced and filtered in the builds list.',
'element': '#repoBuilds',
- 'overlayable': true
+ 'overlayable': true,
+ 'skip': !Features.BUILD_SUPPORT
},
{
'templateUrl': '/static/tutorial/done.html',
diff --git a/static/js/tour.js b/static/js/tour.js
index d4b28434a..389d2f337 100644
--- a/static/js/tour.js
+++ b/static/js/tour.js
@@ -159,6 +159,10 @@ angular.module("angular-tour", [])
}
$scope.step = $scope.tour.steps[stepIndex];
+ if ($scope.step.skip) {
+ $scope.setStepIndex(stepIndex + 1);
+ return;
+ }
fireMixpanelEvent();
diff --git a/static/tutorial/create-container.html b/static/tutorial/create-container.html
index 28115d255..394991bc0 100644
--- a/static/tutorial/create-container.html
+++ b/static/tutorial/create-container.html
@@ -14,7 +14,7 @@ CONTAINER ID IMAGE COMMAND CREATED
07f2065197ef ubuntu:12.04 echo fun 31 seconds ago
-
+