~corey.bryant/ubuntu/wily/python-pysaml2/3.0.0

« back to all changes in this revision

Viewing changes to example/idp2/templates/root.mako

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2014-09-08 16:11:53 UTC
  • Revision ID: package-import@ubuntu.com-20140908161153-vms9r4gu0oz4v4ai
Tags: upstream-2.0.0
ImportĀ upstreamĀ versionĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<% self.seen_css = set() %>
 
2
<%def name="css_link(path, media='')" filter="trim">
 
3
    % if path not in self.seen_css:
 
4
        <link rel="stylesheet" type="text/css" href="${path|h}" media="${media}">
 
5
    % endif
 
6
    <% self.seen_css.add(path) %>
 
7
</%def>
 
8
<%def name="css()" filter="trim">
 
9
    ${css_link('/static/css/main.css', 'screen')}
 
10
</%def>
 
11
<%def name="pre()" filter="trim">
 
12
    <div class="header">
 
13
        <h1><a href="/">Login</a></h1>
 
14
    </div>
 
15
</%def>
 
16
<%def name="post()" filter="trim">
 
17
    <div>
 
18
        <div class="footer">
 
19
            <p>&#169; Copyright 2011 Ume&#229; Universitet &nbsp;</p>
 
20
        </div>
 
21
    </div>
 
22
</%def>
 
23
    ##<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN "
 
24
##"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
25
<html>
 
26
<head><title>IDP test login</title>
 
27
    ${self.css()}
 
28
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
29
</head>
 
30
<body>
 
31
    ${pre()}
 
32
##        ${comps.dict_to_table(pageargs)}
 
33
##        <hr><hr>
 
34
${next.body()}
 
35
${post()}
 
36
</body>
 
37
</html>