VNFRQTS - Updating local build 96/70496/1
authorBozawglanian, Hagop (hb755d) <hagop.bozawglanian@att.com>
Mon, 15 Oct 2018 18:27:37 +0000 (18:27 +0000)
committerBozawglanian, Hagop (hb755d) <hagop.bozawglanian@att.com>
Mon, 15 Oct 2018 18:27:37 +0000 (18:27 +0000)
Issue-ID: VNFRQTS-463

Change-Id: I9647def5cb761fa608e0355ac79babf80baeee45
Signed-off-by: Bozawglanian, Hagop (hb755d) <hagop.bozawglanian@att.com>
_static/css/ribbon.css [new file with mode: 0644]
_static/favicon.ico [new file with mode: 0755]
_static/logo_onap_2017.png [new file with mode: 0755]
_templates/layout.html [new file with mode: 0644]
conf.py
docs/Chapter5/Tosca.rst
docs/data/needs.json

diff --git a/_static/css/ribbon.css b/_static/css/ribbon.css
new file mode 100644 (file)
index 0000000..6008cb1
--- /dev/null
@@ -0,0 +1,63 @@
+.ribbon {
+  z-index: 1000;
+  background-color: #a00;
+  overflow: hidden;
+  white-space: nowrap;
+  position: fixed;
+  top: 25px;
+  right: -50px;
+  -webkit-transform: rotate(45deg);
+     -moz-transform: rotate(45deg);
+      -ms-transform: rotate(45deg);
+       -o-transform: rotate(45deg);
+          transform: rotate(45deg);
+  -webkit-box-shadow: 0 0 10px #888;
+     -moz-box-shadow: 0 0 10px #888;
+          box-shadow: 0 0 10px #888;
+
+}
+
+.ribbon a {
+  border: 1px solid #faa;
+  color: #fff;
+  display: block;
+  font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  margin: 1px 0;
+  padding: 10px 50px;
+  text-align: center;
+  text-decoration: none;
+  text-shadow: 0 0 5px #444;
+  transition: 0.5s;
+}
+
+.ribbon a:hover {
+  background: #c11;
+  color: #fff;
+}
+
+
+/* override table width restrictions */
+@media screen and (min-width: 767px) {
+
+   .wy-table-responsive table td, .wy-table-responsive table th {
+      /* !important prevents the common CSS stylesheets from overriding
+         this as on RTD they are loaded after this stylesheet */
+      white-space: normal !important;
+   }
+
+   .wy-table-responsive {
+      overflow: visible !important;
+   }
+}
+
+@media screen and (max-width: 767px) {
+    .wy-table-responsive table td {
+        white-space: nowrap;
+    }
+}
+
+/* fix width of the screen */
+
+.wy-nav-content {
+    max-width: none;
+}
diff --git a/_static/favicon.ico b/_static/favicon.ico
new file mode 100755 (executable)
index 0000000..cb712eb
Binary files /dev/null and b/_static/favicon.ico differ
diff --git a/_static/logo_onap_2017.png b/_static/logo_onap_2017.png
new file mode 100755 (executable)
index 0000000..9f63444
Binary files /dev/null and b/_static/logo_onap_2017.png differ
diff --git a/_templates/layout.html b/_templates/layout.html
new file mode 100644 (file)
index 0000000..5784529
--- /dev/null
@@ -0,0 +1,19 @@
+{# Import the theme's layout. #}
+{% extends "!layout.html" %}
+
+{# Custom CSS override for warning banner #}
+{% set css_files = css_files + ['_static/css/ribbon.css'] %}
+
+{# Ribbon #}
+{% block content %}
+  <div class="ribbon">
+    <a href="https://jira.onap.org/secure/CreateIssueDetails!init.jspa
+?pid=10111
+&issuetype=10004
+&priority=2
+&description=version:+{{version}}%0Apage:+{{pagename}}%0A%0A" target="_blank">
+      Report Issue
+    </a>
+  </div>
+  {{ super() }}
+{% endblock %}
diff --git a/conf.py b/conf.py
index 1ac1cad..c7785fb 100644 (file)
--- a/conf.py
+++ b/conf.py
@@ -132,7 +132,8 @@ todo_include_todos = True
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #html_theme = 'bootstrap'
-html_theme = 'classic'
+#html_theme = 'classic'
+html_theme = 'sphinx_rtd_theme'
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
@@ -488,3 +489,7 @@ needs_template_collapse = """
         | parents: :need_outgoing:`{{id}}`
 {% endif -%}
 """
+
+def setup(app):
+    app.add_stylesheet("css/ribbon.css")
+
index 41fc0d1..3cfef75 100644 (file)
@@ -169,7 +169,7 @@ VNF Package Contents
     instantiate the VNF (VNF and VNFC images) either as:
 
       - Local artifact in CSAR: ROOT\\Artifacts\\ **VNF_Image.bin**
-      
+
       - externally referred (by URI) artifact in Manifest file (also may be
         referred by VNF Descriptor)
 
index 934b75c..a0b9bef 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "created": "2018-10-12T17:13:01.470078",
+    "created": "2018-10-15T18:25:06.229809",
     "current_version": "casablanca",
     "project": "",
     "versions": {
             "needs_amount": 750
         },
         "casablanca": {
-            "created": "2018-10-12T17:13:01.470023",
+            "created": "2018-10-15T18:25:06.229735",
             "needs": {
                 "R-00011": {
                     "description": "A VNF's Heat Orchestration Template's parameter defined\nin a nested YAML file\n**MUST NOT** have a parameter constraint defined.",