mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
04.36.2014 d41ebfdf1b752c71ff76b2b613e424adf3b0fd4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<!--
  ! CCPL HEADER START
  !
  ! This work is licensed under the Creative Commons
  ! Attribution-NonCommercial-NoDerivs 3.0 Unported License.
  ! To view a copy of this license, visit
  ! http://creativecommons.org/licenses/by-nc-nd/3.0/
  ! or send a letter to Creative Commons, 444 Castro Street,
  ! Suite 900, Mountain View, California, 94041, USA.
  !
  ! You can also obtain a copy of the license at
  ! trunk/opendj3/legal-notices/CC-BY-NC-ND.txt.
  ! See the License for the specific language governing permissions
  ! and limitations under the License.
  !
  ! If applicable, add the following below this CCPL HEADER, with the fields
  ! enclosed by brackets "[]" replaced with your own identifying information:
  !      Portions Copyright [yyyy] [name of copyright owner]
  !
  ! CCPL HEADER END
  !
  !      Copyright 2014 ForgeRock AS
  !
-->
<html>
<head>
    <title>DOCS-117: Advertise latest stable doc release in in-progress documentation</title>
    <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
    <script type="text/javascript">
        var product = "opendj";
 
        $.getJSON( "http://mcraig.org/fr/latest.php", function( data ) {
            var latest = data[product];
            var url = "http://docs.forgerock.org/en/" + product + "/" + latest + "/";
            $("<div><p class=\"latest\"><a href=\"" + url + "\">Stable release: " + latest + "</a></p></div>").appendTo("body");
        });
    </script>
    <style type="text/css">
    .latest {
        color: white;
        background-color: #111;
        -moz-box-shadow: 2px 2px 20px #868686;
        -moz-transform: rotate(45deg);
        -moz-transform-origin: 50% 50%;
        -webkit-transform: rotate(45deg);
        -webkit-transform-origin: 50% 50%;
        -ms-transform: rotate(45deg);
        -ms-transform-origin: 50% 50%;
        position: fixed;
        width: 300px;
        top: 45px;
        right: -95px;
        text-align: center;
    }
 
    .latest a {
        color: white;
        text-decoration: none;
    }
 
    .latest a:hover {
        color: #f58220;
    }
    </style>
</head>
 
<body>
 
    <h3>DOCS-117: Advertise latest stable doc release in in-progress documentation</h3>
 
    <p>
        This is an experiment using JSON from another domain.
    </p>
 
    <p>
        In the upper right corner a banner should appear
        with a link to the latest stable release of the "opendj" product docs.
    </p>
</body>
</html>