Merge "Updated External deprecation badge resource"

This commit is contained in:
Zuul 2018-08-13 14:01:44 +00:00 committed by Gerrit Code Review
commit 2e0ec5a7fc
19 changed files with 20 additions and 66 deletions

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

13
www/latest/badge.html Normal file
View File

@ -0,0 +1,13 @@
<!-- Custom CSS -->
<link href="https://docs.openstack.org/common/css/deprecated-badge.css" rel="stylesheet">
<script src="https://docs.openstack.org/common/js/deprecated-badge.js"></script>
<div class="deprecated-badge fixed deprecated-badge-development" id="deprecated-badge">
<span class="deprecated-badge-close-button" id="deprecated-badge-close-button" title="close">x</span>
<div class="container">
<p class="deprecated-badge-left">
This release is under development. The current supported release is <a href="/{{RELEASED_SERIES}}/">{{RELEASED_SERIES.capitalize()}}.</a>
</p>
<a class="deprecated-badge-right" href="#top"><i aria-hidden="true" class="fa fa-chevron-up"></i>Back to Top</a>
</div>
</div>

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,5 +1 @@
<!-- Bootstrap Core CSS -->
<link href="{{ CSSDIR }}bootstrap.css" rel="stylesheet">
<!-- Fonts -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
{% include 'templates/deprecated_badge.tmpl' %}

1
www/rocky/badge.html Normal file
View File

@ -0,0 +1 @@
{% include 'templates/deprecated_badge.tmpl' %}

View File

@ -1,8 +1,12 @@
{# -*- mode: html -*- #}
<!-- Custom CSS -->
<link href="{{ CSSDIR }}deprecated-badge.css" rel="stylesheet">
<script src="{{ SCRIPTDIR }}deprecated-badge.js"></script>
{# 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 #}
<link href="https://docs.openstack.org/common/css/deprecated-badge.css" rel="stylesheet">
<script src="https://docs.openstack.org/common/js/deprecated-badge.js"></script>
<div id="deprecated-badge" class="deprecated-badge fixed
{% if SERIES == RELEASED_SERIES %}