2023-06-01 05:22:47 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<ServerPickerDialog /> should render dialog 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-describedby="mx_ServerPickerDialog"
|
|
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
|
|
class="mx_ServerPickerDialog"
|
|
|
|
data-focus-lock-disabled="false"
|
|
|
|
role="dialog"
|
|
|
|
>
|
|
|
|
<div
|
2024-03-13 21:38:32 +08:00
|
|
|
class="mx_Dialog_header"
|
2023-06-01 05:22:47 +08:00
|
|
|
>
|
2024-02-16 22:23:33 +08:00
|
|
|
<h1
|
2023-07-05 00:54:28 +08:00
|
|
|
class="mx_Heading_h3 mx_Dialog_title"
|
2023-06-01 05:22:47 +08:00
|
|
|
id="mx_BaseDialog_title"
|
|
|
|
>
|
|
|
|
Sign into your homeserver
|
2024-02-16 22:23:33 +08:00
|
|
|
</h1>
|
2023-06-01 05:22:47 +08:00
|
|
|
</div>
|
|
|
|
<form
|
|
|
|
class="mx_Dialog_content"
|
|
|
|
id="mx_ServerPickerDialog"
|
|
|
|
>
|
|
|
|
<p>
|
|
|
|
We call the places where you can host your account 'homeservers'.
|
|
|
|
|
|
|
|
Matrix.org is the biggest public homeserver in the world, so it's a good place for many.
|
|
|
|
</p>
|
|
|
|
<label
|
|
|
|
class="mx_StyledRadioButton mx_StyledRadioButton_enabled"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
data-testid="defaultHomeserver"
|
|
|
|
name="defaultChosen"
|
|
|
|
type="radio"
|
|
|
|
value="true"
|
|
|
|
/>
|
|
|
|
<div>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_content"
|
|
|
|
>
|
2023-12-20 01:19:54 +08:00
|
|
|
<span
|
|
|
|
class="mx_Login_underlinedServerName"
|
2023-06-01 05:22:47 +08:00
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
matrix.org
|
2023-12-20 01:19:54 +08:00
|
|
|
</span>
|
2023-06-01 05:22:47 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_spacer"
|
|
|
|
/>
|
|
|
|
</label>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton mx_ServerPickerDialog_otherHomeserverRadio mx_StyledRadioButton_enabled mx_StyledRadioButton_checked"
|
|
|
|
>
|
|
|
|
<label
|
|
|
|
class="mx_StyledRadioButton_innerLabel"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
aria-label="Other homeserver"
|
|
|
|
name="defaultChosen"
|
|
|
|
type="radio"
|
|
|
|
value="false"
|
|
|
|
/>
|
|
|
|
<div>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Field mx_Field_input mx_ServerPickerDialog_otherHomeserver"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
id="mx_homeserverInput"
|
|
|
|
label="Other homeserver"
|
|
|
|
placeholder="Other homeserver"
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<label
|
|
|
|
for="mx_homeserverInput"
|
|
|
|
>
|
|
|
|
Other homeserver
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_StyledRadioButton_spacer"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<p>
|
|
|
|
Use your preferred Matrix homeserver if you have one, or host your own.
|
|
|
|
</p>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_ServerPickerDialog_continue mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Continue
|
|
|
|
</div>
|
|
|
|
<h2>
|
|
|
|
Learn more
|
|
|
|
</h2>
|
|
|
|
<a
|
|
|
|
class="mx_ExternalLink"
|
2023-08-14 17:08:34 +08:00
|
|
|
href="https://matrix.org/docs/matrix-concepts/elements-of-matrix/#homeserver"
|
2023-06-01 05:22:47 +08:00
|
|
|
rel="noreferrer noopener"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
About homeservers
|
|
|
|
<i
|
|
|
|
class="mx_ExternalLink_icon"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
</form>
|
2024-06-20 17:29:38 +08:00
|
|
|
<div
|
|
|
|
aria-label="Close dialog"
|
|
|
|
class="mx_AccessibleButton mx_Dialog_cancelButton"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
2023-06-01 05:22:47 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
data-focus-guard="true"
|
|
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
|
|
tabindex="0"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|