From 0b99a3521e73ac2d9af3c1e4e18f8f6bc081bde7 Mon Sep 17 00:00:00 2001
From: juanvallejo Command Line Tools
After downloading and installing it, you can start by logging in using this current session token: -
oc login {{loginBaseURL}}-
After you login to your account you will get a list of projects that you can switch between: -
oc project project-name+
If you do not have any existing projects, you can create one: -
oc new-project project-name+
To show a high level overview of the current project: -
oc status+
For other information about the command line tools, check the CLI Reference and Basic CLI Operations.
diff --git a/app/views/directives/_copy-to-clipboard.html b/app/views/directives/_copy-to-clipboard.html index db6e3ff322..e8ed444d66 100644 --- a/app/views/directives/_copy-to-clipboard.html +++ b/app/views/directives/_copy-to-clipboard.html @@ -1,11 +1,17 @@ - \ No newline at end of file diff --git a/dist/scripts/scripts.js b/dist/scripts/scripts.js index f37d66c7ae..61a29588ba 100644 --- a/dist/scripts/scripts.js +++ b/dist/scripts/scripts.js @@ -9756,7 +9756,9 @@ return { restrict:"E", scope:{ clipboardText:"=", -isDisabled:"=?" +isDisabled:"=?", +displayWide:"=?", +inputText:"=?" }, templateUrl:"views/directives/_copy-to-clipboard.html", controller:[ "$scope", function(a) { @@ -9764,14 +9766,16 @@ a.id = _.uniqueId("clipboardJs"); } ], link:function(b, c) { if (a) return void (b.hidden = !0); -var d = $("a", c), e = new Clipboard(d.get(0)); -e.on("success", function(a) { +var d = $("a", c), e = d.get(0); +b.inputText && (e = d.get(1)); +var f = new Clipboard(e); +f.on("success", function(a) { $(a.trigger).attr("title", "Copied!").tooltip("fixTitle").tooltip("show").attr("title", "Copy to clipboard").tooltip("fixTitle"), a.clearSelection(); -}), e.on("error", function(a) { +}), f.on("error", function(a) { var b = /Mac/i.test(navigator.userAgent) ? "Press ⌘C to copy" :"Press Ctrl-C to copy"; $(a.trigger).attr("title", b).tooltip("fixTitle").tooltip("show").attr("title", "Copy to clipboard").tooltip("fixTitle"); }), c.on("$destroy", function() { -e.destroy(); +f.destroy(); }); } }; diff --git a/dist/scripts/templates.js b/dist/scripts/templates.js index fa4d7dcc9f..31e876bec8 100644 --- a/dist/scripts/templates.js +++ b/dist/scripts/templates.js @@ -3871,26 +3871,24 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "\n" + "After downloading and installing it, you can start by logging in using this current session token:\n" + - "
\n" + " oc login {{loginBaseURL}}\n" + "\n" + "\n" + - "
After you login to your account you will get a list of projects that you can switch between:\n" + - "
oc project project-name\n" + + "
If you do not have any existing projects, you can create one:\n" + - "
oc new-project project-name\n" + + "
To show a high level overview of the current project:\n" + - "
oc status\n" + + "
For other information about the command line tools, check the CLI Reference and Basic CLI Operations.
\n" + "