Move to sane directory structure. Don't make 'cms' the top level of the silverstripe...
[silverstripe-elijah.git] / templates / LeftAndMain.ss
blob26d34cee22919e3f08e56f896efdef769a0d7c87
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
3 <head>
4 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
5 <% base_tag %>
6 <title>$ApplicationName</title>
8 <link rel="stylesheet" type="text/css" href="cms/css/typography.css" />
9 <link rel="stylesheet" type="text/css" href="cms/css/layout.css" />
10 <link rel="stylesheet" type="text/css" href="cms/css/cms_left.css" />
11 <link rel="stylesheet" type="text/css" href="cms/css/cms_right.css" />
12 </head>
14 <body class="stillLoading">
15         <div id="Loading" style="background: #FFF url(cms/images/loading.gif) 50% 50% no-repeat; position: absolute;z-index: 100000;height: 100%;width: 100%;margin: 0;padding: 0;z-index: 100000;position: absolute;"><% _t('LOADING','Loading...',PR_HIGH); %></div>
17         <div id="top">
18                 <div id="Logo" style="$LogoStyle">
19                         <% if ApplicationLogoText %>
20                         <a href="http://www.silverstripe.com/">$ApplicationLogoText</a><br />
21                         <% end_if %>
22                 </div>
23                 <ul id="MainMenu">
24                 <% control MainMenu %>
25                         <li class="$LinkingMode" id="Menu-$Code"><a href="$Link">$Title</a></li>
26                 <% end_control %>
27                 </ul>
28         
29         </div><div id="left" style="float:left">
30                 $Left
31         
32         </div>
33         <div id="separator" style="float:left">
34                 &nbsp;
35         </div>
36         <div class="right" id="right">
37                 $Right
38         </div>
40         <% if RightBottom %>
41         <div class="right" id="rightbottom">
42                 $RightBottom
43         </div>
44         <% end_if %>
45         
46         <div id="bottom">
47                 <div class="holder">
48                 <div id="logInStatus">
49                         <a href="http://www.silverstripe.com" title="<% _t('SSWEB','Silverstripe Website'); %>">Silverstripe CMS</a>&nbsp;-&nbsp;
50                         <abbr style="border-style: none" title="<% _t('APPVERSIONTEXT1',"This is the"); %> $ApplicationName <% _t('APPVERSIONTEXT2',"version that you are currently running, technically it's the CVS branch"); %>">$CMSVersion</abbr> &nbsp; &nbsp; &nbsp; 
51                         <% control CurrentMember %>
52                         <% _t('LOGGEDINAS','Logged in as'); %> $FirstName $Surname - <a href="Security/logout"><% _t('LOGOUT','log out'); %></a>
53                 <% end_control %>
54                 </div>
56                 <div id="switchView" class="bottomTabs">
57                         <% if class = CMSMain %>
58                         <div class="blank"> <% _t('VIEWPAGEIN','Page view:'); %> </div>
59                         <% else %>
60                         <div class="blank"> <% _t('SWITCHTO','Switch to:'); %> </div>
61                         <% end_if %>
62                         <a class="current"><% _t('EDIT','Edit'); %></a>
63                         <a id="viewStageSite" href="home/?stage=Stage" style="left : -1px;"><% _t('DRAFTS','Draft Site'); %></a>
64                         <div class="blank" style="width:1em;"> </div>
65                         <a id="viewLiveSite" href="home/?stage=Live" style="left : -3px;"><% _t('PUBLIS','Published Site'); %></a>
66                         <a style="display: none;left : -5px;" id="viewArchivedSite" href="home/"><% _t('ARCHS','Archived Site'); %></a>
67                 </div>
68                 
69                 </div>
70         </div>
71         <script type="text/javascript">Behaviour.addLoader(hideLoading)</script>
72 </body>
73 </html>