<%@ Page Language="C#" AutoEventWireup="true" Inherits="_Default" Codebehind="Default.aspx.cs" UICulture="auto" %>

<!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">
<head runat="server">
	<title><asp:Literal runat="server" text="<%$ Resources:Resource, application_title%>"/></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            Konfigurasjon: <asp:DropDownList runat="server" ID="ddlSelectConfiguration" AutoPostBack="True" OnSelectedIndexChanged="ddlSelectConfiguration_OnSelectedIndexChanged"></asp:DropDownList><br/>
            <asp:LoginView ID="LoginView1" runat="server">
                <LoggedInTemplate>
                    <asp:Literal ID="Literal1" runat="server" text="<%$ Resources:Resource, text_loggedIn%>"/>
                    [<asp:LoginName ID="LoginName1" runat="server"></asp:LoginName>]&nbsp;
                </LoggedInTemplate>
            </asp:LoginView>
            <asp:LoginStatus ID="LoginStatus1" runat="server" OnLoggedOut="LoginStatus1_LoggedOut" /><br />
            <asp:HyperLink ID="lnkTemplates" runat="server" NavigateUrl="Templates.aspx" Text="<%$ Resources:Resource, link_templates%>"/><br />
            <asp:HyperLink ID="lnkCategories" runat="server" NavigateUrl="Categories.aspx" Text="<%$ Resources:Resource, link_categories%>"/><br />
            
            <asp:LoginView ID="LoginView2" runat="server">
                <LoggedInTemplate>
                    <asp:HyperLink ID="lnkInstances" runat="server" NavigateUrl="~/Instances.aspx" Text="<%$ Resources:Resource, link_instances%>"/><br />
                    <asp:LinkButton ID="lnkProfileData" runat="server" OnClick="lnkProfileData_OnClick" Text="<%$ Resources:Resource, link_profiledata%>"/><br />
                    <asp:LinkButton ID="lnkDeleteProfile" runat="server" OnClick="lnkDeleteProfile_OnClick" Text="<%$ Resources:Resource, link_deleteprofile%>"/><br />
                </LoggedInTemplate>
            </asp:LoginView>
        </div>
    </form>
</body>
</html>
