128 lines
3.3 KiB
XML
128 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Elements xmlns="ConsoleForms">
|
|
|
|
<!-- Welcome screen -->
|
|
<DialogBox id="WelcomeScreen"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
width="42">
|
|
<Options>
|
|
<Option event="Setup:Login" close="true">Login</Option>
|
|
<Option event="Setup:Register" close="true">Register</Option>
|
|
</Options>
|
|
<Text>Welcome to the Tofvesson banking system! To continue, press [ENTER] To go back, press [ESCAPE]</Text>
|
|
</DialogBox>
|
|
|
|
<!-- Register-context views -->
|
|
<InputTextBox id="Register"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
width="35"
|
|
back="Setup:WelcomeScreen">
|
|
<Fields>
|
|
<Field>Username:</Field>
|
|
<Field hide="true">Password:</Field>
|
|
<Field hide="true">Repeat password:</Field>
|
|
</Fields>
|
|
<Text>Register Account</Text>
|
|
</InputTextBox>
|
|
|
|
<TextBox id="RegWait"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
border="3">
|
|
<Text>Registering...</Text>
|
|
</TextBox>
|
|
|
|
<DialogBox id="DuplicateAccountError"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
border="4">
|
|
<Options>
|
|
<Option>Ok</Option>
|
|
</Options>
|
|
<Text>An account with this username already exists!</Text>
|
|
</DialogBox>
|
|
|
|
<DialogBox id="PasswordMismatchError"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
border="4">
|
|
<Options>
|
|
<Option>Ok</Option>
|
|
</Options>
|
|
<Text>The entered passwords don't match! </Text>
|
|
</DialogBox>
|
|
|
|
<DialogBox id="WeakPasswordWarning"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
border="6">
|
|
<Options>
|
|
<Option>Yes</Option>
|
|
<Option>No</Option>
|
|
</Options>
|
|
<Text>The password you have supplied has been deemed to be weak. Are you sure you want to continue?</Text>
|
|
</DialogBox>
|
|
|
|
<!-- Login-context views -->
|
|
<InputTextBox id="Login"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
width="35"
|
|
back="Setup:WelcomeScreen">
|
|
<Fields>
|
|
<Field>Username:</Field>
|
|
<Field hide="true">Password:</Field>
|
|
</Fields>
|
|
<Text>Log in</Text>
|
|
</InputTextBox>
|
|
|
|
<TextBox id="AuthWait"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
border="3">
|
|
<Text>Authenticating...</Text>
|
|
</TextBox>
|
|
|
|
<!-- Generic dialog boxes -->
|
|
<DialogBox id="EmptyFieldError"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
border="4">
|
|
<Options>
|
|
<Option>Ok</Option>
|
|
</Options>
|
|
<Text>One or more required input field is empty</Text>
|
|
</DialogBox>
|
|
|
|
<DialogBox id="AuthError"
|
|
padding_left="2"
|
|
padding_right="2"
|
|
padding_top="1"
|
|
padding_bottom="1"
|
|
border="4">
|
|
<Options>
|
|
<Option>Ok</Option>
|
|
</Options>
|
|
<Text>The given username or password was incorrect</Text>
|
|
</DialogBox>
|
|
</Elements> |