1 | <!DOCTYPE html> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <title>[% IF c.config.company %][% c.config.company _ ' ' | html %][% END %]Accounts / [% page.title %]</title> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
6 | <link rel="stylesheet" href="[% c.uri_for('/static', 'style.css') %]?" type="text/css"> |
---|
7 | <link rel="stylesheet" href="[% c.uri_for('/static', 'struct.css') %]?" type="text/css"> |
---|
8 | <link rel="icon" href="[%- c.uri_for('/static', 'images', 'favicon.ico') -%]" type="image/x-icon"> |
---|
9 | |
---|
10 | <script src="[% c.uri_for('/static', 'js', 'jquery', 'external/jquery/jquery.js') %]"></script> |
---|
11 | |
---|
12 | <script src="[% c.uri_for('/static', 'js', 'jquery', 'jquery-ui.js') %]"></script> |
---|
13 | <link rel="stylesheet" href="[% c.uri_for('/static/js/jquery/jquery-ui.css') %]" type="text/css"> |
---|
14 | |
---|
15 | <script src="[% c.uri_for('/static', 'js', 'jqplot', 'jquery.jqplot.js') %]"></script> |
---|
16 | [% FOREACH plugins = [ |
---|
17 | 'jqplot.json2.js', |
---|
18 | 'jqplot.pieRenderer.js', |
---|
19 | 'jqplot.dateAxisRenderer.js', |
---|
20 | 'jqplot.barRenderer.js', |
---|
21 | 'jqplot.cursor.js' |
---|
22 | 'jqplot.highlighter.js', |
---|
23 | 'jqplot.enhancedLegendRenderer.js', |
---|
24 | 'jqplot.canvasTextRenderer.js', |
---|
25 | 'jqplot.canvasAxisTickRenderer.js', |
---|
26 | 'jqplot.categoryAxisRenderer.js', |
---|
27 | 'jqplot.canvasAxisTickRenderer.js', |
---|
28 | ] %] |
---|
29 | <script src="[% c.uri_for('/static', 'js', 'jqplot', 'plugins', plugins) %]"></script> |
---|
30 | [%- END %] |
---|
31 | |
---|
32 | <script src="[% c.uri_for('/static', 'js', 'd3', 'd3.v3.js') %]"></script> |
---|
33 | <script src="[% c.uri_for('/static', 'js', 'timeline', 'timeframe.js') %]"></script> |
---|
34 | <script src="[% c.uri_for('/static', 'js', 'jquery', 'jquery.orgchart.js') %]"></script> |
---|
35 | <script src="[% c.uri_for('/static', 'js', 'jQRangeSlider', 'jQAllRangeSliders-min.js') %]"></script> |
---|
36 | |
---|
37 | <link rel="stylesheet" href="[% c.uri_for('/static/js/jquery/jquery.orgchart.css') %]" type="text/css"> |
---|
38 | <link rel="stylesheet" href="[% c.uri_for('/static/js/jqplot/jquery.jqplot.css') %]" type="text/css"> |
---|
39 | <link rel="stylesheet" href="[% c.uri_for('/static/js/jQRangeSlider/css/classic.css') %]" type="text/css"> |
---|
40 | |
---|
41 | |
---|
42 | <script> |
---|
43 | $(function() { |
---|
44 | $.jqplot.config.enablePlugins = true; |
---|
45 | }); |
---|
46 | </script> |
---|
47 | |
---|
48 | [% IF page.error %] |
---|
49 | <script type="text/javascript" language="JavaScript"> |
---|
50 | window.onload = analert; |
---|
51 | function analert () { |
---|
52 | alert('[% page.error | replace('\'', '\\\'') %]'); |
---|
53 | } |
---|
54 | </script> |
---|
55 | [% END %] |
---|
56 | </head> |
---|
57 | |
---|
58 | <body> |
---|
59 | <!-- $Id$ --> |
---|
60 | |
---|
61 | <div id="header"> |
---|
62 | |
---|
63 | <h1 style=""> |
---|
64 | [% l('IT management') %] |
---|
65 | [% IF c.config.company %] |
---|
66 | - [% c.config.company | html %] |
---|
67 | [% END %] |
---|
68 | </h1> |
---|
69 | |
---|
70 | </div><!-- #header --> |
---|
71 | |
---|
72 | [% IF c.user.username %] |
---|
73 | <div id="sidebar"> |
---|
74 | [% INCLUDE 'includes/sidebar.tt' %] |
---|
75 | </div> |
---|
76 | [% END %] |
---|
77 | |
---|
78 | <div id="mainbox"> |
---|
79 | |
---|
80 | [% content %] |
---|
81 | |
---|
82 | </div><!-- #mainbox --> |
---|
83 | |
---|
84 | <div id="footer" style="clear: both"></div> |
---|
85 | </body> |
---|
86 | </html> |
---|