Browse code

Development docs warning for beta-docs.docker.io

Update: Fix alignment issues of the "warning" block.

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)

Docker-DCO-1.1-Signed-off-by: O.S.Tezer <ostezer@gmail.com> (github: SvenDowideit)

O.S.Tezer authored on 2014/04/18 06:20:18
Showing 2 changed files
... ...
@@ -48,6 +48,7 @@
48 48
             <div class="col-sm-8" role="main">
49 49
               {% include "breadcrumbs.html" %}
50 50
               <main id="content" role="main">
51
+                {% include "beta_warning.html" %}
51 52
                 {{ content }}
52 53
               </main>
53 54
             </div>
54 55
new file mode 100644
... ...
@@ -0,0 +1,27 @@
0
+<style>
1
+.bs-callout {
2
+  padding: 20px;
3
+  border-left: 3px solid rgb(238, 238, 238);
4
+  width: 100% !important;
5
+}
6
+.bs-callout p {
7
+  margin-bottom: 0 !important;
8
+}
9
+.bs-callout h4 span {
10
+  font-style: italic;
11
+  font-weight: bold;
12
+}
13
+.bs-callout-danger {
14
+  background-color: rgb(253, 247, 247);
15
+  border-color: rgb(217, 83, 79);
16
+}
17
+.bs-callout h4 {
18
+  margin-top: 0;
19
+  margin-bottom: 5px;
20
+  color: rgb(217, 83, 79);
21
+}
22
+</style>
23
+<div class="bs-callout bs-callout-danger">
24
+<h4>You are looking at the <span>beta</span> docs for the development version of Docker.</h4>
25
+There is a chance of them being different from the prior versions.
26
+</div>