source: indico/indico/MaKaC/webinterface/tpls/HTMLHeader.tpl @ 1e7e45

hello-world-walkthroughipv6v0.98-seriesv0.98.2v0.98.3v0.99v1.0v1.1
Last change on this file since 1e7e45 was 60708b, checked in by Pedro Ferreira <jose.pedro.ferreira@…>, 19 months ago

[IMP] Replace domTT with qTip2

  • Property mode set to 100644
File size: 2.8 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2            "http://www.w3.org/TR/html4/loose.dtd">
3<html xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://opengraph.org/schema/">
4    <head>
5        <title>${ page._getTitle() }${ area }</title>
6        <meta http-equiv="X-UA-Compatible" content="IE=8" />
7
8        <link rel="shortcut icon" type="image/x-icon" href="${ systemIcon('addressBarIcon') }">
9        <link rel="stylesheet" type="text/css" href="${ baseurl }/css/calendar-blue.css" >
10        <link rel="stylesheet" type="text/css" href="${ baseurl }/css/jquery-ui.css">
11        <link rel="stylesheet" type="text/css" href="${ baseurl }/css/jquery.qtip.css">
12        <link rel="stylesheet" type="text/css" href="${ baseurl }/css/jquery.colorbox.css">
13        <link rel="stylesheet" type="text/css" href="${ baseurl }/css/jquery-ui-custom.css">
14
15        <link rel="stylesheet" type="text/css" href="${ baseurl }/css/${ stylesheet }">
16
17        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
18
19% if social.get('facebook', {}).get('appId', None):
20        <meta property="fb:app_id" content="${social['facebook']['appId']}"/>
21% endif
22
23        <script type="text/javascript">
24                var TextRoot = "${ baseurl }/js/indico/i18n/";
25                var ScriptRoot = "${ baseurl }/js/";
26        </script>
27
28        <!-- Indico specific -->
29        ${ page._getJavaScriptInclude(baseurl + "/JSContent.py/getVars") } <!-- Indico Variables -->
30
31        <!-- Page Specific JS files-->
32        % for JSFile in extraJSFiles:
33            ${ page._getJavaScriptInclude(baseurl + '/' + JSFile) }
34        % endfor
35
36    <script type="text/javascript">
37      var currentLanguage = '${ language }';
38      loadDictionary(currentLanguage);
39    </script>
40
41        <!-- Calendar Widget -->
42        ${ page._getJavaScriptInclude(baseurl + "/js/calendar/calendar.js") }
43        ${ page._getJavaScriptInclude(baseurl + "/js/calendar/calendar-setup.js") }
44
45        <!-- Page Specific CSS files-->
46        % for cssFile in extraCSS:
47            <link rel="stylesheet" type="text/css" href="${ baseurl + '/' + cssFile }">
48        % endfor
49
50        <!-- Page Specific, directly inserted Javascript -->
51        <script type="text/javascript">
52            ${ "\n\n".join(extraJS) }
53        </script>
54
55        <!-- Indico page-wide global JS variables -->
56        <script type="text/javascript">
57        <% user = page._rh.getAW().getUser() %>
58        % if user:
59            IndicoGlobalVars.isUserAuthenticated = true;
60            IndicoGlobalVars.userData = ${ jsonEncode(page._getJavaScriptUserData()) };
61        % else:
62            IndicoGlobalVars.isUserAuthenticated = false;
63        % endif
64        </script>
65
66        <!-- Other Page Specific -->
67        ${ page._getHeadContent() }
68    </head>
69    <body>
70        ${ page._getWarningMessage() }
Note: See TracBrowser for help on using the repository browser.