diff --git a/gui/dashboard/catalog/CatalogController.js b/gui/dashboard/catalog/CatalogController.js index 2e998ad1..1fefa786 100644 --- a/gui/dashboard/catalog/CatalogController.js +++ b/gui/dashboard/catalog/CatalogController.js @@ -22,9 +22,9 @@ angular * @author lambert8 * @see https://opensource.ncsa.illinois.edu/confluence/display/~lambert8/3.%29+Controllers%2C+Scopes%2C+and+Partial+Views */ -.controller('CatalogController', [ '$scope', '$filter', '$interval', '$uibModal', '$location', '$log', '_', 'Analytics', 'NdsLabsApi', 'Project', 'Stack', 'Stacks', +.controller('CatalogController', [ '$scope', '$filter', '$interval', '$timeout', '$uibModal', '$location', '$log', '_', 'Analytics', 'NdsLabsApi', 'Project', 'Stack', 'Stacks', 'StackService', 'Specs', 'clipboard', 'Vocabulary', 'RandomPassword', 'AuthInfo', 'ProductName', 'ApiUri', 'DashboardAppPath', 'HomePathSuffix', 'AdvancedFeatures', - function($scope, $filter, $interval, $uibModal, $location, $log, _, Analytics, NdsLabsApi, Project, Stack, Stacks, StackService, Specs, clipboard, Vocabulary, RandomPassword, AuthInfo, ProductName, ApiUri, DashboardAppPath, HomePathSuffix, AdvancedFeatures) { + function($scope, $filter, $interval, $timeout, $uibModal, $location, $log, _, Analytics, NdsLabsApi, Project, Stack, Stacks, StackService, Specs, clipboard, Vocabulary, RandomPassword, AuthInfo, ProductName, ApiUri, DashboardAppPath, HomePathSuffix, AdvancedFeatures) { "use strict"; $scope.showCreateSpec = AdvancedFeatures.showCreateSpec; @@ -97,6 +97,12 @@ angular $scope.$watch(function () { return Project.project; }, function(newValue, oldValue) { projectId = newValue.namespace; }); $scope.$watch('tags.selected', function(newValue, oldValue) { refilter($scope.specs, newValue); }, true); + $scope.showCopySuccess = false; + $scope.displayCopySuccessAlert = function() { + $scope.showCopySuccess = true; + $timeout(function() { $scope.showCopySuccess = false; }, 3000); + } + $scope.copyToClipboard = function(spec) { if (!clipboard.supported) { alert('Sorry, copy to clipboard is not supported'); @@ -131,6 +137,7 @@ angular })(specCopy); // jshint ignore:line clipboard.copyText(JSON.stringify(specCopy, null, 4)); + $scope.displayCopySuccessAlert(); }; var getQuickStartUrl = function(spec) { @@ -148,6 +155,7 @@ angular console.log("Copying to clipboard:", quickstartUrl); clipboard.copyText(quickstartUrl); Analytics.trackEvent('application', 'share-url', spec.key, 1, true); + $scope.displayCopySuccessAlert (); }; $scope.shareEmbed = function(spec) { @@ -161,6 +169,7 @@ angular console.log("Copying to clipboard:", htmlString); clipboard.copyText(htmlString); Analytics.trackEvent('application', 'share-embed', spec.key, 1, true); + $scope.displayCopySuccessAlert(); }; $scope.cloneSpec = function(spec) { diff --git a/gui/dashboard/catalog/catalog.html b/gui/dashboard/catalog/catalog.html index 1126e0ad..3e7d0854 100644 --- a/gui/dashboard/catalog/catalog.html +++ b/gui/dashboard/catalog/catalog.html @@ -28,8 +28,11 @@
- Choose an application below to configure + Choose an application below
+ +- | - | - | - | + | + | + | + | - + | + {{ spec.key }} |
@@ -164,7 +171,7 @@ {{ spec.label }}
- {{ spec.key }}
+ {{ spec.key }}
-
+
- {{ project.name }} Dashboard
-
-
-
-
-
-
-
-
-
-
+
+
+ This view shows the status of any applications that you have already added. To start an application, expand one below and then choose Launch. +
+
This view shows the status of any applications that you have already added. To start an application, expand one below and then choose Launch. -
diff --git a/gui/landing/landing.html b/gui/landing/landing.html
index 7cc8d630..59c9205b 100644
--- a/gui/landing/landing.html
+++ b/gui/landing/landing.html
@@ -23,21 +23,21 @@
Welcome to the {{ productName }}!
-
-
+
+
-
+
@@ -61,7 +61,7 @@
- Already have an account?
+
\ No newline at end of file
diff --git a/gui/shared/navbar/navbar.html b/gui/shared/navbar/navbar.html
index ea1224d8..8becd728 100755
--- a/gui/shared/navbar/navbar.html
+++ b/gui/shared/navbar/navbar.html
@@ -42,7 +42,7 @@
|
---|