schildi-web/res/welcome.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

194 lines
5.4 KiB
HTML
Raw Normal View History

<style type="text/css">
/* we deliberately inline style here to avoid flash-of-CSS problems, and to avoid
* voodoo where we have to set display: none by default
*/
2019-02-01 13:07:51 -05:00
h1::after {
content: "!";
}
2022-12-09 07:28:29 -05:00
2019-02-01 13:07:51 -05:00
.mx_Parent {
2019-02-08 05:22:07 -05:00
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
2019-02-08 05:29:14 -05:00
padding: 25px 35px;
color: #2e2f32;
}
2022-12-09 07:28:29 -05:00
.mx_Logo {
height: 54px;
margin-top: 2px;
}
2022-12-09 07:28:29 -05:00
.mx_ButtonGroup {
margin-top: 10px;
}
2022-12-09 07:28:29 -05:00
.mx_ButtonRow {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
margin: 12px 0 0;
}
2022-12-09 07:28:29 -05:00
.mx_ButtonRow > * {
margin: 0 10px;
}
2022-12-09 07:28:29 -05:00
.mx_ButtonRow > *:first-child {
margin-left: 0;
}
2022-12-09 07:28:29 -05:00
.mx_ButtonRow > *:last-child {
margin-right: 0;
2019-02-01 13:07:51 -05:00
}
2022-12-09 07:28:29 -05:00
2019-02-01 13:07:51 -05:00
.mx_ButtonParent {
2019-02-08 05:22:07 -05:00
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
padding: 10px 20px;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
border-radius: 4px;
width: 150px;
background-repeat: no-repeat;
background-position: 10px center;
text-decoration: none;
color: #2e2f32 !important;
2019-02-01 13:07:51 -05:00
}
2022-12-09 07:28:29 -05:00
2019-02-08 05:31:48 -05:00
.mx_ButtonLabel {
2019-02-08 05:22:07 -05:00
margin-left: 20px;
2019-02-01 13:07:51 -05:00
}
2022-12-09 07:28:29 -05:00
.mx_Header_title {
font-size: 24px;
2019-02-08 05:22:07 -05:00
font-weight: 600;
margin: 20px 0 0;
2019-02-01 13:07:51 -05:00
}
2022-12-09 07:28:29 -05:00
.mx_Header_subtitle {
font-size: 12px;
font-weight: normal;
margin: 8px 0 0;
2019-02-01 13:07:51 -05:00
}
2022-12-09 07:28:29 -05:00
2019-02-01 13:07:51 -05:00
.mx_ButtonSignIn {
2019-02-08 05:22:07 -05:00
background-color: #368bd6;
color: white !important;
2019-02-01 13:07:51 -05:00
}
2022-12-09 07:28:29 -05:00
2019-02-01 13:07:51 -05:00
.mx_ButtonCreateAccount {
* Add inline code formatting to rich text editor ([\#9720](https://github.com/matrix-org/matrix-react-sdk/pull/9720)). * Add emoji handling for plain text mode of the new rich text editor ([\#9727](https://github.com/matrix-org/matrix-react-sdk/pull/9727)). * Overlay virtual room call events into main timeline ([\#9626](https://github.com/matrix-org/matrix-react-sdk/pull/9626)). Fixes #22929. * Adds a new section under "Room Settings" > "Roles & Permissions" which adds the possibility to multiselect users from this room and grant them more permissions. ([\#9596](https://github.com/matrix-org/matrix-react-sdk/pull/9596)). Contributed by @GoodGuyMarco. * Add emoji handling for rich text mode ([\#9661](https://github.com/matrix-org/matrix-react-sdk/pull/9661)). * Add setting to hide bold notifications ([\#9705](https://github.com/matrix-org/matrix-react-sdk/pull/9705)). * Further password reset flow enhancements ([\#9662](https://github.com/matrix-org/matrix-react-sdk/pull/9662)). * Snooze the bulk unverified sessions reminder on dismiss ([\#9706](https://github.com/matrix-org/matrix-react-sdk/pull/9706)). * Honor advanced audio processing settings when recording voice messages ([\#9610](https://github.com/matrix-org/matrix-react-sdk/pull/9610)). Contributed by @MrAnno. * Improve the visual balance of bubble layout ([\#9704](https://github.com/matrix-org/matrix-react-sdk/pull/9704)). * Add config setting to disable bulk unverified sessions nag ([\#9657](https://github.com/matrix-org/matrix-react-sdk/pull/9657)). * Only display bulk unverified sessions nag when current sessions is verified ([\#9656](https://github.com/matrix-org/matrix-react-sdk/pull/9656)). * Separate labs and betas more clearly ([\#8969](https://github.com/matrix-org/matrix-react-sdk/pull/8969)). Fixes #22706. * Show user an error if we fail to create a DM for verification. ([\#9624](https://github.com/matrix-org/matrix-react-sdk/pull/9624)). * Prevent unnecessary m.direct updates ([\#9805](https://github.com/matrix-org/matrix-react-sdk/pull/9805)). Fixes #24059. * Fix checkForPreJoinUISI for thread roots ([\#9803](https://github.com/matrix-org/matrix-react-sdk/pull/9803)). Fixes #24054. * Load RTE components only when RTE labs is enabled ([\#9804](https://github.com/matrix-org/matrix-react-sdk/pull/9804)). * Fix issue where thread panel did not update correctly ([\#9746](https://github.com/matrix-org/matrix-react-sdk/pull/9746)). Fixes #23971. * Remove async call to get virtual room from room load ([\#9743](https://github.com/matrix-org/matrix-react-sdk/pull/9743)). Fixes #23968. * Check each thread for unread messages. ([\#9723](https://github.com/matrix-org/matrix-react-sdk/pull/9723)). * Device manage - handle sessions that don't support encryption ([\#9717](https://github.com/matrix-org/matrix-react-sdk/pull/9717)). Fixes #23722. * Fix hover state for formatting buttons (Rich text editor) (fix vector-im/element-web/issues/23832) ([\#9715](https://github.com/matrix-org/matrix-react-sdk/pull/9715)). * Don't allow group calls to be unterminated ([\#9710](https://github.com/matrix-org/matrix-react-sdk/pull/9710)). * Fix replies to emotes not showing as inline ([\#9707](https://github.com/matrix-org/matrix-react-sdk/pull/9707)). Fixes #23903. * Update copy of 'Change layout' button to match Element Call ([\#9703](https://github.com/matrix-org/matrix-react-sdk/pull/9703)). * Fix call splitbrains when switching between rooms ([\#9692](https://github.com/matrix-org/matrix-react-sdk/pull/9692)). * bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events ([\#9664](https://github.com/matrix-org/matrix-react-sdk/pull/9664)). Fixes #17263. * Fix power selector being wrongly disabled for admins themselves ([\#9681](https://github.com/matrix-org/matrix-react-sdk/pull/9681)). Fixes #23882. * Show day counts in call durations ([\#9641](https://github.com/matrix-org/matrix-react-sdk/pull/9641)). -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEE6Vt2megLaKnq2aGaK6qbhVK9kEcFAmOjQh0RHHJlbGVhc2Vz QHJpb3QuaW0ACgkQK6qbhVK9kEfH1A/+JJZc/PYtaQ8Cr02M0Wg+dvlBD+fPV2py qHuzAa3DE0OZPTJfbWjsNMPmBbvphe9wrphgW0dtGQgMEKzur0qIV/xyZprFQfvw O7HJrBbFK0dtZNz04DVxL9AyD8GQ6tJidyjPEnjum5N+20XTMZdMPd4bTx8wfItP iULjmPV1b9d15pCYo6rgm919iff96lx2Cy1FUMUzt9J0AQvR30ZyLuHHmocx4uK7 elRibOe0el20yHWPAruKrBnX5p/tkgLYTrNciL7c6Er0uvTdY0KAKpRUQcawyFD+ C/XV69gTFDABYiCzBAzPYaIaopw9/MJL+7H/nHGFVpCagsWb3JHrQ/GFc6CAKGXF bzdH9Oj/sSqXcjF79VK24IyuOHt7pKehwPIfYX738u9dUbDksksyB90uf4BY6+eM kJ46o8fy125nbpnrL1X5LaUi+Jb/MuTNguUGmf4izFgYlJ35R3JdV6/vjx59Awp9 jdCHqBihjsa/3Km8JE73I76gQkCpe0lq9rUL0ZsprQj5Zts7MipqJ1RaslkhyR1p 4+9yNxKZSDqe48NkkqmzNn87NGKTAPnyQfqjNtpO75P5VuDKS+dmz9bm9t949ncb aDU8LiUhAMauP0PWVEc1m/L2CZAf6kOtLg8/+At6YQUt8K3pQgApZ+J42Vm6f765 pA5z1VyBJko= =6qab -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQJNBAABCAA3FiEEUMS2jJrglzPzHXqk10PFDIthmEwFAmPC6CIZHGNvZGV3b3Jr c0BzdXBlcmNhYmxlLm9ubAAKCRDXQ8UMi2GYTJyuEACj2dqxho5blAMdvtwFc+yM gcbAO/2jvleL1xvyKfUlqQt+s9RPYJHkevj0Ze+WD8sY3dDytVLAhKzlg9/VNRQm wR5ilDLoE8uotKnIKL9jOQDhtwR3n29NmNUtMyojeYbp930IpbqVcIiASMPEXV8/ +K5XQYI8TRMLP8SASjjzJ7/gg1PWh/Ay9Z5qfB0NIKwg7sScxKcdrXKe9+/44U3r gJHhyyFS+276UmuuibvxdMWzD5WVaEHHE8oHqPWZLoSwhxpwXhEhVky4ohnTqAod 3gEQbmHIR91Zq3P72fp8GthNBEPFEMX2bMndfbnYjBG7xDIJI8AMlOnuEaoRm12U 2+wFMXOgJE07Or0mWMjhcsR7HCzeMqzDv/+doUW0CANjietYP8y4nROr26ULpQkD NdchXR/A0R7XaJduMR/MtovT3NB69S8ij/bUD1SYz8IvweoR7ECKb3Q+DnSOJH/J k00cr2iYpd+4ttvhgCbdwl2Kv6+8SN4h0kl5J6CQBJzkSZDMXEWJ4ForWSJLl31y 4ut2S4rH5/3pXSSHqsAdezu5oJhohmGqJuxuMkqxklWt7zOETHPEH3Dy7cRgMqyB 5wKBDs7iuboxTRNBeGMWwmWHep6meOs/PZR1Ws+nsrx9yg12xuE3z79Us4GG4beL OpM2edHOkkS98jxnOmciyg== =touW -----END PGP SIGNATURE----- Merge tag 'v1.11.17' into sc * Add inline code formatting to rich text editor ([\#9720](https://github.com/matrix-org/matrix-react-sdk/pull/9720)). * Add emoji handling for plain text mode of the new rich text editor ([\#9727](https://github.com/matrix-org/matrix-react-sdk/pull/9727)). * Overlay virtual room call events into main timeline ([\#9626](https://github.com/matrix-org/matrix-react-sdk/pull/9626)). Fixes #22929. * Adds a new section under "Room Settings" > "Roles & Permissions" which adds the possibility to multiselect users from this room and grant them more permissions. ([\#9596](https://github.com/matrix-org/matrix-react-sdk/pull/9596)). Contributed by @GoodGuyMarco. * Add emoji handling for rich text mode ([\#9661](https://github.com/matrix-org/matrix-react-sdk/pull/9661)). * Add setting to hide bold notifications ([\#9705](https://github.com/matrix-org/matrix-react-sdk/pull/9705)). * Further password reset flow enhancements ([\#9662](https://github.com/matrix-org/matrix-react-sdk/pull/9662)). * Snooze the bulk unverified sessions reminder on dismiss ([\#9706](https://github.com/matrix-org/matrix-react-sdk/pull/9706)). * Honor advanced audio processing settings when recording voice messages ([\#9610](https://github.com/matrix-org/matrix-react-sdk/pull/9610)). Contributed by @MrAnno. * Improve the visual balance of bubble layout ([\#9704](https://github.com/matrix-org/matrix-react-sdk/pull/9704)). * Add config setting to disable bulk unverified sessions nag ([\#9657](https://github.com/matrix-org/matrix-react-sdk/pull/9657)). * Only display bulk unverified sessions nag when current sessions is verified ([\#9656](https://github.com/matrix-org/matrix-react-sdk/pull/9656)). * Separate labs and betas more clearly ([\#8969](https://github.com/matrix-org/matrix-react-sdk/pull/8969)). Fixes #22706. * Show user an error if we fail to create a DM for verification. ([\#9624](https://github.com/matrix-org/matrix-react-sdk/pull/9624)). * Prevent unnecessary m.direct updates ([\#9805](https://github.com/matrix-org/matrix-react-sdk/pull/9805)). Fixes #24059. * Fix checkForPreJoinUISI for thread roots ([\#9803](https://github.com/matrix-org/matrix-react-sdk/pull/9803)). Fixes #24054. * Load RTE components only when RTE labs is enabled ([\#9804](https://github.com/matrix-org/matrix-react-sdk/pull/9804)). * Fix issue where thread panel did not update correctly ([\#9746](https://github.com/matrix-org/matrix-react-sdk/pull/9746)). Fixes #23971. * Remove async call to get virtual room from room load ([\#9743](https://github.com/matrix-org/matrix-react-sdk/pull/9743)). Fixes #23968. * Check each thread for unread messages. ([\#9723](https://github.com/matrix-org/matrix-react-sdk/pull/9723)). * Device manage - handle sessions that don't support encryption ([\#9717](https://github.com/matrix-org/matrix-react-sdk/pull/9717)). Fixes #23722. * Fix hover state for formatting buttons (Rich text editor) (fix vector-im/element-web/issues/23832) ([\#9715](https://github.com/matrix-org/matrix-react-sdk/pull/9715)). * Don't allow group calls to be unterminated ([\#9710](https://github.com/matrix-org/matrix-react-sdk/pull/9710)). * Fix replies to emotes not showing as inline ([\#9707](https://github.com/matrix-org/matrix-react-sdk/pull/9707)). Fixes #23903. * Update copy of 'Change layout' button to match Element Call ([\#9703](https://github.com/matrix-org/matrix-react-sdk/pull/9703)). * Fix call splitbrains when switching between rooms ([\#9692](https://github.com/matrix-org/matrix-react-sdk/pull/9692)). * bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events ([\#9664](https://github.com/matrix-org/matrix-react-sdk/pull/9664)). Fixes #17263. * Fix power selector being wrongly disabled for admins themselves ([\#9681](https://github.com/matrix-org/matrix-react-sdk/pull/9681)). Fixes #23882. * Show day counts in call durations ([\#9641](https://github.com/matrix-org/matrix-react-sdk/pull/9641)).
2023-01-14 12:35:47 -05:00
background-color: #8BC34A;
box-shadow: inset 0px 0px 2px 0px #608f33;
2019-02-08 05:22:07 -05:00
color: white !important;
}
2022-12-09 07:28:29 -05:00
2019-02-08 05:31:48 -05:00
.mx_SecondaryButton {
2019-02-08 05:22:07 -05:00
background-color: #ffffff;
color: #2e2f32;
}
2022-12-09 07:28:29 -05:00
2019-02-01 13:58:30 -05:00
.mx_Button_iconSignIn {
background-image: url("welcome/images/icon-sign-in.svg");
2019-02-01 13:58:30 -05:00
}
.mx_Button_iconCreateAccount {
background-image: url("welcome/images/icon-create-account.svg");
2019-02-01 13:58:30 -05:00
}
.mx_Button_iconHelp {
background-image: url("welcome/images/icon-help.svg");
2019-02-01 13:58:30 -05:00
}
.mx_Button_iconRoomDirectory {
background-image: url("welcome/images/icon-room-directory.svg");
2019-02-01 13:58:30 -05:00
}
2022-12-09 07:28:29 -05:00
/*
.mx_WelcomePage_loggedIn is applied by EmbeddedPage from the Welcome component
If it is set on the page, we should show the buttons. Otherwise, we have to assume
we don't have an account and should hide them. No account == no guest account either.
*/
.mx_WelcomePage:not(.mx_WelcomePage_loggedIn) .mx_WelcomePage_guestFunctions {
display: none;
}
.mx_ButtonRow.mx_WelcomePage_guestFunctions {
margin-top: 20px;
2022-12-09 07:28:29 -05:00
}
.mx_ButtonRow.mx_WelcomePage_guestFunctions > div {
margin: 0 auto;
}
2020-01-30 05:29:14 -05:00
@media only screen and (max-width: 480px) {
.mx_ButtonRow {
flex-direction: column;
2022-12-09 07:28:29 -05:00
}
.mx_ButtonRow > * {
margin: 0 0 10px 0;
2022-12-09 07:28:29 -05:00
}
}
</style>
2019-02-01 13:07:51 -05:00
<div class="mx_Parent">
2020-09-30 07:07:51 -04:00
<a href="https://element.io" target="_blank" rel="noopener">
<img src="$logoUrl" alt="" class="mx_Logo" />
2019-02-01 13:07:51 -05:00
</a>
2020-07-13 09:24:32 -04:00
<h1 class="mx_Header_title">_t("Welcome to Element")</h1>
<!-- XXX: Our translations system isn't smart enough to recognize variables in the HTML, so we manually do it -->
<h4 class="mx_Header_subtitle">_t("Decentralised, encrypted chat &amp; collaboration powered by $matrixLogo")</h4>
<div class="mx_ButtonGroup">
<div class="mx_ButtonRow">
<a href="#/login" class="mx_ButtonParent mx_ButtonSignIn mx_Button_iconSignIn">
<div class="mx_ButtonLabel">_t("Sign In")</div>
2019-02-01 13:58:30 -05:00
</a>
<a href="#/register" class="mx_ButtonParent mx_ButtonCreateAccount mx_Button_iconCreateAccount">
<div class="mx_ButtonLabel">_t("Create Account")</div>
2019-02-08 05:29:14 -05:00
</a>
</div>
<div class="mx_ButtonRow mx_WelcomePage_guestFunctions">
<div>
<a href="#/directory" class="mx_ButtonParent mx_SecondaryButton mx_Button_iconRoomDirectory">
<div class="mx_ButtonLabel">_t("Explore rooms")</div>
</a>
</div>
</div>
</div>
</div>