Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
- <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
- Home Page
- </asp:Content>
- <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
- <div data-role="page">
- <div data-role="header">
- <h1>Home Page</h1>
- <% if (!Request.IsAuthenticated) { %>
- <a href="<%=Url.Action("LogOn", "Account")%>" data-icon="forward" class="ui-btn-right">Logon</a>
- <% } else { %>
- <a href="<%=Url.Action("LogOff", "Account")%>" data-icon="back" class="ui-btn-right">Log Off</a>
- <% } %>
- </div>
- <div data-role="content">
- <h2><%: View.Message %></h2>
- </div>
- </div>
- </asp:Content>
Add Comment
Please, Sign In to add comment