Changeset 2482 for package_branches/invirt-web/cherrypy/code/templates
- Timestamp:
- Sep 27, 2009, 7:55:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/templates/skeleton.mako
r2432 r2482 6 6 <html> 7 7 <head><title>${self.title()} — XVM</title> 8 <base href="${cherrypy.request.base} " />9 <link href=" static/favicon.ico" type="image/x-icon" rel="shortcut icon">10 <link rel="stylesheet" href=" static/style.css" type="text/css" />11 <link rel="stylesheet" href=" static/layout.css" type="text/css" media="screen" />12 <script type="text/javascript" src=" static/prototype.js"></script>8 <base href="${cherrypy.request.base}${"/admin/" if cherrypy.request.state.isadmin else ""}" /> 9 <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon"> 10 <link rel="stylesheet" href="/static/style.css" type="text/css" /> 11 <link rel="stylesheet" href="/static/layout.css" type="text/css" media="screen" /> 12 <script type="text/javascript" src="/static/prototype.js"></script> 13 13 <script type="text/javascript"> 14 14 var helpWin = null; … … 50 50 % if not simple: 51 51 % if cherrypy.request.login: 52 <p class="loggedin">Welcome, <span class="name">${cherrypy.request.login}</span>.</p> 52 <p class="loggedin">Welcome, <span class="name">${cherrypy.request.login}</span>. 53 % if cherrypy.request.state.isadmin: 54 You are currently authenticated as an administrator. 55 % endif 56 </p> 53 57 % endif 54 58
Note: See TracChangeset
for help on using the changeset viewer.