complete password protected servers

closes #2290
This commit is contained in:
Matthias Mailänder
2013-10-05 13:02:47 +02:00
parent a6cdcea414
commit b618fc7cc2
17 changed files with 229 additions and 81 deletions

View File

@@ -2,37 +2,37 @@ Container@CREATESERVER_PANEL:
Logic:ServerCreationLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 260)/2
Width:604
Height:295
Width:521
Height:250
Children:
Label@TITLE:
Text:Create Server
Width:604
Width:PARENT_RIGHT
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Background@bg:
Width:604
Height:260
Width:PARENT_RIGHT
Height:215
Background:panel-black
Children:
Background@MAP_BG:
X:PARENT_RIGHT-WIDTH-15
Y:15
Width:194
Height:194
Width:162
Height:162
Background:panel-gray
Children:
MapPreview@MAP_PREVIEW:
X:1
Y:1
Width:192
Height:192
Width:160
Height:160
Label@MAP_NAME:
X:PARENT_RIGHT-WIDTH-15
Y:220
Width:194
Y:PARENT_BOTTOM - 33
Width:162
Height:25
Align:Center
Font:Bold
@@ -46,67 +46,87 @@ Container@CREATESERVER_PANEL:
TextField@SERVER_NAME:
X:110
Y:15
Width:275
Width:215
MaxLength:50
Height:25
Text:My OpenRA Server
Label@PASSWORD_LABEL:
X:10
Y:49
Width:95
Height:25
Align:Right
Text:Password:
PasswordField@PASSWORD:
X:110
Y:50
Width:145
MaxLength:20
Height:25
Label@AFTER_PASSWORD_LABEL:
X:265
Y:49
Width:95
Height:25
Align:Left
Text:(optional)
Label@LISTEN_PORT_LABEL:
X:15
Y:119
Y:84
Width:90
Height:25
Align: Right
Text:Port:
TextField@LISTEN_PORT:
X:110
Y:120
Y:85
Width:50
MaxLength:5
Height:25
Text:1234
Label@EXTERNAL_PORT_LABEL:
X:180
Y:84
Width:90
Height:25
Align:Right
Text:External Port:
TextField@EXTERNAL_PORT:
X:275
Y:85
Width:50
MaxLength:5
Height:25
Text:1234
Checkbox@ADVERTISE_CHECKBOX:
X:110
Y:155
Y:135
Width:150
Height:20
Text:Advertise Online
Checkbox@UPNP_CHECKBOX:
X:110
Y:180
Y:165
Width:300
Height:20
Text:Automatic port forwarding
Label@EXTERNAL_PORT_LABEL:
X:15
Y:219
Width:90
Height:25
Align:Right
Text:External Port:
TextField@EXTERNAL_PORT:
X:110
Y:220
Width:50
MaxLength:5
Height:25
Text:1234
Button@BACK_BUTTON:
Key:escape
X:0
Y:259
Y:214
Width:140
Height:35
Text:Back
Button@MAP_BUTTON:
X:314
Y:259
X:231
Y:214
Width:140
Height:35
Text:Choose Map
Button@CREATE_BUTTON:
Key:return
X:464
Y:259
X:381
Y:214
Width:140
Height:35
Text:Create