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?ts={version}"></script>
92         <script type="text/javascript" src="{rootURL}/roojs1/roojs-calendar-debug.js?ts={version}"></script>
93         <!-- <script type="text/javascript" src="{rootURL}/roojs1/ux/Iscroll.js"></script>  -->
94          
95 {else:}                  
96         <script type="text/javascript" src="{rootURL}/roojs1/roojs-all.js?ts={version}"></script>
97                  
98 {end:}                  
99         <flexy:toJSON 
100             baseURL="baseURL" 
101             rootURL="rootURL" 
102             isDev="isDev"
103             serverName="serverName" 
104             appLang="lang"
105             appName="appName"
106             appNameShort="appNameShort"
107             appLogo="appLogo"
108             appOwnerCompanyId="company.id"
109              
110             AppLinkError="linkFail"
111             AppTrackOnLoad="onloadTrack"
112             
113             showNewPass="showNewPass"
114             allowSignup="allowSignup"
115             
116             logoPrefix="logoPrefix"
117             
118             AppModules="appModules"
119             AppVersion="appVersion"
120             appDisabled="appDisabled"
121             uiConfig="uiConfig"
122         ></flexy:toJSON>
123         
124         <script type="text/javascript">
125             Ext=Roo; // bc
126             Roo.BLANK_IMAGE_URL =  rootURL + "/roojs1/images/gray/s.gif";
127             Roo.rootURL = rootURL +'/roojs1/';
128         </script>
129         
130         {outputJavascriptIncludes()}
131              
132         <!-- used by App.php in Builder - to enable loading of code/applicaiton on the fly -->
133         {foreach:builderJs,js}
134             <script type="text/javascript" src="{baseURL}/Builder/Code/{js}.js"></script>    
135         {end:} 
136            
137            
138            
139            
140         <!-- finally language.. -->   
141         <script type="text/javascript" src="{baseURL}/Core/I18n.js"></script>
142         
143                
144         <script type="text/javascript">
145             Pman.debug = true;
146         </script>
147                
148                
149         <div id="title" class="x-layout-inactive-content logoblock">
150             <img id="headerInformation-company-logo" 
151                 src="{rootURL}/Pman/{appNameShort}/templates/images/logo_small.gif" height="25"/>
152             <div id="headerInformation">Some other details</div>
153             <img id="headerInformation-applogo" 
154                 src="{rootURL}/Pman/{appNameShort}/templates/images/logo_small.gif" height="25"/>
155             
156         </div>
157          
158           
159            
160         <div id="mainlist" class="x-layout-inactive-content">
161             <p>main body</p>
162                 
163         </div>
164           
165     </body>
166 </html>
167