You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ad...@apache.org on 2017/05/23 10:34:19 UTC
[21/49] ambari git commit: AMBARI-20498. Ambari logo and title should
not get hidden when user scrolls down the page. (Oleg via Jaimin)
AMBARI-20498. Ambari logo and title should not get hidden when user scrolls down the page. (Oleg via Jaimin)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/76eabf2d
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/76eabf2d
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/76eabf2d
Branch: refs/heads/trunk
Commit: 76eabf2ddc4548cde07696e850ba45a9a5df739b
Parents: 0a4e416
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Mon Mar 20 17:54:50 2017 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Mon Mar 20 17:54:50 2017 -0700
----------------------------------------------------------------------
ambari-web/api-docs/css/api-explorer.css | 7 ++-----
ambari-web/api-docs/css/index.css | 1 -
ambari-web/api-docs/css/standalone.css | 1 -
ambari-web/api-docs/index.html | 4 ++--
ambari-web/api-docs/swagger-ui.js | 2 +-
5 files changed, 5 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/76eabf2d/ambari-web/api-docs/css/api-explorer.css
----------------------------------------------------------------------
diff --git a/ambari-web/api-docs/css/api-explorer.css b/ambari-web/api-docs/css/api-explorer.css
index ef3abd4..65c51db 100644
--- a/ambari-web/api-docs/css/api-explorer.css
+++ b/ambari-web/api-docs/css/api-explorer.css
@@ -67,6 +67,7 @@
}
.swagger-section .operation {
+ padding-top: 55px;
margin: 0
}
@@ -1078,7 +1079,7 @@
.swagger-section .sticky-nav.fixed {
position: fixed;
- top: 0;
+ top: 55px;
left: 0;
width: 100%;
z-index: 600
@@ -1497,10 +1498,6 @@ body {
padding: 0 20px
}
-.swagger-section .endpoint {
- margin: 0 0 100px
-}
-
@media (min-width: 992px) {
.swagger-section .endpoint + .endpoint, .swagger-section .endpoint:first-child {
border-top: 1px solid rgba(0, 0, 0, .08)
http://git-wip-us.apache.org/repos/asf/ambari/blob/76eabf2d/ambari-web/api-docs/css/index.css
----------------------------------------------------------------------
diff --git a/ambari-web/api-docs/css/index.css b/ambari-web/api-docs/css/index.css
index 1de91e3..8ec3bbc 100644
--- a/ambari-web/api-docs/css/index.css
+++ b/ambari-web/api-docs/css/index.css
@@ -15445,7 +15445,6 @@ header.site-header.site-header .navbar-header {
}
}
header.site-header.site-header nav {
- background: none;
border: 0;
margin: 0;
}
http://git-wip-us.apache.org/repos/asf/ambari/blob/76eabf2d/ambari-web/api-docs/css/standalone.css
----------------------------------------------------------------------
diff --git a/ambari-web/api-docs/css/standalone.css b/ambari-web/api-docs/css/standalone.css
index 1e5cd69..89d0d61 100644
--- a/ambari-web/api-docs/css/standalone.css
+++ b/ambari-web/api-docs/css/standalone.css
@@ -17,7 +17,6 @@ header.site-header li * {
-webkit-backface-visibility: hidden !important;
}
header.site-header nav {
- background: none;
border: 0;
margin: 0;
}
http://git-wip-us.apache.org/repos/asf/ambari/blob/76eabf2d/ambari-web/api-docs/index.html
----------------------------------------------------------------------
diff --git a/ambari-web/api-docs/index.html b/ambari-web/api-docs/index.html
index 90728cd..baa3381 100644
--- a/ambari-web/api-docs/index.html
+++ b/ambari-web/api-docs/index.html
@@ -139,7 +139,7 @@
function i(n) {
n.hasClass("fixed") || (navOffset = n.offset().top);
e();
- $(window).scrollTop() > navOffset ? $(".modal.in").length || n.addClass("fixed") : n.removeClass("fixed")
+ //$(window).scrollTop() > navOffset ? $(".modal.in").length || n.addClass("fixed") : n.removeClass("fixed")
}
function r(e) {
@@ -209,7 +209,7 @@
<body class="page-docs" style="zoom: 1;">
<header class="site-header">
- <nav role="navigation" class="navbar navbar-default">
+ <nav role="navigation" class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" data-toggle="collapse" data-target="#navbar-collapse" class="navbar-toggle"><span
http://git-wip-us.apache.org/repos/asf/ambari/blob/76eabf2d/ambari-web/api-docs/swagger-ui.js
----------------------------------------------------------------------
diff --git a/ambari-web/api-docs/swagger-ui.js b/ambari-web/api-docs/swagger-ui.js
index c644c64..5fbc844 100644
--- a/ambari-web/api-docs/swagger-ui.js
+++ b/ambari-web/api-docs/swagger-ui.js
@@ -176,7 +176,7 @@ this["Handlebars"]["templates"]["main"] = Handlebars.template({"1":function(dept
+ escapeExpression(lambda(((stack1 = (depth0 != null ? depth0.info : depth0)) != null ? stack1.version : stack1), depth0))
+ "\n";
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
- var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<div id=\"swagger_sidebar\">\n <div class=\"sticky-nav-placeholder\">\n <div class=\"sticky-nav\">\n <div class=\"mobile-nav\">\n <span class=\"select-label\">API Reference: </span><span data-selected-value></span>\n </div>\n\n <div class=\"token-generator hide\">\n <span data-close class=\"icon-budicon-471\"></span>\n <label for=\"input-api-token\">Url</label>\n <input type=\"text\" autocorrect=\"off\" class=\"ui-form-control\" id=\"input_baseUrl\"\n placeholder=\"http://example.com/api\">\n\n <div class=\"scope-selector\">\n <label for=\"scopes\">Token</label>\n\n <div class=\"area controls\">\n <input type=\"text\" autocorrect=\"off\" class=\"ui-form-
control\" id=\"input_apiKey\"\n placeholder=\"Enter api key or token\">\n </div>\n\n <div class=\"area cta\">\n <div data-add-scope id=\"explore\" class=\"btn\"><span class=\"icon-budicon-519\"></span>\n </div>\n </div>\n </div>\n\n </div>\n <div data-navigator>\n <div data-resource=\"\" label=\"Tools\">\n <div class=\"item\" data-tg-switch=\"\">Swagger resource <span class=\"status\"></span></div>\n </div>\n <div id=\"resources_nav\">\n </div>\n </div>\n\n <p class=\"changes-disclaimer\">\n <span class='info' id='api_info'>\n";
+ var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<div id=\"swagger_sidebar\">\n <div class=\"sticky-nav-placeholder\">\n <div class=\"sticky-nav fixed\">\n <div class=\"mobile-nav\">\n <span class=\"select-label\">API Reference: </span><span data-selected-value></span>\n </div>\n\n <div class=\"token-generator hide\">\n <span data-close class=\"icon-budicon-471\"></span>\n <label for=\"input-api-token\">Url</label>\n <input type=\"text\" autocorrect=\"off\" class=\"ui-form-control\" id=\"input_baseUrl\"\n placeholder=\"http://example.com/api\">\n\n <div class=\"scope-selector\">\n <label for=\"scopes\">Token</label>\n\n <div class=\"area controls\">\n <input type=\"text\" autocorrect=\"off\" class=\"ui
-form-control\" id=\"input_apiKey\"\n placeholder=\"Enter api key or token\">\n </div>\n\n <div class=\"area cta\">\n <div data-add-scope id=\"explore\" class=\"btn\"><span class=\"icon-budicon-519\"></span>\n </div>\n </div>\n </div>\n\n </div>\n <div data-navigator>\n <div data-resource=\"\" label=\"Tools\">\n <div class=\"item\" data-tg-switch=\"\">Swagger resource <span class=\"status\"></span></div>\n </div>\n <div id=\"resources_nav\">\n </div>\n </div>\n\n <p class=\"changes-disclaimer\">\n <span class='info' id='api_info'>\n";
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.info : depth0), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
buffer += "\n </span>\n\n <span class='info' id='api_info'>\n";