- Timestamp:
- Dec 20, 2009, 9:45:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/templates/skeleton.mako
r2678 r2690 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; … … 49 49 % if not simple: 50 50 % if cherrypy.request.login: 51 <p class="loggedin">Welcome, <span class="name">${cherrypy.request.login}</span>.</p> 51 <p class="loggedin">Welcome, <span class="name">${cherrypy.request.login}</span>. 52 % if cherrypy.request.state.isadmin: 53 You are currently authenticated as an administrator. 54 % endif 55 </p> 52 56 % endif 53 57
Note: See TracChangeset
for help on using the changeset viewer.