File tree Expand file tree Collapse file tree
lib/tool_shed/webapp/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <% _= n_ %>
21<!DOCTYPE HTML>
32<html >
4- <!-- base.mako-->
5- ${ self .init()}
6- <head >
7- <meta http-equiv =" Content-Type" content =" text/html; charset=utf-8" />
8-
9- <title >
10- Galaxy
11- % if app.config.brand:
12- | ${ app.config.brand}
13- %endif
14- | ${ self .title()}
15- </title >
16-
17- ## relative href for site root
18- ## TODO: try <base> tag?
19- <link rel =" index" href =" ${ h.url_for( '/' ) }" />
20-
21- ${ self .metas()}
22- ${ self .stylesheets()}
23- ${ self .javascripts()}
24- ${ self .javascript_app()}
25- </head >
26- <body class =" inbound" >
3+ <body >
274 ${ next .body()}
285 </body >
296</html >
30-
31- ## Default title
32- <%def name = "title() "></%def >
33-
34- ## Default init
35- <%def name = "init() "></%def >
36-
37- ## Default stylesheets
38- <%def name = "stylesheets() ">
39- </%def >
40-
41- ## Default javascripts
42- <%def name = "javascripts() ">
43- ${ self .javascript_entry()}
44- </%def >
45-
46- <%def name = "javascript_entry() ">
47- </%def >
48-
49- <%def name = "javascript_app() ">
50- <script type =" text/javascript" >
51- var options = {
52- root: ' ${h.url_for( "/" )}' ,
53- session_csrf_token: ' ${ trans.session_csrf_token }'
54- };
55- </script >
56- </%def >
57-
58- ## Additional metas can be defined by templates inheriting from this one.
59- <%def name = "metas() "></%def >
You can’t perform that action at this time.
0 commit comments