summaryrefslogtreecommitdiff
path: root/examples/djopenid/templates/server/index.html
blob: 01108d0d1ea557e95f2289c1c67c484829924782 (plain)
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
<html>
  <head>
    <title>Django OpenID Example Server</title>
    <style type="text/css">
    div.message {
        background: #9f9;
        padding: 0.5em;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        border: 1px solid #555;
        font-weight: bold;
    }

    div.error {
        background: #f99;
        padding: 0.5em;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        border: 1px solid #555;
        font-weight: bold;
    }

    div.box {
        background: #eee;
        border: 1px solid black;
        padding: 1em;
    }
    </style>
    {% block head %}
    <meta http-equiv="x-xrds-location" content="{{ server_xrds_url }}">
    {% endblock %}
  </head>
  <body>

{% block body %}
  <div class="box">

  <p>
    This is an example server built for the Django framework.  It only
    authenticates one OpenID, which is also served by this
    application.  The OpenID it serves is

    <pre>
<a href="{{ user_url }}">{{ user_url }}</a>
    </pre>
  </p>

  </div>
{% endblock %}
  </body>
</html>