Changeset 20

Show
Ignore:
Timestamp:
01/05/07 21:49:19 (5 years ago)
Author:
nicolast
Message:

Made templates valid XHTML Strict 1.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/djangoid/templates/users/accept_root.html

    r7 r20  
    1 <html> 
    2         <head> 
    3         </head> 
    4         <body> 
    5                 We got a request from {{ openid_request.trust_root }} to authenticate you as {{ openid_request.identity }}.<br /> 
    6                 If you accept this, you will be redirected to {{ openid_request.return_to }}.<br /> 
    7                 If you press cancel, you will be returned to {{ openid_request.getCancelURL }}.<br /> 
     1{% extends "base.html" %} 
     2{% block "title" %}Accept authentication request{% endblock %} 
     3{% block "body" %} 
     4                We got a request from {{ openid_request.trust_root|escape }} to authenticate you as {{ openid_request.identity|escape }}.<br /> 
     5                If you accept this, you will be redirected to {{ openid_request.return_to|escape }}.<br /> 
     6                If you press cancel, you will be returned to {{ openid_request.getCancelURL|escape }}.<br /> 
    87 
    9                 <form method="POST"> 
     8                <form method="post" action="."> 
    109                        {% if openid_request.trustRootValid %} 
    1110                        <input type="checkbox" name="remember" checked="yes" value="yes" /> Remember 
     
    1413                        <input type="submit" name="cancel" value="Cancel" /> 
    1514                </form> 
    16         </body> 
    17 </html> 
     15{% endblock %} 
  • trunk/djangoid/templates/users/login.html

    r12 r20  
    1 <html> 
    2 <body> 
     1{% extends "base.html" %} 
     2{% block "title" %}Login{% endblock %} 
     3{% block "body" %} 
    34{% if error_message %} 
    45<p>{{ error_message }}</p> 
     
    3536        document.getElementById('trust_root').innerHTML = unescape(gup("tr")); 
    3637</script> 
    37 </div> 
    38 </body> 
    39 </html> 
     38{% endblock %} 
  • trunk/djangoid/templates/users/userpage.html

    r19 r20  
    1 <html> 
    2         <head> 
     1{% extends "base.html" %} 
     2{% block "title" %}User page of {{ user.get_name }}{% endblock %} 
     3{% block "extrahead" %} 
    34                <link rel="openid.server" href="{{ server_url }}" /> 
    45                <link rel="openid.delegate" href="{{ user.get_user_page }}/" /> 
    56                <meta http-equiv="x-xrds-location" content="{{ user.get_yadis_uri }}" /> 
    67                <meta name="microid" content="{{ microid }}" /> 
    7         </head> 
    8         <body> 
     8{% endblock %} 
     9{% block "body" %} 
    910                <h1>User page of {{ user.get_name }}</h1> 
    1011                <h2>About {{ user.get_name }}</h2> 
     
    5051                        </tbody> 
    5152                </table> 
    52         </body> 
    53 </html> 
    54  
     53{% endblock %}