... and make Welcome dialog optional for COOL
config: add welome url parameter
Signed-off-by: Henry Castro <hcastro@collabora.com>
config: add feedback url parameter
Signed-off-by: Henry Castro <hcastro@collabora.com>
config: add infobar-url parameter
Signed-off-by: Henry Castro <hcastro@collabora.com>
welcome: fix unhandled exceptions
Signed-off-by: Henry Castro <hcastro@collabora.com>
welcome: preprocess welcome file
added welcome-message.html
Signed-off-by: Henry Castro <hcastro@collabora.com>
welcome: clean up code related to vex welcome
Signed-off-by: Henry Castro <hcastro@collabora.com>
--enable-welcome-message is not necessary, when we specify a welcome URL, then it is enabled, otherwise it's user configurable
Signed-off-by: Andras Timar <andras.timar@collabora.com>
remove the unused welcome config settings
Signed-off-by: Andras Timar <andras.timar@collabora.com>
remove unused define ENABLE_FEEDBACK
Signed-off-by: Andras Timar <andras.timar@collabora.com>
do not install/package fallback welcome dialog, when welcome feature is not configured
Signed-off-by: Andras Timar <andras.timar@collabora.com>
remove welcome-message.html
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I20aa6220362018b63aaebd114b2b661561823fbb
use empty string in mobile app since it is not used
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I699c348c01ad06b7e720499a615e2c9a27bbf630
on ios case, there is no device back button available
so it is impossible to go back before the document load
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ifce5e4777b8dd014cbdc527fb65f0d0be21f2cd2
when we set ui language to ar or any other rtl language via url.
When language is RTL, since the commit:
RTL: Serve html with correct RTL settings
a3c5c71107
The dir attribute of body will be "rtl". The div "document-container"
itself occupies full width of the viewport but one of its children div
with id="map" has to "track" the document area of the canvas
element(canvas element occupies full width). The positioning of "map"
div is done in js assuming an "ltr" case. We could change all that based
on RTL flag, but at the moment a less riskier fix is to set the dir
attribute of "document-container" unconditionally to "ltr".
This also fixes all wrong svg based marker-selections too - for instance
shape/chart selections.
Comment cell hover popups were also affected by the same issue hence
fixed by this commit as well.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5e20474d5b010976de12f7beee40a5c44df1b867
changed structure to use ltr order for english text with version
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib4e88d59099c3b15bf8db22b4549dd1782b762b4
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