diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_static/css/custom.css | 14 | ||||
| -rw-r--r-- | docs/_templates/layout.html | 4 | 
2 files changed, 18 insertions, 0 deletions
| diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css index 6d36283d..4d14a55d 100644 --- a/docs/_static/css/custom.css +++ b/docs/_static/css/custom.css @@ -174,4 +174,18 @@ a.cmdlink span:hover{  .rst-content table.docutils td.coverage-fail {    background-color: red;    color: black; +} + + +p.devwarning { +	top: 10px; +	position: sticky; +	margin: 10px 10px 10px 310px; +	padding: 5px 10px; +	border-radius: 4px; +	letter-spacing: 1px; +	color: #000; +	text-align: center; +	background: #d40 repeating-linear-gradient( 135deg, transparent, transparent 56px, rgba(255, 255, 255, 0.2) 56px, rgba(255, 255, 255, 0.2) 112px ); +  background-color: #fdab10;  }
\ No newline at end of file diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 5f3f38c2..a5873ce8 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -3,3 +3,7 @@  {% block extrahead %}      <link href="{{ pathto("_static/css/custom.css", True) }}" rel="stylesheet" type="text/css">  {% endblock %} +{% block extrabody %} +    <p class="devwarning">Warning: This is the dev version. The latest stable version is +    <a href="https://docs.vyos.io/en/crux/">Crux 1.2.x</a>. Or the current release candidate version is <a href="https://docs.vyos.io/en/equuleus/">Equuleus 1.3.x</a></p> +{% endblock %} | 
