|
1 | | -from strictyaml import Map, Str, Int, Seq, Bool, Any, Optional, MapPattern, EmptyDict, EmptyNone, EmptyList |
| 1 | +from strictyaml import Any, Bool, EmptyDict, EmptyList, EmptyNone, Int, Map, MapPattern, Optional, Seq, Str |
2 | 2 |
|
3 | 3 | config_schema = Map( |
4 | 4 | { |
5 | | - Optional("learners", default={"theme": "dark", "branding": False, "language": "en"}): Map( |
| 5 | + Optional( |
| 6 | + "learners", |
| 7 | + default={ |
| 8 | + "theme": "dark", |
| 9 | + "branding": False, |
| 10 | + "language": "en", |
| 11 | + "login_headline": "Welcome to the", |
| 12 | + "login_headline_highlight": "AIT CyberRange", |
| 13 | + "welcome_text": "This is the default welcome text.", |
| 14 | + "login_text": "In order to participate in the exercises, please log in with your credentials. You will then get access to the documentation and the introduction to the tools to be used, the Exercises-Control and get access to the VNC client from which the exercises can be performed.", |
| 15 | + }, |
| 16 | + ): Map( |
6 | 17 | { |
7 | 18 | Optional("theme", default="dark"): Str(), |
8 | 19 | Optional("branding", default=False): Bool(), |
9 | 20 | Optional("language", default="en"): Str(), |
| 21 | + Optional("login_headline", default="Welcome to the"): Str(), |
| 22 | + Optional("login_headline_highlight", default="AIT CyberRange"): Str(), |
| 23 | + Optional("welcome_text", default="This is the default welcome text."): Str(), |
| 24 | + Optional( |
| 25 | + "login_text", |
| 26 | + default="In order to participate in the exercises, please log in with your credentials. You will then get access to the documentation and the introduction to the tools to be used, the Exercises-Control and get access to the VNC client from which the exercises can be performed.", |
| 27 | + ): Str(), |
10 | 28 | } |
11 | 29 | ), |
12 | 30 | "jwt": Map( |
|
0 commit comments