Skip to content

Commit 4d4b9bb

Browse files
committed
Config Page style changes
1 parent 2e95d01 commit 4d4b9bb

1 file changed

Lines changed: 12 additions & 34 deletions

File tree

PivotSubscriptions/UI/ConfigurationPage.cls

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,18 @@ XData contentPane [ XMLNamespace = "http://www.intersystems.com/zen" ]
1212
{
1313
<pane xmlns="http://www.intersystems.com/zen">
1414
<hgroup valign="top" >
15-
<spacer width="20" />
16-
<vgroup valign="top" >
17-
<spacer height="20" />
18-
19-
<label id="AdminEmailLabel" label="" />
20-
<text id="AdminEmailText" clientType = "string" />
21-
22-
<spacer height="16" />
23-
24-
<label id="HTTPLabel" label="" />
25-
<radioSet id="HTTPButton"
26-
displayList="HTTP, HTTPs"
27-
valueList="http://,https://" />
28-
29-
<spacer height="16" />
30-
31-
<label id="ServerLabel" label="" />
32-
<text id="ServerText" clientType = "string" />
33-
34-
<spacer height="16" />
35-
36-
<label id="PortLabel" label="" />
37-
<text id="PortText" clientType = "string" />
38-
39-
<spacer height="16" />
40-
41-
<button id="SaveButton" caption="Save" onclick="zenPage.ButtonClick();" />
42-
43-
</vgroup>
15+
<spacer width="20" />
16+
<vgroup cellStyle="padding:2px 0px 6px 2px" enclosingStyle="padding-left:10px;padding-top:20px;" labelPosition="left">
17+
<text id="AdminEmailText" label="Send error email notification to" size="25" />
18+
<label label="Server Link Configuration" labelClass="sectionCaption" containerStyle="padding-top:5px;padding-bottom:5px;" />
19+
<radioSet id="HTTPButton" label="HTTP or HTTPS?" displayList="HTTP, HTTPs" valueList="http://,https://" />
20+
<text id="ServerText" label="Server" size="25" />
21+
<text id="PortText" label="Port Number" size="25" />
22+
</vgroup>
23+
</hgroup>
24+
<hgroup>
25+
<spacer width="30" />
26+
<button id="SaveButton" caption="Save" onclick="zenPage.ButtonClick();" />
4427
</hgroup>
4528
</pane>
4629
}
@@ -65,11 +48,6 @@ Method %OnGetProductName() As %String [ Internal ]
6548

6649
Method %OnAfterCreatePage() As %Status
6750
{
68-
Set ..%GetComponentById("AdminEmailLabel").value=$$$TextJS("Send error email notification to:")
69-
Set ..%GetComponentById("HTTPLabel").value=$$$TextJS("HTTP or HTTPS?")
70-
Set ..%GetComponentById("ServerLabel").value=$$$TextJS("Server")
71-
Set ..%GetComponentById("PortLabel").value=$$$TextJS("Port Number")
72-
7351
// check if each global is instantiated and set only if they aren't empty or nonexsistent
7452
If $G(^PivotSubscriptions.Settings("AdminEmail"))'="" {
7553
Set ..%GetComponentById("AdminEmailText").value=^PivotSubscriptions.Settings("AdminEmail")

0 commit comments

Comments
 (0)