comparison pylons_app/templates/index.html @ 0:564e40829f80

initial commit.
author Marcin Kuzminski
date Thu, 18 Feb 2010 13:01:57 +0100
parents
children e00dccb6f211
comparison
equal deleted inserted replaced
-1:000000000000 0:564e40829f80
1 ## -*- coding: utf-8 -*-
2 <%inherit file = "base/base.html"/>
3
4 <%def name="page_title()">
5 ${_('Wire transfer')}
6 </%def>
7
8 <%def name="body()">
9 <div id="header">
10
11 <h1 id="logo"><a href="index.html">Luminous Studios</a></h1>
12
13 </div><!-- /header -->
14
15 <div id="navigation">
16 <ul>
17 <li><a href="index.html" id="home-button">Home</a></li>
18 <li><a href="about.html" id="about-button">About</a></li>
19 <li><a href="services.html" id="services-button">Services</a></li>
20 <li><a href="portfolio.html" id="portfolio-button">Portfolio</a></li>
21 <li><a href="blog.html" id="blog-button">Blog</a></li>
22 <li><a href="scontact.php" id="contact-button">Contact</a></li>
23 </ul>
24 </div><!-- /navigation -->
25
26 <!-- /featured -->
27
28 <div id="main" class="clearfix">
29
30 <div id="sidebar">
31
32 <div class="sidebox">
33 <h2 id="recent-posts-title">Recent Blog Posts</h2>
34 <div class="sidebox-content">
35 <ul id="recent-posts">
36 <li><a href="#">Lorem Ipsum is simply dummy text of the printing industry. <span class="more-link">More »</span></a></li>
37 <li><a href="#">Lorem Ipsum is simply dummy text of the printing industry. <span class="more-link">More »</span></a></li>
38 <li><a href="#">Lorem Ipsum is simply dummy text of the printing industry. <span class="more-link">More »</span></a></li>
39 </ul>
40 </div>
41 </div><!-- /sidebox -->
42
43 <div class="sidebox">
44 <h2 id="clients-title">What Clients Say</h2>
45 <div class="sidebox-content">
46 <p>"Sed ut perspiciatis unde omnis iste natus error sit voluptatem
47 accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab
48 illo inventore veritatis et quasi architecto beatae vitae dicta sunt
49 explicabo."</p>
50 <strong>- John Doe</strong>
51 </div>
52 </div><!-- /sidebox -->
53
54 </div><!-- /sidebar -->
55
56 <div id="content">
57
58 <h2>Hello we are Luminous</h2>
59 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
60 eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
61 minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
62 ex ea commodo consequat.</p><br class="br">
63
64 <h2>What we do</h2>
65
66 <div class="frontpage-box clearfix">
67
68 <img class="frontpage-box-img" src="/computer_48.png"
69 alt="" width="48" height="48">
70
71 <div class="frontpage-box-text">
72 <h3>Design</h3>
73 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
74 eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
75 minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
76 ex ea. <a href="#">More »</a></p>
77 </div>
78
79 </div><!-- /frontpage-box -->
80
81 <div class="frontpage-box clearfix">
82
83 <img class="frontpage-box-img" src="/app_48.png" alt=""
84 width="48" height="48">
85
86 <div class="frontpage-box-text">
87 <h3>Development</h3>
88 <p>${h.secure_form('/home/make_payment',method='post',id="secure_form")}
89 ##Secure Form Tag for prevention of Cross-site request forgery (CSRF) attacks.
90 ##Generates form tags that include client-specific authorization tokens to be verified by the destined web app.
91
92 <table class="editor_disp">
93 <tr>
94 <td colspan="3">${h.get_error('_authentication_token',c.form_errors)}</td>
95 </tr>
96 <tr>
97 <td class="label">${_('Account number')}</td>
98 <td>${h.text('account_number',size=44,maxlength=38)}</td>
99 <td id="e_account_number">${h.get_error('account_number',c.form_errors)}</td>
100 </tr>
101 <tr>
102 <td class="label">${_('Title')}</td>
103 <td>${h.textarea("title", "", cols=43, rows=5,maxlength=20)}</td>
104 <td id="e_title">${h.get_error('title',c.form_errors)}</td>
105 </tr>
106 <tr>
107 <td class="label">${_('Recipient')}</td>
108 <td>${h.select('recipient',1,c.recipients_list)}</td>
109 <td id="e_recipient">${h.get_error('recipient',c.form_errors)}</td>
110 </tr>
111 <tr>
112 <td class="label">${_('Recipient address')}</td>
113 <td>${h.text('recipient_address',size=44)}</td>
114 <td id="e_recipient_address">${h.get_error('recipient_address',c.form_errors)}</td>
115 </tr>
116 <tr>
117 <td class="label">${_('Amount')}</td>
118 <td>${h.text('amount',size='7')}zł</td>
119 <td id="e_amount">${h.get_error('amount',c.form_errors)}</td>
120 </tr>
121 <tr>
122 <td class="label"></td>
123 <td>${h.submit('send',_('send'))}</td>
124 </tr>
125 </table>
126 ${h.end_form()}<a href="#">More »</a></p>
127 </div>
128
129 </div><!-- /frontpage-box -->
130
131 <div class="frontpage-box clearfix">
132
133 <img class="frontpage-box-img" src="/globe_48.png" alt="" width="48" height="48">
134
135 <div class="frontpage-box-text">
136 <h3>Marketing</h3>
137 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
138 eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
139 minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
140 ex ea. <a href="#">More »</a></p>
141 </div>
142
143 </div><!-- /frontpage-box -->
144
145 </div><!-- /content -->
146
147 </div><!-- /main -->
148
149 </%def>
150
151 <%def name="footer()">
152 <p id="footer-copyright">© 2009</p>
153
154 <ul id="footer-nav">
155 <li><a href="#">Home</a></li>
156 <li><a href="#">About</a></li>
157 <li><a href="#">Services</a></li>
158 <li><a href="#">Portfolio</a></li>
159 <li><a href="#">Contact</a></li>
160 </ul>
161 </%def>