1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/theme/mkdocs/beta_warning.html
Sven Dowideit dc982d3053 make the non-release doc warning conditional and add version info
use the beta-warning area to tell the user what VERSION of docker, git
branch, and links to the official release version docs are.

requires / extends PR #5272

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
2014-04-23 21:07:12 +10:00

32 lines
881 B
HTML

{% if aws_bucket != "docs.docker.io" %}
<style>
.bs-callout {
padding: 20px;
border-left: 3px solid rgb(238, 238, 238);
width: 100% !important;
}
.bs-callout p {
margin-bottom: 0 !important;
}
.bs-callout h4 span {
font-style: italic;
font-weight: bold;
}
.bs-callout-danger {
background-color: rgb(253, 247, 247);
border-color: rgb(217, 83, 79);
}
.bs-callout h4 {
margin-top: 0;
margin-bottom: 5px;
color: rgb(217, 83, 79);
}
</style>
<div class="bs-callout bs-callout-danger">
<h4>This is the
<span>{% if docker_version != docker_version|replace("-dev", "bingo") %}{{ docker_branch }} development branch{% else %}beta{% endif %}</span>
documentation for Docker version {{ docker_version }}.</h4>
Please go to <a href="http://docs.docker.io">http://docs.docker.io</a> for the current Docker release documentation.
{{ aws_bucket }}
</div>
{% endif %}