mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
dc982d3053
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)
32 lines
881 B
HTML
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 %}
|