LP1831390: combobox and date-select implement ControlValueAccessor
[Evergreen.git] / Open-ILS / src / templates / base.tt2
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns='http://www.w3.org/1999/xhtml' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
3     <head>
4         <title>[% ctx.page_title %]</title>
5         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6         <link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %].css' />
7         <link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/theme/[% ctx.skin %].css' />
8             <script language='javascript' src='/IDL2js' type='text/javascript'></script>
9         <script type="text/javascript">var djConfig = {parseOnLoad:true,isDebug:false};</script>
10         <script type="text/javascript" src="/js/dojo/dojo/dojo.js"></script>
11         <script type="text/javascript" src="[% ctx.media_prefix %]/js/dojo/dojo/openils_dojo.js"></script>
12         <script type="text/javascript" src="[% ctx.media_prefix %]/js/dojo/opensrf/md5.js"></script>
13         <script type="text/javascript">var oilsBasePath = [% IF ctx.base_path.substr(0,1) == '/' %]location.href.replace(RegExp(location.pathname + '.*'),'') +[% END %] '[% ctx.base_path %]'</script>
14         <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/base.js"></script>
15         <script type="text/javascript">
16             dojo.require("dijit.layout.LayoutContainer");
17             dojo.require("dijit.layout.ContentPane");
18         </script>
19         <style>
20             .tundra .dijitComboBoxDisabled, .tundra .dijitTextBoxDisabled {
21                     color: gray !important;
22             }
23         </style>
24     </head>
25     <body class='tundra'>
26         [% INCLUDE login.tt2 %] <!-- shared login page -->
27         <div id="oils-base-body-block" class="tundra" dojoType="dijit.layout.LayoutContainer"> 
28             <div id="oils-base-header-block" dojoType="dijit.layout.ContentPane" layoutAlign="top">
29                 <div id='oils-base-header-auto-login-block'>
30                     [% INCLUDE header.tt2 %]
31                 </div>
32             </div>
33             <div id="oils-base-main-block" dojoType="dijit.layout.LayoutContainer" layoutAlign="client">
34                 [% IF no_content_pane %]
35                 [% content %]
36                 [% ELSE %]
37                 <div id="oils-base-content-block" dojoType="dijit.layout.ContentPane" layoutAlign="client">
38                     [% content %]
39                 </div>
40                 [% END %]
41             </div>
42         </div>
43     </body>
44 </html>