killbill-uncached

profiles: tweak Swagger CSS Signed-off-by: Pierre-Alexandre

10/16/2014 9:08:36 PM

Details

diff --git a/profiles/killbill/src/main/webapp/api.html b/profiles/killbill/src/main/webapp/api.html
index f8c733c..dce3c00 100644
--- a/profiles/killbill/src/main/webapp/api.html
+++ b/profiles/killbill/src/main/webapp/api.html
@@ -109,6 +109,11 @@
 <body class="swagger-section">
 <div id='header'>
   <div class="swagger-ui-wrap">
+    <div id="kb-logo-container">
+      <a href="http://kill-bill.org">
+        <img id="kb-logo" title="Kill Bill" border="0" alt="Kill Bill" src="../images/killbill_logo.png">
+      </a>
+    </div>
     <form id='api_selector'>
       <div class='input'><input placeholder="http://127.0.0.1:8080/api-docs" id="input_baseUrl" name="baseUrl" type="text" size="38"/></div>
       <div class='input'><input placeholder="api_key" id="input_kb_apiKey" name="apiKey" type="text" size="8"/></div>
diff --git a/profiles/killbill/src/main/webapp/css/killbill-swagger.css b/profiles/killbill/src/main/webapp/css/killbill-swagger.css
index 45a7472..ded906d 100644
--- a/profiles/killbill/src/main/webapp/css/killbill-swagger.css
+++ b/profiles/killbill/src/main/webapp/css/killbill-swagger.css
@@ -12,16 +12,33 @@
 }
 */
 
+#kb-logo-container {
+  max-width: 175px;
+  margin-left: -220px;
+  margin-top: -10px;
+  float: left;
+}
+
+img#kb-logo {
+  max-width: 100%;
+  height: auto;
+  width: auto\9; /* ie8 */
+}
+
 .swagger-section .swagger-ui-wrap {
   height: 24px;
 }
 
+.swagger-section .swagger-ui-wrap {
+  font-family: "Roboto Light";
+}
+
 .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 {
   font-family: "Roboto Light";
 }
 
 .swagger-section #header {
-  background-color: #167bb7;
+  background-color: transparent;
 }
 
 .swagger-section #header form#api_selector {
diff --git a/profiles/killpay/src/main/webapp/api.html b/profiles/killpay/src/main/webapp/api.html
index f8c733c..dce3c00 100644
--- a/profiles/killpay/src/main/webapp/api.html
+++ b/profiles/killpay/src/main/webapp/api.html
@@ -109,6 +109,11 @@
 <body class="swagger-section">
 <div id='header'>
   <div class="swagger-ui-wrap">
+    <div id="kb-logo-container">
+      <a href="http://kill-bill.org">
+        <img id="kb-logo" title="Kill Bill" border="0" alt="Kill Bill" src="../images/killbill_logo.png">
+      </a>
+    </div>
     <form id='api_selector'>
       <div class='input'><input placeholder="http://127.0.0.1:8080/api-docs" id="input_baseUrl" name="baseUrl" type="text" size="38"/></div>
       <div class='input'><input placeholder="api_key" id="input_kb_apiKey" name="apiKey" type="text" size="8"/></div>
diff --git a/profiles/killpay/src/main/webapp/css/killbill-swagger.css b/profiles/killpay/src/main/webapp/css/killbill-swagger.css
index 45a7472..ded906d 100644
--- a/profiles/killpay/src/main/webapp/css/killbill-swagger.css
+++ b/profiles/killpay/src/main/webapp/css/killbill-swagger.css
@@ -12,16 +12,33 @@
 }
 */
 
+#kb-logo-container {
+  max-width: 175px;
+  margin-left: -220px;
+  margin-top: -10px;
+  float: left;
+}
+
+img#kb-logo {
+  max-width: 100%;
+  height: auto;
+  width: auto\9; /* ie8 */
+}
+
 .swagger-section .swagger-ui-wrap {
   height: 24px;
 }
 
+.swagger-section .swagger-ui-wrap {
+  font-family: "Roboto Light";
+}
+
 .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 {
   font-family: "Roboto Light";
 }
 
 .swagger-section #header {
-  background-color: #167bb7;
+  background-color: transparent;
 }
 
 .swagger-section #header form#api_selector {