comparison pylons_app/templates/base/base.html @ 281:cd2ee462fc2c

implemented yui tooltip, and added it into annotation and main page.
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 13 Jun 2010 23:14:04 +0200
parents 408c66ecdad4
children 1dbe02063123
comparison
equal deleted inserted replaced
280:373ddb868bd6 281:cd2ee462fc2c
26 </ul> 26 </ul>
27 % endif 27 % endif
28 </div> 28 </div>
29 <div id="main"> 29 <div id="main">
30 ${next.main()} 30 ${next.main()}
31 <script>${h.tooltip.activate()}</script>
31 </div> 32 </div>
32 <div class="page-footer"> 33 <div class="page-footer">
33 Hg App ${c.hg_app_version} &copy; 2010 by Marcin Kuzminski 34 Hg App ${c.hg_app_version} &copy; 2010 by Marcin Kuzminski
34 </div> 35 </div>
35 36
138 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" /> 139 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
139 </%def> 140 </%def>
140 141
141 <%def name="js()"> 142 <%def name="js()">
142 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script> 143 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
144 <script type="text/javascript" src="/js/yui/container/container-min.js"></script>
143 </%def> 145 </%def>
144 146
145 <!-- DEFINITION OF FORM ERROR FETCHER --> 147 <!-- DEFINITION OF FORM ERROR FETCHER -->
146 <%def name="get_form_error(element)"> 148 <%def name="get_form_error(element)">
147 %if hasattr(c,'form_errors') and type(c.form_errors) == dict: 149 %if hasattr(c,'form_errors') and type(c.form_errors) == dict: