forked from 2sic/2sxc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SettingsWrapper.ascx
35 lines (34 loc) · 2.21 KB
/
SettingsWrapper.ascx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<%@ Control Language="C#" AutoEventWireup="true" Inherits="ToSic.SexyContent.SettingsWrapper" Codebehind="SettingsWrapper.ascx.cs" %>
<%@ Register TagPrefix="SexyContent" TagName="SettingsControl" Src="Settings.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<div class="dnnForm">
<h2 class="dnnFormSectionHead" runat="server" id="dnnSitePanelSexyContentSettings">
<a href="#"><asp:Label runat="server" ID="lblSettingsHeading" ResourceKey="lblSettingsHeading"></asp:Label></a></h2>
<fieldset>
<div class="dnnFormItem" runat="server" id="pnlTemplate">
<dnn:Label ID="lblTemplate" runat="server" ControlName="ddlTemplate" Suffix=":"></dnn:Label>
<asp:DropDownList runat="server" ID="ddlTemplate" DataTextField="Name" DataValueField="TemplateID"
AppendDataBoundItems="true">
<asp:ListItem ResourceKey="ddlTemplateDefaultItem" Value="-1"></asp:ListItem>
</asp:DropDownList>
</div>
<div class="dnnFormItem">
<dnn:Label ID="lblContentType" runat="server" ControlName="lblContentType" Suffix=":" />
<asp:Label ID="lblContentTypeDefaultText" runat="server" ResourceKey="lblContentTypeDefaultText"></asp:Label>
<asp:Label ID="lblContentTypeText" Visible="false" runat="server"></asp:Label>
</div>
<div class="dnnFormItem" runat="server" id="pnlEntities">
<dnn:Label ID="lblEntityID" runat="server" ControlName="EntityID" Suffix=":" />
<asp:DropDownList ID="ddlEntities" runat="server" DataTextField="EntityTitle" DataValueField="EntityID"
AppendDataBoundItems="true">
<asp:ListItem ResourceKey="ddlEntitiesDefaultItem" Value="-1"></asp:ListItem>
</asp:DropDownList>
</div>
</fieldset>
<ul class="dnnActions">
<li>
<asp:LinkButton runat="server" ID="btnSave" class="dnnPrimaryAction" onclick="btnSave_Click" ResourceKey="btnSave"></asp:LinkButton>
<asp:LinkButton runat="server" ID="btnCancel" class="dnnSecondaryAction" onclick="btnCancel_Click" ResourceKey="btnCancel"></asp:LinkButton>
</li>
</ul>
</div>