summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/MainLayout.tpl
blob: c1e23f45556ebf00695c95f20ae87ca2ac6593b3 (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
41
42
43
44
<!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>
</div>

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

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

</com:TForm>

<div class="copyrights">
Copyright &copy; 2005-2015 <a href="https://github.com/pradosoft">The PRADO Group</a>.
<span class="note"><a href="http://www.famfamfam.com/lab/icons/silk/">Silk icons</a> by Mark James.</span>
</div>

</body>
</html>