BankProject/Client/Layout/Networking.xml
GabrielTofvesson f1071b4994 Refactored ConsoleForms into separate files
Gave layout metadata its own sub-namespace
Gave views their own sub-namespace
Added view naming convention
Moved layout data to a separate folder
Moved layout contexts to a separate folder
2018-03-31 15:21:27 +02:00

85 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="ConsoleForms">
<!-- Networking context -->
<InputTextBox id="NetConnect"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Fields>
<Field input_type="decimal" max_length="15">Server IP:</Field>
<Field default="80" input_type="integer" max_length="5">Port:</Field>
</Fields>
<Text>Server connection configuration</Text>
</InputTextBox>
<DialogBox id="SecurityIssue"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1"
select="1">
<Options>
<Option>Continue</Option>
<Option>Cancel</Option>
</Options>
<Text>The identity of the server could not be verified. Continue?</Text>
</DialogBox>
<DialogBox id="Connecting"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Options>
<Option>Cancel</Option>
</Options>
<Text>Connecting to server...</Text>
</DialogBox>
<!-- Generic dialog boxes -->
<DialogBox id="EmptyFieldError"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Options>
<Option>Ok</Option>
</Options>
<Text>One or more required input field is empty</Text>
</DialogBox>
<DialogBox id="IPError"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Options>
<Option>Ok</Option>
</Options>
<Text>The supplied IP-address is not valid</Text>
</DialogBox>
<DialogBox id="PortError"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Options>
<Option>Ok</Option>
</Options>
<Text>The supplied port is not valid</Text>
</DialogBox>
<DialogBox id="ConnectionError"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1"
border="4">
<Options>
<Option>Ok</Option>
</Options>
<Text>Could not connect to server</Text>
</DialogBox>
</Elements>