summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/samples/day3/blog
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog-tutorial/samples/day3/blog')
-rw-r--r--demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl14
1 files changed, 8 insertions, 6 deletions
diff --git a/demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl b/demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl
index 89538ab2..a50f78fb 100644
--- a/demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl
+++ b/demos/blog-tutorial/samples/day3/blog/protected/layouts/MainLayout.tpl
@@ -2,28 +2,30 @@
<com:THead />
<body>
<com:TForm>
-
+<div id="page">
+
<div id="header">
<h1>My PRADO Blog</h1>
</div>
-
+
<div id="main">
<com:TContentPlaceHolder ID="Main" />
</div>
-
+
<div id="footer">
-<com:THyperLink Text="Login"
+<com:THyperLink Text="Login"
NavigateUrl="<%= $this->Service->constructUrl('users.LoginUser') %>"
Visible="<%= $this->User->IsGuest %>" />
-<com:TLinkButton Text="Logout"
+<com:TLinkButton Text="Logout"
OnClick="logoutButtonClicked"
Visible="<%= !$this->User->IsGuest %>" />
<br/>
<%= PRADO::poweredByPrado() %>
</div>
-
+
+</div>
</com:TForm>
</body>
</html> \ No newline at end of file