Container@LOCAL_PROFILE_PANEL:
	Logic: LocalProfileLogic
	Width: 270
	Height: 100
	Children:
		Background@PROFILE_HEADER:
			Width: PARENT_RIGHT
			Height: 50
			Background: panel-black
			Children:
				Label@PROFILE_NAME:
					X: 10
					Y: 5
					Width: PARENT_RIGHT - 20
					Height: 25
					Font: MediumBold
				Label@PROFILE_RANK:
					X: 10
					Y: 24
					Width: PARENT_RIGHT - 20
					Height: 25
					Font: TinyBold
				Button@DESTROY_KEY:
					X: PARENT_RIGHT - 70
					Y: 15
					Width: 60
					Height: 20
					Font: TinyBold
					Text: Logout
		Background@BADGES_CONTAINER:
			Width: PARENT_RIGHT
			Y: 48
			Visible: false
			Background: panel-black
		Background@GENERATE_KEYS:
			Width: PARENT_RIGHT
			Height: PARENT_BOTTOM
			Background: panel-black
			Children:
				Label@DESC_A:
					Y: 6
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: Connect to a forum account to identify
				Label@DESC_B:
					Y: 22
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: yourself to other players, join private
				Label@DESC_C:
					Y: 38
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: servers, and display badges.
				Button@GENERATE_KEY:
					X: (PARENT_RIGHT - WIDTH) / 2
					Y: 70
					Width: 240
					Height: 20
					Font: TinyBold
					Text: Connect to an OpenRA forum account
		Background@GENERATING_KEYS:
			Width: PARENT_RIGHT
			Height: PARENT_BOTTOM
			Background: panel-black
			Children:
				Label@DESC_A:
					Y: 14
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: Generating authentication key pair.
				Label@DESC_B:
					Y: 30
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: This will take several seconds...
				ProgressBar:
					X: (PARENT_RIGHT - WIDTH) / 2
					Y: 70
					Width: 240
					Height: 20
					Indeterminate: true
		Background@REGISTER_FINGERPRINT:
			Width: PARENT_RIGHT
			Height: PARENT_BOTTOM
			Background: panel-black
			Children:
				Label@DESC_A:
					Y: 3
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: An authentication key has been copied to your
				Label@DESC_B:
					Y: 19
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: clipboard. Add this to your User Control Panel
				Label@DESC_C:
					Y: 35
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: on the OpenRA forum then press Continue.
				Button@DELETE_KEY:
					X: 15
					Y: 70
					Width: 70
					Height: 20
					Font: TinyBold
					Text: Cancel
				Button@CHECK_KEY:
					X: 185
					Y: 70
					Width: 70
					Height: 20
					Font: TinyBold
					Text: Continue
		Background@CHECKING_FINGERPRINT:
			Width: PARENT_RIGHT
			Height: PARENT_BOTTOM
			Background: panel-black
			Children:
				Label@DESC_A:
					Y: 14
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: Querying account details from
				Label@DESC_B:
					Y: 30
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: the OpenRA forum...
				ProgressBar:
					X: (PARENT_RIGHT - WIDTH) / 2
					Y: 70
					Width: 240
					Height: 20
					Indeterminate: true
		Background@FINGERPRINT_NOT_FOUND:
			Width: PARENT_RIGHT
			Height: PARENT_BOTTOM
			Background: panel-black
			Children:
				Label@DESC_A:
					Y: 14
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: Your authentication key is not connected
				Label@DESC_B:
					Y: 30
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: to an OpenRA forum account.
				Button@FINGERPRINT_NOT_FOUND_CONTINUE:
					X: 185
					Y: 70
					Width: 70
					Height: 20
					Font: TinyBold
					Text: Back
		Background@CONNECTION_ERROR:
			Width: PARENT_RIGHT
			Height: PARENT_BOTTOM
			Background: panel-black
			Children:
				Label@DESC_A:
					Y: 14
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: Failed to connect to the OpenRA forum.
				Label@DESC_B:
					Y: 30
					Width: PARENT_RIGHT
					Height: 25
					Font: Small
					Align: Center
					Text: Please check your internet connection.
				Button@CONNECTION_ERROR_RETRY:
					X: 185
					Y: 70
					Width: 70
					Height: 20
					Font: TinyBold
					Text: Retry

Container@PLAYER_PROFILE_BADGES_INSERT:
	Logic: PlayerProfileBadgesLogic
	Width: PARENT_RIGHT
	Children:
		Container@BADGE_TEMPLATE:
			Width: PARENT_RIGHT
			Height: 25
			Children:
				Badge@ICON:
					X: 6
					Y: 1
					Width: 24
					Height: 24
				Label@LABEL:
					X: 36
					Y: 2
					Width: PARENT_RIGHT - 60
					Height: 24
					Font: Bold
