mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
mkdir apps/web/scripts
mv scripts/{cleanup.sh,ci_package.sh,copy-res.ts,deploy.py,package.sh} apps/web/scripts
And a couple of gitignore tweaks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
127 lines
2.8 KiB
Plaintext
127 lines
2.8 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`dialogTermsInteractionCallback should render a dialog with the expected terms 1`] = `
|
|
<div
|
|
aria-describedby="mx_Dialog_content"
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
class=""
|
|
data-focus-lock-disabled="false"
|
|
role="dialog"
|
|
tabindex="-1"
|
|
>
|
|
<div
|
|
class="mx_Dialog_header"
|
|
>
|
|
<h1
|
|
class="mx_Heading_h3 mx_Dialog_title"
|
|
id="mx_BaseDialog_title"
|
|
>
|
|
Terms of Service
|
|
</h1>
|
|
</div>
|
|
<div
|
|
id="mx_Dialog_content"
|
|
>
|
|
<p>
|
|
To continue you need to accept the terms of this service.
|
|
</p>
|
|
<table
|
|
class="mx_TermsDialog_termsTable"
|
|
>
|
|
<tbody>
|
|
<tr
|
|
class="mx_TermsDialog_termsTableHeader"
|
|
>
|
|
<th>
|
|
Service
|
|
</th>
|
|
<th>
|
|
Summary
|
|
</th>
|
|
<th>
|
|
Document
|
|
</th>
|
|
<th>
|
|
Accept
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td
|
|
class="mx_TermsDialog_service"
|
|
>
|
|
<div>
|
|
Identity server
|
|
<br />
|
|
(
|
|
base_url
|
|
)
|
|
</div>
|
|
</td>
|
|
<td
|
|
class="mx_TermsDialog_summary"
|
|
>
|
|
<div>
|
|
Find others by phone or email
|
|
<br />
|
|
Be found by phone or email
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<a
|
|
class="mx_ExternalLink"
|
|
href="http://base_url/terms"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
Terms
|
|
<svg
|
|
class="mx_ExternalLink_icon"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 24 24"
|
|
width="1em"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
d="M5 3h6a1 1 0 1 1 0 2H5v14h14v-6a1 1 0 1 1 2 0v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2"
|
|
/>
|
|
<path
|
|
d="M15 3h5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V6.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L17.586 5H15a1 1 0 1 1 0-2"
|
|
/>
|
|
</svg>
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<input
|
|
type="checkbox"
|
|
/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div
|
|
class="mx_Dialog_buttons"
|
|
>
|
|
<span
|
|
class="mx_Dialog_buttons_row"
|
|
>
|
|
<button
|
|
data-testid="dialog-cancel-button"
|
|
type="button"
|
|
>
|
|
Cancel
|
|
</button>
|
|
<button
|
|
class="mx_Dialog_primary"
|
|
data-testid="dialog-primary-button"
|
|
disabled=""
|
|
type="button"
|
|
>
|
|
Next
|
|
</button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
`;
|