Master:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="AppMaster.master.cs"
Inherits="_AppMaster" EnableTheming="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="
http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head runat="server">
<title>Three-column, fixed width CSS layout template</title>
<!--[if IE 5]>
<style type="text/css">
.sidebarcontainer td, .sidebarcontainer tr {font-size:smaller;}
#subnav a {height:1em;}
body td, body th {font-size:0.78em;}
</style>
<![endif]-->
<!--[if IE 7]>
<style type="text/css">
#rightcolumn{margin-right: -152px;}
</style>
<![endif]-->
<link rel="SHORTCUT ICON" href="Images/favicon_2.ICO" />
<link href="App_Themes/Sand/Default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="mainForm" runat="server">
<div id="wrapper">
<div id="header">
<div>
<asp:HyperLink ID="HyperLink1" runat="server" ToolTip="Return to homepage" NavigateUrl="~/Default.aspx">
<asp:Image runat="server" ID="imgLogo" SkinID="logoImage" AlternateText="banner" />
</asp:HyperLink>
</div>
<%-- %><div id="logo">
<asp:HyperLink ID="lnkHome" runat="server" ToolTip="Return to homepage" NavigateUrl="~/Default.aspx">
<asp:Image runat="server" ID="imgLogo" SkinID="logoImage" AlternateText="company logo" />
</asp:HyperLink>
</div>
<div id="banner">
<%-- Put a banner here if you wish. --%>
<%-- <asp:HyperLink ID="HyperLink1" runat="server" ToolTip="Return to homepage" NavigateUrl="~/Default.aspx">
<img width="100%" height="100%" alt="logo" src="Images/logo_2f.jpg" />
</asp:HyperLink>
</div> --%>
<%-- <div id="search">
<asp:Label runat="server" ID="lblSearch" AssociatedControlID="txtSearch" style="display:none;" Text="Search:" />
<asp:TextBox ID="txtSearch" SkinID="searchBox" runat="server" AccessKey="s" TabIndex="50"></asp:TextBox>
<asp:Button ID="btnSearch" SkinID="searchButton" runat="server" AccessKey="c" Text="Search" TabIndex="51" />
</div> --%>
</div>
<div id="mainnav">
<%-- <asp:SiteMapDataSource runat="server" ID="sitemap" />
<asp:Menu DataSourceID="sitemap" ID="mainmenu" SkinID="mainmenu" runat="server" OnMenuItemDataBound="MainMenu_MenuItemDataBound" />--%>
</div>
<div id="contentwrapper">
<div id="floatwrapper">
<div id="centercolumn">
<%-- <div id="breadcrumbs">
<asp:SiteMapPath runat="server" ID="smPath" />
</div>--%>
<div class="copy">
<asp:ContentPlaceHolder runat="server" ID="ContentPlaceHolderHeading">
<%-- Main page content goes here. Create a single
content box by wrapping everything in one
<div class="container"> or create multiple boxes
as needed. See the sample homepage for a
demonstration.
This is the general structure:
<div class="container">
<h1>Headline</h1>
<p class="teaser">Teaser text</p>
<p>Regular text and other markup.</p>
</div>
--%>
</asp:ContentPlaceHolder>
</div>
<div id="Div1">
<asp:ContentPlaceHolder runat="server" ID="ContentPlaceHolderTop">
<%-- Main page content goes here. Create a single
content box by wrapping everything in one
<div class="container"> or create multiple boxes
as needed. See the sample homepage for a
demonstration.
This is the general structure:
<div class="container">
<h1>Headline</h1>
<p class="teaser">Teaser text</p>
<p>Regular text and other markup.</p>
</div>
--%>
</asp:ContentPlaceHolder>
</div>
<div id="Div2">
<asp:ContentPlaceHolder runat="server" ID="ContentPlaceHolderMain">
<%-- Main page content goes here. Create a single
content box by wrapping everything in one
<div class="container"> or create multiple boxes
as needed. See the sample homepage for a
demonstration.
This is the general structure:
<div class="container">
<h1>Headline</h1>
<p class="teaser">Teaser text</p>
<p>Regular text and other markup.</p>
</div>
--%>
</asp:ContentPlaceHolder>
</div>
<div id="Div3">
<asp:ContentPlaceHolder runat="server" ID="ContentPlaceHolderAdmin">
<%-- Main page content goes here. Create a single
content box by wrapping everything in one
<div class="container"> or create multiple boxes
as needed. See the sample homepage for a
demonstration.
This is the general structure:
<div class="container">
<h1>Headline</h1>
<p class="teaser">Teaser text</p>
<p>Regular text and other markup.</p>
</div>
--%>
</asp:ContentPlaceHolder>
</div>
</div>
<div id="leftcolumn">
<div id="leftcolcontainer">
<%-- <div id="subnav1">
<asp:SiteMapDataSource runat="server" ID="subnavSitemap" StartingNodeOffset="1" StartFromCurrentNode="false"
ShowStartingNode="false" />
<asp:Menu runat="server" ID="subMenu" SkinID="subMenu" DataSourceID="subnavSitemap" />
</div> --%>
<asp:ContentPlaceHolder ID="ContentPlaceHolderLeftColumnAnonymous" runat="server">
<%-- Left sidebar content placeholder. Again the
individual boxes are created by using a <div> and
assigning a class to it: 'sidebarcontainer'.
Follow the structure of the sample content below:
<div class="sidebarcontainer">
<h4>Headline</h4>
<p>Content</p>
</div>
--%>
<div class="sidebarcontainer">
Login panel
</div>
<%-- LOGIN TEMPLATE --%>
<div class="sidebarcontainer">
<asp:Login ID="Login1" runat="server" Width="120px">
<LayoutTemplate>
<h4>
Log In</h4>
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName"><u>B</u>ruger navn:</asp:Label><br />
<asp:TextBox ID="UserName" runat="server" AccessKey="u" TabIndex="60" Columns="15" />
<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator><br />
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password"><u>K</u>odeord:</asp:Label><br />
<asp:TextBox ID="Password" runat="server" TextMode="Password" Columns="15" AccessKey="p"
TabIndex="61" />
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator><br />
<asp:CheckBox ID="RememberMe" runat="server" Text="Husk mig næste gang." TabIndex="62"
AccessKey="r" /><br />
<span style="color: Red">
<asp:Literal ID="FailureText" runat="server" EnableViewState="False" />
</span>
<div style="text-align: right">
<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" AccessKey="l"
TabIndex="63" ValidationGroup="Login1" />
</div>
</LayoutTemplate>
</asp:Login>
</div>
<div class="sidebarcontainer">
<%-- <p>
<a href="Login.aspx">Login</a></p>--%>
<p>
<a href="CreateNewWizard.aspx">Opret ny bruger</a></p>
<p>
<a href="RecoverPassword.aspx">Få tilsendt nyt password</a></p>
</div>
</asp:ContentPlaceHolder>
<asp:ContentPlaceHolder ID="ContentPlaceHolderLeftColumnLoggedIn" runat="server">
<%-- Left sidebar content placeholder. Again the
individual boxes are created by using a <div> and
assigning a class to it: 'sidebarcontainer'.
Follow the structure of the sample content below:
<div class="sidebarcontainer">
<h4>Headline</h4>
<p>Content</p>
</div>
--%>
<div class="sidebarcontainer">
Bruger panel
</div>
<div style="text-align: center" class="sidebarcontainer">
<p>
<asp:LoginStatus ID="LoginStatus2" runat="server" /></p>
<p>
<a href="ChangePassword.aspx">Skift password</a></p>
<p>
<a href="UpdateProfile.aspx">Opdater profil</a></p>
</div>
</asp:ContentPlaceHolder>
<span>
<br />
</span>
<div id="subnav">
<asp:SiteMapDataSource runat="server" ID="subnavSitemap" StartingNodeOffset="1" StartFromCurrentNode="false"
ShowStartingNode="false" />
<asp:Menu runat="server" ID="subMenu" SkinID="subMenu" DataSourceID="subnavSitemap" />
</div>
<asp:ContentPlaceHolder ID="ContentPlaceHolderLeftColumnAdmin" runat="server">
<div class="sidebarcontainer">
Administrator panel
</div>
<div class="sidebarcontainer">
</div>
<div class="sidebarcontainer">
</div>
</asp:ContentPlaceHolder>
<asp:ContentPlaceHolder ID="ContentPlaceHolderLeftColumnExtra" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
</div>
<div id="rightcolumn">
<div id="rightcolcontainer">
<asp:ContentPlaceHolder ID="ContentPlaceHolderRightColumnLogo" runat="server">
<%-- Right sidebar content placeholder. Again the
individual boxes are created by using a <div> and
assigning a class to it: 'sidebarcontainer'.
Follow the structure of the sample content below:
<div class="sidebarcontainer">
<h4>Headline</h4>
<p>Content</p>
</div>
--%>
<div class="sidebarcontainer">
<p>
<!-- Newsbox -->
</p>
<p>
</p>
</div>
<div class="sidebarcontainer">
<p>
</p>
</div>
<div>
<p style="text-align: center">
<asp:Image ID="ImageASPNET20c" runat="server" ImageUrl="~/Images/pow_by_aspnet2.0c.gif"
AlternateText="Powered by ASP.net 2.0" />
</p>
</div>
</asp:ContentPlaceHolder>
</div>
</div>
<div id="footer">
<%-- <a href="java script:;" title="Sample link # 1">Link 1</a> <a
href="java script:;" title="Sample link # 2">Link 2</a> <a href="java script:;" title="Sample link # 3">
Link 3</a>--%>
</div>
</div>
</div>
</form>
</body>
</html>