templates/master.html
[Pman.Core] / templates / master.html
1 <!DOCTYPE html 
2       PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
4 <html xmlns="http://www.w3.org/1999/xhtml" 
5       xmlns:html="http://www.w3.org/1999/xhtml" 
6       xmlns:svg="http://www.w3.org/2000/svg"
7       xmlns:xlink="http://www.w3.org/1999/xlink"> 
8     <head>
9         <title>{appName}</title>
10         <meta name="google" value="notranslate">
11         <link rel="shortcut icon" href="./Pman.ico" type="image/vnd.microsoft.icon"/>
12         
13         
14         <link rel="stylesheet" type="text/css" href="{rootURL}/roojs1/css/roojs.css" />  
15         <link rel="stylesheet" type="text/css" href="{rootURL}/roojs1/css/xtheme-slate.css" />  
16         
17         {outputCSSIncludes()}
18                      
19    
20     <style>
21      #loading-logo-bottom,
22      #loading-logo-center,
23      #loading-logo-tile,
24      #loading-logo-tile-top
25      {
26         width:100%;
27         height:100%;
28         position:absolute;
29        
30         left:0;
31         top:0;
32         background-position:50% 50%;
33     }
34     
35     /* background-tile.jpg */
36     #loading-logo-tile {
37          z-index:1000;
38     }
39     
40     /* background.jpg */
41     #loading-logo-center
42     {
43         background-position:50% 0;
44         background-repeat:no-repeat; 
45         z-index:1001;
46     }
47     /* background-tile-top.jpg */
48     #loading-logo-tile-top
49     {
50         background-position:50% 0;
51         z-index:1002;
52         background-repeat:repeat-x; 
53         
54     }
55     /* background_bottom_logo.gif */
56     #loading-logo-bottom
57     {
58         background-position:50% 100%;
59         background-repeat:no-repeat; 
60         z-index:1003;
61     }
62     </style>
63      </head>
64     <body class="ytheme-gray">  
65          <!--background:#F8ECB2;-->   
66         <div flexy:if="hasBg(#background-tile.jpg#)" 
67             id="loading-logo-tile"
68             style="background-image:url({rootURL}/Pman/{appNameShort}/templates/images/background-tile.jpg);"></div>
69         
70         <div flexy:if="hasBg(#background-tile-top.jpg#)"  
71             id="loading-logo-tile-top"
72             style="background-image:url({rootURL}/Pman/{appNameShort}/templates/images/background-tile-top.jpg);"></div>
73         
74         <div flexy:if="hasBg(#background.jpg#)" 
75             id="loading-logo-center"
76             style="background-image:url({rootURL}/Pman/{appNameShort}/templates/images/background.jpg);"></div>
77         
78         <div flexy:if="hasBg(#background_bottom_logo.gif#)" 
79             id="loading-logo-bottom"
80             style="background-image:url({rootURL}/Pman/{appNameShort}/templates/images/background_bottom_logo.gif);"></div>
81         
82         
83         <div id="loading-mask"
84             style="width:1;height:1;position:absolute;z-index:1000;left:0;top:0;">&#160;</div>
85         <div id="loading">
86             <div class="loading-indicator" id="loading-text">&#160;Loading...(This may take a few seconds)</div>
87         </div>
88        
89         
90 {if:bootLoader.Pman[roo_debug]}                  
91         <script type="text/javascript" src="{rootURL}/roojs1/roojs-debug.js"></script>
92         <script type="text/javascript" src="{rootURL}/roojs1/ux/Iscroll.js"></script>  
93          
94 {else:}                  
95         <script type="text/javascript" src="{rootURL}/roojs1/roojs-all.js"></script>
96                  
97 {end:}                  
98         <flexy:toJavascript 
99             baseURL="baseURL" 
100             rootURL="rootURL" 
101             isDev="isDev"
102             serverName="serverName" 
103             appLang="lang"
104             appName="appName"
105             appNameShort="appNameShort"
106             appLogo="appLogo"
107             appOwnerCompanyId="company.id"
108              
109             AppLinkError="linkFail"
110             AppTrackOnLoad="onloadTrack"
111             
112             showNewPass="showNewPass"
113             allowSignup="allowSignup"
114             
115             logoPrefix="logoPrefix"
116             
117             AppModules="appModules"
118             AppVersion="appVersion"
119             appDisabled="appDisabled"
120             uiConfig="Pman.uiConfig"
121         >
122         
123         <script type="text/javascript">
124             Ext=Roo; // bc
125             Roo.BLANK_IMAGE_URL =  rootURL + "/roojs1/images/gray/s.gif";
126             Roo.rootURL = rootURL +'/roojs1/';
127         </script>
128         
129         {outputJavascriptIncludes()}
130              
131         <!-- used by App.php in Builder - to enable loading of code/applicaiton on the fly -->
132         {foreach:builderJs,js}
133             <script type="text/javascript" src="{baseURL}/Builder/Code/{js}.js"></script>    
134         {end:} 
135            
136            
137            
138            
139         <!-- finally language.. -->   
140         <script type="text/javascript" src="{baseURL}/Core/I18n.js"></script>
141                
142                
143         <script type="text/javascript">
144             Pman.debug = true;
145         </script>
146                
147                
148         <div id="title" class="x-layout-inactive-content logoblock">
149             <img id="headerInformation-company-logo" 
150                 src="{rootURL}/Pman/{appNameShort}/templates/images/logo_small.gif" height="25"/>
151             <div id="headerInformation">Some other details</div>
152             <img id="headerInformation-applogo" 
153                 src="{rootURL}/Pman/{appNameShort}/templates/images/logo_small.gif" height="25"/>
154             
155         </div>
156          
157           
158            
159         <div id="mainlist" class="x-layout-inactive-content">
160             <p>main body</p>
161                 
162         </div>
163           
164     </body>
165 </html>
166