In case of RTL users we want to switch UI to that mode
early so we don't see flipping in the browser.
Setup correct setting at the serving html step.
Using that approach we don't need to extend LOK API.
We detect that using "lang" parameter passed in the request.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iaa2962b01f218cae68a6dfd168bff4dbdae94c8a
- when reading from config use correct type so SyntaxException
is thrown when we type non-number into uint field
- handle SyntaxException and send 500 so user will get response
(previously we left request without response until timeout)
- log about incorrect value in the config
- simplify repeated bool -> string conversion after config read
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1c50de263ffdb1d97eb9381754bc7cf3bd05dbfa
Instead of using server label in one row and then
the content itself in another row, just use them both in the same
sentence
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9a2c7af8d4fccd9837370e5ca62842fb845a9307
- Add slider
- Less content and easier to scan/read
- More clear call to actions
- But less CAT per screen / slide
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5faf9ac5ef3bfa57f19d1b9f5f2bdcee4c91ecb7
Probably because we don't show the os-info? So use an empty paragraph
instead. Sad that the space for the logo doesn't expand automatically
to make space for it.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I429df1eee32fd454409731612b48f422529cece0
- Allow for dynamic resizing (flex box)
- Set sub elements with id so we can use less background images
in the main parent element and use it directly in its own element
- Also make integrator logo optional and easy to switch on/off via
flex-grow: 1 | 0 respectively
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I837b26d77e0bfa722c6ff3d4a247a36ef8944797