Commit graph

26 commits

Author SHA1 Message Date
Pedro Pinto Silva
9127173d83 Dark mode: Welcome dialog, use css vars and fix it for dark mode
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id68a28615b0c245d7136eab50bbf0fc8b490ccc3
2023-06-23 08:15:35 +02:00
Szymon Kłos
722d538d15 Pass ui_theme to welcome dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I19270ad653540b72f5606554848eed88bded8333
2023-06-23 08:15:35 +02:00
Pedro Pinto Silva
c51b63510f Welcome: Refactoring: fix indentations and quotes
Avoid linting problems
- Use tabs as indentations
- use single quotes

All per browser/.eslintrc and browser/.stylelintrc.json

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1bbd425b7aaf39bca3f8d18da5092b7e27e41624
2023-06-23 08:15:35 +02:00
Andras Timar
41f3f2eb5e CODE release notes url for 23.05
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idebcc7742e17282820f6ce54198cd83b258627e2
2023-05-21 12:48:10 +02:00
Szymon Kłos
23db8700b8 Improve translation in welcome dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib9daec78a60729b5ae81f1ae8cf3ae863a6fa300
2023-04-24 14:04:43 +02:00
Gökay Şatır
51bb1d3aa7 Remove unused vex definitions.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I16a5df46bced608952c22bf979808bc735645366
2023-03-22 07:49:07 +03:00
Andras Timar
4a17ceb72b Fix release notes URL for 22.05
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If98d3a8dd70a71d5d2f44ef4248ec1608382b764
2022-06-27 20:12:35 +02:00
andreas kainz
bee7afdee4 Update welcome screen for smaler sizes and mobile
devices-mobiles.css
- rules for mobile wasn't needed
  everywthing is in welcome.css

welcome.css
- screen behind welcome dialog use --color-overlay
  as at every dialog
- no fixed width and height
  max-width and max-height was the old width/height
  width and height are now 95%
  dialog window was center justify
- content width is 96%
  when smaler than 500px padding was added to <p>
- fig get top an bottom margin
  so now all fig's have the same height
- hyperlinks use --color-primary
  and not underline
Signed-off-by: andreas kainz <kainz.a@gmail.com>

Change-Id: If921bc2abc3977930f7d60256d8011d8986a22c9
2022-04-19 11:41:44 +02:00
Andras Timar
a88738e22d Fix fallback welcome dialog on phone + other backports from online welcome dialog
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifdf373c2c0b5a0962610d5fcb35f5845603a7a03
2022-04-12 14:08:39 +03:00
Henry Castro
c550a206e8 Remove the old vex-based welcome dialog code
... 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
2022-04-04 10:53:07 +02:00
Gökay Şatır
7410e2ff85 Enable translations for paragraphs containing links.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I9b66f7b301487cf345c9a136943a6148827a2d49
2022-03-14 08:32:27 +01:00
Andras Timar
1db0251dff welcome: fix translation of string with version number variable
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia8d5e89b15017c68fe18ea88b5f29dc79de2e06c
2022-03-12 19:31:34 +01:00
Gökay Şatır
0bd7a286a0 Generalize welcome.html text.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ibac85925f9382d6ce426eac10cc749a52518c7b3
2022-03-11 09:08:31 -04:00
Gökay Şatır
21f85c83aa Add forgotten version replacement into welcome.html.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ie439218ce38dbbb0fbef6ef98c135507b9776b57
2022-03-11 15:09:50 +03:00
Henry Castro
b614c83098 welcome: preprocess the COOLWSD_VERSION
to our welcome dialog

Change-Id: Ibef4c299ab50ad81f88009e7107638da12e425f6
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-03-11 15:09:50 +03:00
Henry Castro
5bc16c8129 welcome: add missing strings
Change-Id: I4dd6dc770a89815faf8ebd3b96821b3bbb5e2acb
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-03-11 15:09:50 +03:00
Henry Castro
7a2b629107 welcome: add function to translate strings
Change-Id: I89112bb3c7da7cf92930bb7b6ba090adccfa5c11
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-03-11 15:09:50 +03:00
Henry Castro
c3ea5a8b8d welcome: add function to extract translatable strings
Change-Id: Ia55fbba97ddbbdb3856c30fd996e1fc5cd225d68
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-03-11 15:09:50 +03:00
Gökay Şatır
a4f53abac2 Put welcome stuff into one place.
Make the html, js and css files same with server.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Iac268811c01abee3a1b313084959e0ce70666a3b
2022-02-24 19:15:35 +03:00
Henry Castro
83969a22b4 welcome: add welcome.css file
Change-Id: I9109ee777615b5b872f97aa95b7fe36caf6e6d0c
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-02-24 19:15:35 +03:00
Henry Castro
8404465fcd welcome: add CSS tags to welcome dialog
Change-Id: Ibe713b37a6ba00ad84a6e887c49b5fc6eb88b239
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-02-24 19:15:35 +03:00
Henry Castro
5eff9950db browser: add basic close action to welcome.html
Change-Id: I7a2d4245f10aba23836b6b756d7473ccb531b4bf
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-01-26 16:46:06 +01:00
Jan Holesovsky
3b4cfb7b92 We don't need the specific lang pages for the Welcome any more
The translation is happening directly when we instantiate the dialog.

Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: Icd89a8ddcfb2456b59eb6e376452f92309a717e0
2021-11-24 20:09:49 +01:00
Jan Holesovsky
e6f9264fc6 Localize the Welcome dialog
And do some small changes in the text.

Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Change-Id: I12ee785ff9c38555514a4cd47061342b41b13a29
2021-11-24 20:09:49 +01:00
Pedro Pinto Silva
932229a5f1 Welcome dialog: new layout
- 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
2021-11-24 20:09:49 +01:00
Henry Castro
e5c1d0e637 initial rename loleaflet -> browser
Change-Id: Ief7edfe7e3ff3a0a1ec24b4dc106bdeee5d0f8ff
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00