-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.ascx
135 lines (128 loc) · 7.13 KB
/
Settings.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<%@ Control Language="C#" AutoEventWireup="false" Inherits="DevPCI.Modules.DDT_Org_Chart.Settings" Codebehind="Settings.ascx.cs" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/labelcontrol.ascx" %>
<style type="text/css">
.dnnFormItem textarea {width:50px;}
.dnnFormItem input[type="text"], .dnnFormItem textarea {
min-width: 50px;}
.dnnFormMessage {
display: block;
}
</style>
<div class="dnnForm">
<asp:Label ID="LblIntro" runat="server" CssClass="dnnFormMessage dnnFormInfo" ResourceKey="Intro" />
<fieldset>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="ModeRadioButtons" ResourceKey="Mode" Text="Mode" suffix=":"/>
<asp:RadioButtonList runat="server" ID="rbMode"
RepeatDirection="Horizontal" CssClass="dnnFormRadioButtons"
onselectedindexchanged="rbMode_SelectedIndexChanged" AutoPostBack="True" CausesValidation="true" ValidationGroup="Group1">
<asp:ListItem Text="Simple" Value="Simple" Selected="True" ResourceKey="Simple"/>
<asp:ListItem Text="With Group" Value="WithGroup" ResourceKey="WithGroup"/>
</asp:RadioButtonList>
<script type="text/javascript">
function ConfirmChangeMode(source, arguments) {
arguments.IsValid = confirm("Are you sure?");
}
</script>
<asp:CustomValidator ID="ConfirmChangeModeValidator" runat="server"
ClientValidationFunction="ConfirmChangeMode" Display="Dynamic" ValidationGroup="Group1" />
</div>
<div class="dnnFormItem">
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="SkinDropDownList" ResourceKey="Skin" Text="Skin" suffix=":"/>
<asp:DropDownList ID="ddlSkin" runat="server">
<asp:ListItem>Black</asp:ListItem>
<asp:ListItem>BlackMetroTouch</asp:ListItem>
<asp:ListItem Selected="True">Default</asp:ListItem>
<asp:ListItem>Glow</asp:ListItem>
<asp:ListItem>Metro</asp:ListItem>
<asp:ListItem>MetroTouch</asp:ListItem>
<asp:ListItem>Office2007</asp:ListItem>
<asp:ListItem>Office2010Black</asp:ListItem>
<asp:ListItem>Office2010Blue</asp:ListItem>
<asp:ListItem>Office2010Silver</asp:ListItem>
<asp:ListItem>Outlook</asp:ListItem>
<asp:ListItem>Silk</asp:ListItem>
<asp:ListItem>Telerik</asp:ListItem>
<asp:ListItem>Vista</asp:ListItem>
<asp:ListItem>Web20</asp:ListItem>
<asp:ListItem>WebBlue</asp:ListItem>
<asp:ListItem>Windows7</asp:ListItem>
</asp:DropDownList>
</div>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="EnableCollapsingCB" ResourceKey="EnableCollapsing" Text="EnableCollapsing" suffix=":"/>
<asp:CheckBox ID="cbEnableCollapsing" runat="server" />
</div>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="DisableDefaultImageCB" ResourceKey="DisableDefaultImage" Text="DisableDefaultImage" suffix=":"/>
<asp:CheckBox ID="cbDisableDefaultImage" runat="server" />
</div>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="DefaultImageUrl" ResourceKey="DefaultImageUrl" Text="Default Image Url" suffix=":"/>
<asp:TextBox ID="tbDefaultImageUrl" runat="server" ></asp:TextBox>
</div>
<%-- <div class="dnnFormItem">
<dnn:Label runat="server" ControlName="ExpandCollapseAllNodes" ResourceKey="ExpandCollapseAllNodes" Text="Expand / Collapse All Nodes" suffix=":"/>
<asp:RadioButtonList runat="server" ID="ExpandCollapseAllNodesRB"
RepeatDirection="Horizontal" CssClass="dnnFormRadioButtons">
<asp:ListItem Text="None" Selected="True"/>
<asp:ListItem Text="Expand All Nodes" />
<asp:ListItem Text="Collapse All Nodes" />
</asp:RadioButtonList>
</div>
--%> <div class="dnnFormItem"><dnn:Label runat="server" ControlName="ItemLTitleTxt" ResourceKey="ItemTitle" Text="Item Title" suffix=":"/>
<asp:TextBox ID="TextBoxItemTitle" runat="server" ></asp:TextBox>
</div>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="EnableDrillDownCB" ResourceKey="EnableDrillDown" Text="EnableDrillDown" suffix=":"/>
<asp:CheckBox ID="cbEnableDrillDown" runat="server" />
</div>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="ShowExpandCollapseNodeButton" ResourceKey="ShowExpandCollapseNodeButton" Text="Show Expand/Collapse Node Button" suffix=":"/>
<asp:CheckBox ID="cbShowExpandCollapseNodeButton" runat="server" />
</div>
<asp:PlaceHolder ID="PHGroup" runat="server"> <div class="dnnFormItem"><dnn:Label runat="server" ControlName="NodeLabelTxt" ResourceKey="NodeLabel" Text="Node Label" suffix=":"/>
<asp:TextBox ID="TextBoxNodeLabel" runat="server" ></asp:TextBox>
</div>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="GroupColumnCountTxt" ResourceKey="GroupColumnCount" Text="GroupColumnCount" suffix=":"/>
<asp:TextBox ID="tbGroupColumnCount" runat="server" Columns="3" class="CountTextArea" ></asp:TextBox>
</div>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="EnableGroupCollapsingCB" ResourceKey="EnableGroupCollapsing" Text="EnableGroupCollapsing" suffix=":"/>
<asp:CheckBox ID="cbEnableGroupCollapsing" runat="server" />
</div>
<%-- <div class="dnnFormItem">
<dnn:Label runat="server" ControlName="ExpandCollapseAllGroups" ResourceKey="ExpandCollapseAllGroups" Text="Expand / Collapse All Groups" suffix=":"/>
<asp:RadioButtonList runat="server" ID="ExpandCollapseAllGroupsRB"
RepeatDirection="Horizontal" CssClass="dnnFormRadioButtons">
<asp:ListItem Text="None" Selected="True"/>
<asp:ListItem Text="Expand All Groups" />
<asp:ListItem Text="Collapse All Groups" />
</asp:RadioButtonList>
</div>
--%>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="ShowExpandCollapseGroupButton" ResourceKey="ShowExpandCollapseGroupButton" Text="Show Expand/Collapse Group Button" suffix=":"/>
<asp:CheckBox ID="cbShowExpandCollapseGroupButton" runat="server" />
</div>
</asp:PlaceHolder>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="LoadOnDemandDDL" ResourceKey="LoadOnDemand" Text="LoadOnDemand" suffix=":"/>
<asp:DropDownList ID="ddlLoadOnDemand" runat="server">
<asp:ListItem Selected="True">None</asp:ListItem>
<asp:ListItem>Nodes</asp:ListItem>
<asp:ListItem>Groups</asp:ListItem>
<asp:ListItem>NodesAndGroups</asp:ListItem>
</asp:DropDownList>
</div>
<div class="dnnFormItem">
<dnn:Label runat="server" ControlName="lblReductSize25" ResourceKey="ReductSize25" Text="Reduct Size of 25 %" suffix=":"/>
<asp:CheckBox ID="cbReductSize25" runat="server" />
</div>
</div>
</fieldset>
</div>
<asp:Label ID="lblPortalID" runat="server" Text="Label" Visible="false"></asp:Label>
<asp:Label ID="lblModuleID" runat="server" Text="Label" Visible="false"></asp:Label>