diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2017-10-17 08:08:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-17 08:08:08 +0000 |
commit | e4440e48e06f11c5cb0f97bbc69fcf3cc12bf46d (patch) | |
tree | 195beb00148647856767fdd2e3a549580e144988 | |
parent | 9692a2df0d1ebc5e56130e988b5449ee059fcd6c (diff) | |
parent | be7de9e059f33ec562efa7d8fbaa79480c4ac766 (diff) |
Merge changes Ife865999,I518a5f4b
* changes:
Fix docs images
Fixes broken images in CLI home page
-rw-r--r-- | deployment/http/web/images/onap-cli-ad-1.png | bin | 69746 -> 99553 bytes | |||
-rw-r--r-- | deployment/http/web/images/onap-cli-ad-2.png | bin | 84879 -> 322649 bytes | |||
-rw-r--r-- | deployment/http/web/images/onap-cli-ad-3.png | bin | 98622 -> 138512 bytes | |||
-rw-r--r-- | deployment/http/web/images/onap-cli-ad-4.png | bin | 112725 -> 152808 bytes | |||
-rw-r--r-- | deployment/http/web/images/onap-cli-ad-5.png | bin | 125631 -> 163765 bytes | |||
-rw-r--r-- | deployment/http/web/images/onap-cli-ad-6.png | bin | 144248 -> 183224 bytes | |||
-rw-r--r-- | deployment/http/web/index.html | 47 | ||||
-rw-r--r-- | docs/images/portal-cli-app.png | bin | 70566 -> 177080 bytes | |||
-rw-r--r-- | docs/images/portal-cli-arch.png | bin | 135975 -> 253879 bytes | |||
-rw-r--r-- | docs/images/portal-cli-dowload.png | bin | 70566 -> 178221 bytes | |||
-rw-r--r-- | docs/images/portal-cli-shell.png | bin | 60357 -> 76348 bytes | |||
-rw-r--r-- | docs/images/portal-cli-web-con.png | bin | 101711 -> 121037 bytes |
12 files changed, 15 insertions, 32 deletions
diff --git a/deployment/http/web/images/onap-cli-ad-1.png b/deployment/http/web/images/onap-cli-ad-1.png Binary files differindex aeebebe7..a26529e5 100644 --- a/deployment/http/web/images/onap-cli-ad-1.png +++ b/deployment/http/web/images/onap-cli-ad-1.png diff --git a/deployment/http/web/images/onap-cli-ad-2.png b/deployment/http/web/images/onap-cli-ad-2.png Binary files differindex d9e88949..f1683ee9 100644 --- a/deployment/http/web/images/onap-cli-ad-2.png +++ b/deployment/http/web/images/onap-cli-ad-2.png diff --git a/deployment/http/web/images/onap-cli-ad-3.png b/deployment/http/web/images/onap-cli-ad-3.png Binary files differindex ad3ebf86..1ae855de 100644 --- a/deployment/http/web/images/onap-cli-ad-3.png +++ b/deployment/http/web/images/onap-cli-ad-3.png diff --git a/deployment/http/web/images/onap-cli-ad-4.png b/deployment/http/web/images/onap-cli-ad-4.png Binary files differindex 0dc94255..f019527d 100644 --- a/deployment/http/web/images/onap-cli-ad-4.png +++ b/deployment/http/web/images/onap-cli-ad-4.png diff --git a/deployment/http/web/images/onap-cli-ad-5.png b/deployment/http/web/images/onap-cli-ad-5.png Binary files differindex 4f7ab769..280511c7 100644 --- a/deployment/http/web/images/onap-cli-ad-5.png +++ b/deployment/http/web/images/onap-cli-ad-5.png diff --git a/deployment/http/web/images/onap-cli-ad-6.png b/deployment/http/web/images/onap-cli-ad-6.png Binary files differindex 6a6eb964..dc12b6df 100644 --- a/deployment/http/web/images/onap-cli-ad-6.png +++ b/deployment/http/web/images/onap-cli-ad-6.png diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html index 5aca7bcc..ca4d0445 100644 --- a/deployment/http/web/index.html +++ b/deployment/http/web/index.html @@ -23,13 +23,12 @@ function showSlides() { <style> body { - margin: 1% 3% 0; + margin: 0 1% 0; background-color: black } .readme { display: inline-block; - width: 40%; float: left; color: white } @@ -38,11 +37,10 @@ body { .slideshow-container { display: inline-block; - width: 50%; float: right; - max-width: 1000px; + max-width: 700px; position: relative; - margin: 12% 3% 0; + margin: 5% 3% 0; } .mySlides { @@ -56,42 +54,27 @@ body { <body onload="showSlides()"> <div class="readme"> <h1>ONAP Command-Line Interface (CLI)</h1> + <p style="color: blue;"><strong>One Command to command whole Onap !!</strong></p> -<p>Provides unified commands to operate ONAP from Linux command console and Web browser.</p> +<p>Provides unified commands to operate ONAP using CLI.</p> +<p>Powered by Open CLI Platform (OCLIP)</p> +<p><a href="http://onap.readthedocs.io/en/latest/submodules/cli.git/docs/index.htmlhttps://wiki.onap.org" +target="_blank" rel="noopener">More details</a></p> +<br> -<div style="background-color: white;color: black;"> <h2 >Web Command Console</h2> -<p>To open Console, <button class="button" onclick="redirectToConsole();">Click Me !</button></p> +<p>To access ONAP shell from browser, <button class="button" onclick="redirectToConsole();">Click Me !</button></p> <br> -</div> -<div style="background-color: white;color: black;"> <h2>Linux Command Shell</h2> -<p>Type <strong>onap</strong> from linux command console</p> - -<h3>Download</h3> -<p>Please download ONAP CLI <a href="./onap-cli.zip">here</a></p> - -<h3>Install</h3> <p>Please follow the instructions given below for installing ONAP CLI.</p> <ol> -<li>Un-zip the above download file into <strong>/opt/onap/cli folder</strong></li> -<li>Run the following commands:</li> +<li>Download ONAP CLI <a href="./onap-cli.zip">here</a></li> +<li>Un-zip into folder <strong>/opt/onap/cli</strong></li> +<li>Run command <strong>/opt/onap/cli/cli-init.sh</strong></li> +<li>For more details, refer <strong>/opt/onap/cli/README.md</strong></li> </ol> -<blockquote> -<p><span ><em>export ONAP_CLI_HOME=/opt/onap/cli </em></span><br /><span ><em>export CLI_PRODUCT_VERSION=onap-1.1 </em></span><br /> <br /><span ><em>cd $ONAP_CLI_HOME </em></span><br /> <br /><span ><em>if [ ! -d ./data ]; then mkdir ./data; fi </em></span><br /><span ><em>if [ ! -d ./onap-cli-schema ]; then mkdir ./onap-cli-schema; fi </em></span><br /> <br /><span ><em>chmod +x ./bin/onap.sh </em></span><br /> <br /><span ><em>#Make onap available in path </em></span><br /><span ><em>ln ./bin/onap.sh /usr/bin/onap </em></span><br /> <br /><span ><em>#Print the version </em></span><br /><span ><em>onap -v</em></span></p> -</blockquote> - -<h3>Run onap command</h3> -<p>Configure the following environment variables:</p> -<ol> -<li><strong>ONAP_HOST_URL</strong> - Onap service URL</li> -<li><strong>ONAP_USERNAME</strong> - Onap user name</li> -<li><strong>ONAP_PASSWORD</strong> - Onap user password</li> -</ol> -<p>Type <strong>onap <command></strong> from command shell.</p> -<h3><a href="http://onap.readthedocs.io/en/latest/submodules/cli.git/docs/index.htmlhttps://wiki.onap.org" target="_blank" rel="noopener">More details</a></h3> -</div> +<br> </div> <div class="slideshow-container"> diff --git a/docs/images/portal-cli-app.png b/docs/images/portal-cli-app.png Binary files differindex be833ea9..05ac8fbd 100644 --- a/docs/images/portal-cli-app.png +++ b/docs/images/portal-cli-app.png diff --git a/docs/images/portal-cli-arch.png b/docs/images/portal-cli-arch.png Binary files differindex d027e68f..4370183d 100644 --- a/docs/images/portal-cli-arch.png +++ b/docs/images/portal-cli-arch.png diff --git a/docs/images/portal-cli-dowload.png b/docs/images/portal-cli-dowload.png Binary files differindex be833ea9..f57cf204 100644 --- a/docs/images/portal-cli-dowload.png +++ b/docs/images/portal-cli-dowload.png diff --git a/docs/images/portal-cli-shell.png b/docs/images/portal-cli-shell.png Binary files differindex eb49e328..696046e3 100644 --- a/docs/images/portal-cli-shell.png +++ b/docs/images/portal-cli-shell.png diff --git a/docs/images/portal-cli-web-con.png b/docs/images/portal-cli-web-con.png Binary files differindex 97c54aaf..87af9874 100644 --- a/docs/images/portal-cli-web-con.png +++ b/docs/images/portal-cli-web-con.png |