aboutsummaryrefslogtreecommitdiffstats
path: root/3rd_party/static/swagger
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-26 11:25:29 +0200
committerStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-26 16:19:26 +0200
commit2735ea8a2aef55ebb0a48b50d9a0e36cf3f63b94 (patch)
treeeec3f232637faf06c83391c47f4f88effdcbe7e4 /3rd_party/static/swagger
parentf62c0dd0a33b444505ad0c1bdaddc5e0a86a11a6 (diff)
Update tox to run htmllint and csslint
JIRA: DOVETAIL-753 This patch adds a new tox environment to run htmllint and csslint. Furthermore, it fixes any leftover html and css errors. Change-Id: Ie3fda8d89b3d52851debe1a4271ffd0ac8fbee68 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to '3rd_party/static/swagger')
-rw-r--r--3rd_party/static/swagger/css/hightlight.default.css135
-rw-r--r--3rd_party/static/swagger/css/screen.css2
-rw-r--r--3rd_party/static/swagger/index.html14
-rw-r--r--3rd_party/static/swagger/o2c.html2
4 files changed, 9 insertions, 144 deletions
diff --git a/3rd_party/static/swagger/css/hightlight.default.css b/3rd_party/static/swagger/css/hightlight.default.css
deleted file mode 100644
index e417fc1..0000000
--- a/3rd_party/static/swagger/css/hightlight.default.css
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
-
-Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
-
-*/
-
-pre code {
- display: block; padding: 0.5em;
- background: #F0F0F0;
-}
-
-pre code,
-pre .subst,
-pre .tag .title,
-pre .lisp .title,
-pre .clojure .built_in,
-pre .nginx .title {
- color: black;
-}
-
-pre .string,
-pre .title,
-pre .constant,
-pre .parent,
-pre .tag .value,
-pre .rules .value,
-pre .rules .value .number,
-pre .preprocessor,
-pre .ruby .symbol,
-pre .ruby .symbol .string,
-pre .aggregate,
-pre .template_tag,
-pre .django .variable,
-pre .smalltalk .class,
-pre .addition,
-pre .flow,
-pre .stream,
-pre .bash .variable,
-pre .apache .tag,
-pre .apache .cbracket,
-pre .tex .command,
-pre .tex .special,
-pre .erlang_repl .function_or_atom,
-pre .markdown .header {
- color: #800;
-}
-
-pre .comment,
-pre .annotation,
-pre .template_comment,
-pre .diff .header,
-pre .chunk,
-pre .markdown .blockquote {
- color: #888;
-}
-
-pre .number,
-pre .date,
-pre .regexp,
-pre .literal,
-pre .smalltalk .symbol,
-pre .smalltalk .char,
-pre .go .constant,
-pre .change,
-pre .markdown .bullet,
-pre .markdown .link_url {
- color: #080;
-}
-
-pre .label,
-pre .javadoc,
-pre .ruby .string,
-pre .decorator,
-pre .filter .argument,
-pre .localvars,
-pre .array,
-pre .attr_selector,
-pre .important,
-pre .pseudo,
-pre .pi,
-pre .doctype,
-pre .deletion,
-pre .envvar,
-pre .shebang,
-pre .apache .sqbracket,
-pre .nginx .built_in,
-pre .tex .formula,
-pre .erlang_repl .reserved,
-pre .prompt,
-pre .markdown .link_label,
-pre .vhdl .attribute,
-pre .clojure .attribute,
-pre .coffeescript .property {
- color: #88F
-}
-
-pre .keyword,
-pre .id,
-pre .phpdoc,
-pre .title,
-pre .built_in,
-pre .aggregate,
-pre .css .tag,
-pre .javadoctag,
-pre .phpdoc,
-pre .yardoctag,
-pre .smalltalk .class,
-pre .winutils,
-pre .bash .variable,
-pre .apache .tag,
-pre .go .typename,
-pre .tex .command,
-pre .markdown .strong,
-pre .request,
-pre .status {
- font-weight: bold;
-}
-
-pre .markdown .emphasis {
- font-style: italic;
-}
-
-pre .nginx .built_in {
- font-weight: normal;
-}
-
-pre .coffeescript .javascript,
-pre .javascript .xml,
-pre .tex .formula,
-pre .xml .javascript,
-pre .xml .vbscript,
-pre .xml .css,
-pre .xml .cdata {
- opacity: 0.5;
-}
diff --git a/3rd_party/static/swagger/css/screen.css b/3rd_party/static/swagger/css/screen.css
index 2882b8d..1f22ecb 100644
--- a/3rd_party/static/swagger/css/screen.css
+++ b/3rd_party/static/swagger/css/screen.css
@@ -1035,7 +1035,7 @@ table {
color: black;
}
.title {
- font-style: bold;
+ font-weight: bold;
}
.secondary_form {
display: none;
diff --git a/3rd_party/static/swagger/index.html b/3rd_party/static/swagger/index.html
index db209f4..521a375 100644
--- a/3rd_party/static/swagger/index.html
+++ b/3rd_party/static/swagger/index.html
@@ -2,9 +2,9 @@
<html>
<head>
<title>Swagger UI</title>
- <link href='https://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'/>
- <link href='css/highlight.default.css' media='screen' rel='stylesheet' type='text/css'/>
- <link href='css/screen.css' media='screen' rel='stylesheet' type='text/css'/>
+ <link href='https://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
+ <link href='css/highlight.default.css' media='screen' rel='stylesheet' type='text/css'>
+ <link href='css/screen.css' media='screen' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="lib/shred.bundle.js"></script>
<script src='lib/jquery-1.8.0.min.js' type='text/javascript'></script>
<script src='lib/jquery.slideto.min.js' type='text/javascript'></script>
@@ -67,13 +67,13 @@
<a id="logo" href="http://swagger.wordnik.com">swagger</a>
<form id='api_selector'>
<div class='input icon-btn'>
- <img id="show-pet-store-icon" src="images/pet_store_api.png" title="Show Swagger Petstore Example Apis">
+ <img id="show-pet-store-icon" src="images/pet_store_api.png" title="Show Swagger Petstore Example Apis" alt="Petstore">
</div>
<div class='input icon-btn'>
- <img id="show-wordnik-dev-icon" src="images/wordnik_api.png" title="Show Wordnik Developer Apis">
+ <img id="show-wordnik-dev-icon" src="images/wordnik_api.png" title="Show Wordnik Developer Apis" alt="Wordnik">
</div>
- <div class='input'><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl" type="text"/></div>
- <div class='input'><input placeholder="api_key" id="input_apiKey" name="apiKey" type="text"/></div>
+ <div class='input'><input placeholder="http://example.com/api" id="input_baseUrl" name="baseUrl" type="text"></div>
+ <div class='input'><input placeholder="api_key" id="input_apiKey" name="apiKey" type="text"></div>
<div class='input'><a id="explore" href="#">Explore</a></div>
</form>
</div>
diff --git a/3rd_party/static/swagger/o2c.html b/3rd_party/static/swagger/o2c.html
index d32d130..2f8a6a5 100644
--- a/3rd_party/static/swagger/o2c.html
+++ b/3rd_party/static/swagger/o2c.html
@@ -12,4 +12,4 @@ qp = qp ? JSON.parse('{"' + qp.replace(/&/g, '","').replace(/=/g,'":"') + '"}',
):{}
window.opener.onOAuthComplete(qp);
window.close();
-</script> \ No newline at end of file
+</script>