1 <%@ Page Inherits="Castle.MonoRail.Framework.Views.Aspx.MasterPageBase" %>
\r
2 <%@ Register tagprefix="rails" namespace="Castle.MonoRail.Framework.Views.Aspx" assembly="Castle.MonoRail.Framework" %>
\r
3 <script language="C#" runat="server">
\r
5 public String PageTitle
\r
7 // get { return (this as IAttributeAccessor).GetAttribute("title"); }
\r
8 get { return "Home"; }
\r
12 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
\r
15 <title>PestControl - <%= PageTitle %></title>
\r
16 <link href="../../css/def.css" rel="stylesheet" type="text/css">
\r
19 <div class="titlecontainer">
\r
20 <table border=0 width="98%">
\r
21 <tr class="titlecontainer">
\r
23 PestControl - <%= PageTitle %>
\r
27 if (Context.User != null && Context.User.Identity.IsAuthenticated)
\r
30 <font size=-1>Logged in as <%= Context.User.Identity.Name %></font>
\r
32 else if (!Context.User.Identity.IsAuthenticated)
\r
35 <font size=-1>Not logged on</font>
\r
42 <div class="container" align="center">
\r
43 <rails:Contents id="contents" runat="server" />
\r