From 961f544a4ec383d8b500afd82dda5dc333f689d1 Mon Sep 17 00:00:00 2001 From: Sebastian Marcet Date: Tue, 24 Jul 2018 16:06:40 -0300 Subject: [PATCH] Updated External deprecation badge resource In order to be fully functional to be consumable from an external project ( ie docthemes) - removed from external deprecation badge references to boostrap css and font awesome css - removed relative references to js and css and made it absolutes Change-Id: I07809ba90a4a7cae996994a856d9d6be9d7a1195 --- www/austin/badge.html | 4 ---- www/bexar/badge.html | 4 ---- www/cactus/badge.html | 4 ---- www/diablo/badge.html | 4 ---- www/essex/badge.html | 4 ---- www/folsom/badge.html | 4 ---- www/grizzly/badge.html | 4 ---- www/havana/badge.html | 4 ---- www/juno/badge.html | 4 ---- www/kilo/badge.html | 4 ---- www/latest/badge.html | 13 +++++++++++++ www/liberty/badge.html | 4 ---- www/mitaka/badge.html | 4 ---- www/newton/badge.html | 4 ---- www/ocata/badge.html | 4 ---- www/pike/badge.html | 4 ---- www/queens/badge.html | 4 ---- www/rocky/badge.html | 1 + www/templates/deprecated_badge.tmpl | 8 ++++++-- 19 files changed, 20 insertions(+), 66 deletions(-) create mode 100644 www/latest/badge.html create mode 100644 www/rocky/badge.html diff --git a/www/austin/badge.html b/www/austin/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/austin/badge.html +++ b/www/austin/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/bexar/badge.html b/www/bexar/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/bexar/badge.html +++ b/www/bexar/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/cactus/badge.html b/www/cactus/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/cactus/badge.html +++ b/www/cactus/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/diablo/badge.html b/www/diablo/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/diablo/badge.html +++ b/www/diablo/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/essex/badge.html b/www/essex/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/essex/badge.html +++ b/www/essex/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/folsom/badge.html b/www/folsom/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/folsom/badge.html +++ b/www/folsom/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/grizzly/badge.html b/www/grizzly/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/grizzly/badge.html +++ b/www/grizzly/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/havana/badge.html b/www/havana/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/havana/badge.html +++ b/www/havana/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/juno/badge.html b/www/juno/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/juno/badge.html +++ b/www/juno/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/kilo/badge.html b/www/kilo/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/kilo/badge.html +++ b/www/kilo/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/latest/badge.html b/www/latest/badge.html new file mode 100644 index 0000000000..b06c04624b --- /dev/null +++ b/www/latest/badge.html @@ -0,0 +1,13 @@ + + + + +
+ x +
+

+ This release is under development. The current supported release is {{RELEASED_SERIES.capitalize()}}. +

+ Back to Top +
+
\ No newline at end of file diff --git a/www/liberty/badge.html b/www/liberty/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/liberty/badge.html +++ b/www/liberty/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/mitaka/badge.html b/www/mitaka/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/mitaka/badge.html +++ b/www/mitaka/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/newton/badge.html b/www/newton/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/newton/badge.html +++ b/www/newton/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/ocata/badge.html b/www/ocata/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/ocata/badge.html +++ b/www/ocata/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/pike/badge.html b/www/pike/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/pike/badge.html +++ b/www/pike/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/queens/badge.html b/www/queens/badge.html index cff7e272a1..8db46c5c3a 100644 --- a/www/queens/badge.html +++ b/www/queens/badge.html @@ -1,5 +1 @@ - - - - {% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/rocky/badge.html b/www/rocky/badge.html new file mode 100644 index 0000000000..8db46c5c3a --- /dev/null +++ b/www/rocky/badge.html @@ -0,0 +1 @@ +{% include 'templates/deprecated_badge.tmpl' %} \ No newline at end of file diff --git a/www/templates/deprecated_badge.tmpl b/www/templates/deprecated_badge.tmpl index 9e79cd00f8..1ad79e08aa 100644 --- a/www/templates/deprecated_badge.tmpl +++ b/www/templates/deprecated_badge.tmpl @@ -1,8 +1,12 @@ {# -*- mode: html -*- #} - - +{# reason to not use the CSSDIR its because introduces a relative path #} +{# not an absolute, so when its included on docthemes, its tried to include the css #} +{# from a wrong path instead of the right one #} + + +