summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/MainLayout.tpl
blob: 915b2fb342644c2e2e0b8c3b1b938d2bf3170a2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<com:THead Title="My Company - Time Tracker - Log" />
<body>

<com:TForm>

<h1 class="heading">
	<a href="index.php">My Company 
		<span class="subheading">Time Tracker</span>
	</a>
</h1>
<div class="minheading">
<h2 class="login">
	<com:TLabel CssClass="name" Text="Welcome <%= h($this->User->Name) %>" />
	<com:THyperLink 
		Text="Login"
		NavigateUrl=<%= $this->Service->constructUrl('TimeTracker.Login') %>
		Visible=<%= $this->User->getIsGuest() %> />
	<com:THyperLink 
		Text="Logout"
		NavigateUrl=<%= $this->Service->constructUrl('TimeTracker.Logout') %>
		Visible=<%= !$this->User->getIsGuest() %> />
</h2>
<h2 class="help"><a href="?page=Welcome">Help</a></h2>
<h2 class="guide"><a href="?page=Docs.Home">Implementation Guide</a></h2>
</div>

<com:Application.pages.TimeTracker.SiteMap
	Visible=<%= !$this->User->getIsGuest() %> />

<div class="main">
<com:TContentPlaceHolder ID="Main" />
</div>

</com:TForm>

</body>
</html>