Format HTML files with Prettier

This commit is contained in:
Evan Hahn 2021-06-23 13:18:47 -05:00 committed by GitHub
parent cf64fbdc7c
commit d0a6bf400c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 1147 additions and 992 deletions

View file

@ -1,4 +1,4 @@
<!-- Copyright 2019-2020 Signal Messenger, LLC --> <!-- Copyright 2019-2021 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<!-- prettier-ignore --> <!-- prettier-ignore -->
@ -12,4 +12,4 @@
debug: console.debug.bind(console), debug: console.debug.bind(console),
trace: console.trace.bind(console), trace: console.trace.bind(console),
}; };
</script> </script>

View file

@ -1,10 +1,11 @@
<!-- Copyright 2017-2020 Signal Messenger, LLC --> <!-- Copyright 2017-2021 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<html> <html>
<head> <head>
<meta http-equiv="Content-Security-Policy" <meta
content="default-src 'none'; http-equiv="Content-Security-Policy"
content="default-src 'none';
child-src 'self'; child-src 'self';
connect-src 'self' https: wss:; connect-src 'self' https: wss:;
font-src 'self'; font-src 'self';
@ -15,48 +16,61 @@
object-src 'none'; object-src 'none';
script-src 'self'; script-src 'self';
style-src 'self' 'unsafe-inline';" style-src 'self' 'unsafe-inline';"
> />
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" /> <link
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" /> href="node_modules/sanitize.css/sanitize.css"
<style> rel="stylesheet"
body { type="text/css"
display: flex; />
justify-content: center; <link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
align-items: center; <style>
text-align: center; body {
overflow: hidden; display: flex;
background-color: #3a76f0; justify-content: center;
color: white; align-items: center;
font-size: 14px; text-align: center;
} overflow: hidden;
background-color: #3a76f0;
color: white;
font-size: 14px;
}
img { img {
margin-top: 1em; margin-top: 1em;
} }
a { a {
color: white; color: white;
} }
</style> </style>
</head> </head>
<body> <body>
<div class='module-splash-screen'> <div class="module-splash-screen">
<div class='module-splash-screen__logo module-img--150'></div> <div class="module-splash-screen__logo module-img--150"></div>
<div class='version'></div> <div class="version"></div>
<div class='environment'></div> <div class="environment"></div>
<div> <div>
<a href='https://signal.org'>signal.org</a> <a href="https://signal.org">signal.org</a>
</div>
<br />
<div>
<a
class="acknowledgments"
href="https://github.com/signalapp/Signal-Desktop/blob/development/ACKNOWLEDGMENTS.md"
>Software Acknowledgments</a
>
</div>
<div>
<a class="privacy" href="https://signal.org/legal"
>Terms &amp; Privacy Policy</a
>
</div>
</div> </div>
<br> <script
<div> type="text/javascript"
<a class="acknowledgments" href="https://github.com/signalapp/Signal-Desktop/blob/development/ACKNOWLEDGMENTS.md">Software Acknowledgments</a> src="node_modules/jquery/dist/jquery.js"
</div> ></script>
<div> <script type="text/javascript" src="js/about_start.js"></script>
<a class="privacy" href="https://signal.org/legal">Terms &amp; Privacy Policy</a> </body>
</div>
</div>
<script type='text/javascript' src='node_modules/jquery/dist/jquery.js'></script>
<script type='text/javascript' src='js/about_start.js'></script>
</body>
</html> </html>

View file

@ -3,14 +3,18 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset='utf-8'> <meta charset="utf-8" />
<meta content='width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0' name='viewport'> <meta
<meta http-equiv="X-UA-Compatible" content="IE=edge"> content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"
<meta name="description" content=""> name="viewport"
<meta name="viewport" content="width=device-width, initial-scale=1"> />
<meta http-equiv="Content-Security-Policy" <meta http-equiv="X-UA-Compatible" content="IE=edge" />
content="default-src 'none'; <meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
http-equiv="Content-Security-Policy"
content="default-src 'none';
child-src 'self'; child-src 'self';
connect-src 'self' https: wss:; connect-src 'self' https: wss:;
font-src 'self'; font-src 'self';
@ -19,341 +23,27 @@
img-src 'self' blob: data:; img-src 'self' blob: data:;
media-src 'self' blob:; media-src 'self' blob:;
object-src 'none'; object-src 'none';
script-src 'self' 'sha256-5J9nLKMi84ERvoy7r/3XVwiW1iZ5YaPic9BNaF/0rtI='; script-src 'self' 'sha256-eLeGwSfPmXJ+EUiLfIeXABvLiUqDbiKgNLpHITaabgQ=';
style-src 'self' 'unsafe-inline';" style-src 'self' 'unsafe-inline';"
> />
<title>Signal</title> <title>Signal</title>
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" /> <link
<link href="node_modules/react-quill/dist/quill.core.css" rel="stylesheet" type="text/css" /> href="node_modules/sanitize.css/sanitize.css"
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" /> rel="stylesheet"
type="text/css"
/>
<link
href="node_modules/react-quill/dist/quill.core.css"
rel="stylesheet"
type="text/css"
/>
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<!-- <!--
When making changes to these templates, be sure to update test/index.html as well When making changes to these templates, be sure to update test/index.html as well
--> -->
<script type='text/x-tmpl-mustache' id='app-loading-screen'> <script type="text/x-tmpl-mustache" id="app-loading-screen">
<div class='module-title-bar-drag-area'></div>
<div class='content'>
<div class="module-splash-screen__logo module-img--150"></div>
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
<div class='message'>{{ message }}</div>
</div>
</script>
<script type='text/x-tmpl-mustache' id='conversation-loading-screen'>
<div class='module-title-bar-drag-area'></div>
<div class='content'>
<div class="module-splash-screen__logo module-img--128"></div>
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
</div>
</script>
<script type='text/x-tmpl-mustache' id='two-column'>
<div class='module-title-bar-drag-area'></div>
<div class='inbox-container'>
<div class='gutter'>
<div class='left-pane-placeholder'></div>
</div>
<div class='conversation-stack'>
<div class='conversation placeholder'>
<div class='conversation-header'></div>
<div class='container'>
<div class='content'>
<div class="module-splash-screen__logo module-img--128 module-logo-blue"></div>
<h3>{{ welcomeToSignal }}</h3>
<p>{{ selectAContact }}</p>
</div>
</div>
</div>
</div>
<div class='lightbox-container'></div>
</div>
</script>
<script type='text/x-tmpl-mustache' id='banner'>
<div class='body'>
<span class='icon warning'></span>
{{ message }}
<span class='icon dismiss'></span>
</div>
</script>
<script type='text/x-tmpl-mustache' id='toast'>
{{ toastMessage }}
</script>
<script type='text/x-tmpl-mustache' id='conversation'>
<div class='conversation-header'></div>
<div class='main panel'>
<div class='timeline-placeholder' aria-live='polite'></div>
<div class='bottom-bar' id='footer'>
<div class='compose'>
<form class='send clearfix file-input'>
<input type="file" class="file-input" multiple="multiple">
<div class='composition-area-placeholder'></div>
</form>
</div>
</div>
</div>
</script>
<script type='text/x-tmpl-mustache' id='message-list'>
<div class='messages'></div>
<div class='typing-container'></div>
</script>
<script type='text/x-tmpl-mustache' id='recorder'>
<button class='close' tabIndex='2'><span class='icon'></span></button>
<span class='time'>0:00</span>
<button class='finish' tabIndex='1'><span class='icon'></span></button>
</script>
<script type='text/x-tmpl-mustache' id='identicon-svg'>
<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>
<circle cx='50' cy='50' r='40' fill='{{ color }}' />
<text text-anchor='middle' fill='white' font-family='sans-serif' font-size='24px' x='50' y='50' baseline-shift='-8px'>
{{ content }}
</text>
</svg>
</script>
<script type='text/x-tmpl-mustache' id='phone-number'>
<div class='phone-input-form'>
<div class='number-container'>
<input type='tel' class='number' placeholder="Phone Number" />
</div>
</div>
</script>
<script type='text/x-tmpl-mustache' id='file-size-modal'>
{{ file-size-warning }}
({{ limit }}{{ units }})
</script>
<script type='text/x-tmpl-mustache' id='attachment-type-modal'>
Sorry, your attachment has a type, {{type}}, that is not currently supported.
</script>
<script type='text/x-tmpl-mustache' id='group-member-list'>
<div class='container' tabindex='0'>
{{ #summary }} <div class='summary'>{{ summary }}</div>{{ /summary }}
</div>
</script>
<script type='text/x-tmpl-mustache' id='key-verification'>
<div class="container" tabindex="0">
<div class="key-verification-wrapper"></div>
</div>
</script>
<script type='text/x-tmpl-mustache' id='clear-data'>
{{#isStep1}}
<div class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon alert-outline-red'></span>
<div class='header'>{{ header }}</div>
<div class='body-text-wide'>{{ body }}</div>
</div>
<div class='nav'>
<div>
<a class='button neutral cancel'>{{ cancelButton }}</a>
<a class='button destructive delete-all-data'>{{ deleteButton }}</a>
</div>
</div>
</div>
</div>
{{/isStep1}}
{{#isStep2}}
<div id='step2' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon delete'></span>
<div class='header'>{{ deleting }}</div>
</div>
<div class='progress'>
<div class='bar-container'>
<div class='bar progress-bar progress-bar-striped active'></div>
</div>
</div>
</div>
</div>
{{/isStep2}}
</script>
<script type='text/x-tmpl-mustache' id='link-flow-template'>
<div class='module-title-bar-drag-area'></div>
{{#isStep3}}
<div id='step3' class='step'>
<div class='inner'>
<div class='step-body'>
<div class='header'>{{ linkYourPhone }}</div>
<div id="qr">
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
</div>
</div>
<div class='nav'>
<div class='instructions'>
<div class='android'>
<div class='label'>
<span class='os-icon android'></span>
</div>
<div class='body'>
<div>→ {{ signalSettings }}</div>
<div>→ {{ linkedDevices }}</div>
<div>→ {{ androidFinalStep }}</div>
</div>
</div>
<div class='apple'>
<div class='label'>
<span class='os-icon apple'></span>
</div>
<div class='body'>
<div>→ {{ signalSettings }}</div>
<div>→ {{ linkedDevices }}</div>
<div>→ {{ appleFinalStep }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
{{/isStep3}}
{{#isStep4}}
<form id='link-phone'>
<div id='step4' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon lead-pencil'></span>
<div class='header'>{{ chooseName }}</div>
<div>
<input type='text' class='device-name' spellcheck='false' maxlength='50' />
</div>
</div>
<div class='nav'>
<div>
<a class='button finish'>{{ finishLinkingPhoneButton }}</a>
</div>
</div>
</div>
</div>
</form>
{{/isStep4}}
{{#isStep5}}
<div id='step5' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon sync'></span>
<div class='header'>{{ syncing }}</div>
</div>
<div class='progress'>
<div class='bar-container'>
<div class='bar progress-bar progress-bar-striped active'></div>
</div>
</div>
</div>
</div>
{{/isStep5}}
{{#isError}}
<div id='error' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon alert-outline'></span>
<div class='header'>{{ errorHeader }}</div>
<div class='body'>{{ errorMessage }}</div>
</div>
<div class='nav'>
<a class='button try-again'>{{ errorButton }}</a>
{{#errorSecondButton}}
<a class='button second'>{{ errorSecondButton }}</a>
{{/errorSecondButton}}
</div>
</div>
</div>
{{/isError}}
</script>
<script type='text/x-tmpl-mustache' id='standalone'>
<div class='module-title-bar-drag-area'></div>
<div class='step'>
<div class='inner'>
<div class='step-body'>
<div class="banner-image module-splash-screen__logo module-img--128"></div>
<div class='header'>Create your Signal Account</div>
<div id='phone-number-input'>
<div class='phone-input-form'>
<div id='number-container' class='number-container'>
<input type='tel' class='number' placeholder='Phone Number' />
</div>
</div>
</div>
<div class='clearfix'>
<a class='button' id='request-sms'>Send SMS</a>
<a class='link' id='request-voice' tabindex='-1'>Call</a>
</div>
<input class='form-control' type='text' pattern='\s*[0-9]{3}-?[0-9]{3}\s*' title='Enter your 6-digit verification code. If you did not receive a code, click Call or Send SMS to request a new one' id='code' placeholder='Verification Code' autocomplete='off'>
<div id='error' class='collapse'></div>
<div id='status'></div>
</div>
<div class='nav'>
<a class='button' id='verifyCode' data-loading-text='Please wait...'>Register</a>
</div>
</div>
</div>
</script>
<script type='text/javascript' src='js/components.js'></script>
<script type='text/javascript' src='ts/set_os_class.js'></script>
<script type='text/javascript' src='ts/manage_full_screen_class.js'></script>
<script type='text/javascript' src='ts/backboneJquery.js'></script>
<script type='text/javascript' src='js/reliable_trigger.js'></script>
<script type='text/javascript' src='js/database.js'></script>
<script type='text/javascript' src='libtextsecure/protocol_wrapper.js'></script>
<script type='text/javascript' src='libtextsecure/protobufs.js'></script>
<script type='text/javascript' src='js/notifications.js'></script>
<script type='text/javascript' src='js/libphonenumber-util.js'></script>
<script type='text/javascript' src='js/expiring_messages.js'></script>
<script type='text/javascript' src='js/expiring_tap_to_view_messages.js'></script>
<script type='text/javascript' src='js/views/react_wrapper_view.js'></script>
<script type='text/javascript' src='js/views/key_verification_view.js'></script>
<script type='text/javascript' src='js/views/recorder_view.js'></script>
<script type='text/javascript' src='js/views/inbox_view.js'></script>
<script type='text/javascript' src='ts/shims/showConfirmationDialog.js'></script>
<script type='text/javascript' src='js/views/identicon_svg_view.js'></script>
<script type='text/javascript' src='js/views/install_view.js'></script>
<script type="text/javascript" src="js/views/phone-input-view.js"></script>
<script type='text/javascript' src='js/views/standalone_registration_view.js'></script>
<script type='text/javascript' src='js/views/clear_data_view.js'></script>
<script type='text/javascript' src='js/wall_clock_listener.js'></script>
<script type='text/javascript' src='js/rotate_signed_prekey_listener.js'></script>
<script type='text/javascript' src='js/keychange_listener.js'></script>
</head>
<body class="overflow-hidden">
<div id='app-container'>
<div class='app-loading-screen'>
<div class='module-title-bar-drag-area'></div> <div class='module-title-bar-drag-area'></div>
<div class='content'> <div class='content'>
@ -363,17 +53,366 @@
<span class='dot'></span> <span class='dot'></span>
<span class='dot'></span> <span class='dot'></span>
</div> </div>
<div class='message'></div> <div class='message'>{{ message }}</div>
</div>
</script>
<script type="text/x-tmpl-mustache" id="conversation-loading-screen">
<div class='module-title-bar-drag-area'></div>
<div class='content'>
<div class="module-splash-screen__logo module-img--128"></div>
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
</div>
</script>
<script type="text/x-tmpl-mustache" id="two-column">
<div class='module-title-bar-drag-area'></div>
<div class='inbox-container'>
<div class='gutter'>
<div class='left-pane-placeholder'></div>
</div>
<div class='conversation-stack'>
<div class='conversation placeholder'>
<div class='conversation-header'></div>
<div class='container'>
<div class='content'>
<div class="module-splash-screen__logo module-img--128 module-logo-blue"></div>
<h3>{{ welcomeToSignal }}</h3>
<p>{{ selectAContact }}</p>
</div>
</div>
</div>
</div>
<div class='lightbox-container'></div>
</div>
</script>
<script type="text/x-tmpl-mustache" id="banner">
<div class='body'>
<span class='icon warning'></span>
{{ message }}
<span class='icon dismiss'></span>
</div>
</script>
<script type="text/x-tmpl-mustache" id="toast">
{{ toastMessage }}
</script>
<script type="text/x-tmpl-mustache" id="conversation">
<div class='conversation-header'></div>
<div class='main panel'>
<div class='timeline-placeholder' aria-live='polite'></div>
<div class='bottom-bar' id='footer'>
<div class='compose'>
<form class='send clearfix file-input'>
<input type="file" class="file-input" multiple="multiple">
<div class='composition-area-placeholder'></div>
</form>
</div>
</div>
</div>
</script>
<script type="text/x-tmpl-mustache" id="message-list">
<div class='messages'></div>
<div class='typing-container'></div>
</script>
<script type="text/x-tmpl-mustache" id="recorder">
<button class='close' tabIndex='2'><span class='icon'></span></button>
<span class='time'>0:00</span>
<button class='finish' tabIndex='1'><span class='icon'></span></button>
</script>
<script type="text/x-tmpl-mustache" id="identicon-svg">
<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>
<circle cx='50' cy='50' r='40' fill='{{ color }}' />
<text text-anchor='middle' fill='white' font-family='sans-serif' font-size='24px' x='50' y='50' baseline-shift='-8px'>
{{ content }}
</text>
</svg>
</script>
<script type="text/x-tmpl-mustache" id="phone-number">
<div class='phone-input-form'>
<div class='number-container'>
<input type='tel' class='number' placeholder="Phone Number" />
</div>
</div>
</script>
<script type="text/x-tmpl-mustache" id="file-size-modal">
{{ file-size-warning }}
({{ limit }}{{ units }})
</script>
<script type="text/x-tmpl-mustache" id="attachment-type-modal">
Sorry, your attachment has a type, {{type}}, that is not currently supported.
</script>
<script type="text/x-tmpl-mustache" id="group-member-list">
<div class='container' tabindex='0'>
{{ #summary }} <div class='summary'>{{ summary }}</div>{{ /summary }}
</div>
</script>
<script type="text/x-tmpl-mustache" id="key-verification">
<div class="container" tabindex="0">
<div class="key-verification-wrapper"></div>
</div>
</script>
<script type="text/x-tmpl-mustache" id="clear-data">
{{#isStep1}}
<div class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon alert-outline-red'></span>
<div class='header'>{{ header }}</div>
<div class='body-text-wide'>{{ body }}</div>
</div>
<div class='nav'>
<div>
<a class='button neutral cancel'>{{ cancelButton }}</a>
<a class='button destructive delete-all-data'>{{ deleteButton }}</a>
</div>
</div>
</div>
</div>
{{/isStep1}}
{{#isStep2}}
<div id='step2' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon delete'></span>
<div class='header'>{{ deleting }}</div>
</div>
<div class='progress'>
<div class='bar-container'>
<div class='bar progress-bar progress-bar-striped active'></div>
</div>
</div>
</div>
</div>
{{/isStep2}}
</script>
<script type="text/x-tmpl-mustache" id="link-flow-template">
<div class='module-title-bar-drag-area'></div>
{{#isStep3}}
<div id='step3' class='step'>
<div class='inner'>
<div class='step-body'>
<div class='header'>{{ linkYourPhone }}</div>
<div id="qr">
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
</div>
</div>
<div class='nav'>
<div class='instructions'>
<div class='android'>
<div class='label'>
<span class='os-icon android'></span>
</div>
<div class='body'>
<div>→ {{ signalSettings }}</div>
<div>→ {{ linkedDevices }}</div>
<div>→ {{ androidFinalStep }}</div>
</div>
</div>
<div class='apple'>
<div class='label'>
<span class='os-icon apple'></span>
</div>
<div class='body'>
<div>→ {{ signalSettings }}</div>
<div>→ {{ linkedDevices }}</div>
<div>→ {{ appleFinalStep }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
{{/isStep3}}
{{#isStep4}}
<form id='link-phone'>
<div id='step4' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon lead-pencil'></span>
<div class='header'>{{ chooseName }}</div>
<div>
<input type='text' class='device-name' spellcheck='false' maxlength='50' />
</div>
</div>
<div class='nav'>
<div>
<a class='button finish'>{{ finishLinkingPhoneButton }}</a>
</div>
</div>
</div>
</div>
</form>
{{/isStep4}}
{{#isStep5}}
<div id='step5' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon sync'></span>
<div class='header'>{{ syncing }}</div>
</div>
<div class='progress'>
<div class='bar-container'>
<div class='bar progress-bar progress-bar-striped active'></div>
</div>
</div>
</div>
</div>
{{/isStep5}}
{{#isError}}
<div id='error' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon alert-outline'></span>
<div class='header'>{{ errorHeader }}</div>
<div class='body'>{{ errorMessage }}</div>
</div>
<div class='nav'>
<a class='button try-again'>{{ errorButton }}</a>
{{#errorSecondButton}}
<a class='button second'>{{ errorSecondButton }}</a>
{{/errorSecondButton}}
</div>
</div>
</div>
{{/isError}}
</script>
<script type="text/x-tmpl-mustache" id="standalone">
<div class='module-title-bar-drag-area'></div>
<div class='step'>
<div class='inner'>
<div class='step-body'>
<div class="banner-image module-splash-screen__logo module-img--128"></div>
<div class='header'>Create your Signal Account</div>
<div id='phone-number-input'>
<div class='phone-input-form'>
<div id='number-container' class='number-container'>
<input type='tel' class='number' placeholder='Phone Number' />
</div>
</div>
</div>
<div class='clearfix'>
<a class='button' id='request-sms'>Send SMS</a>
<a class='link' id='request-voice' tabindex='-1'>Call</a>
</div>
<input class='form-control' type='text' pattern='\s*[0-9]{3}-?[0-9]{3}\s*' title='Enter your 6-digit verification code. If you did not receive a code, click Call or Send SMS to request a new one' id='code' placeholder='Verification Code' autocomplete='off'>
<div id='error' class='collapse'></div>
<div id='status'></div>
</div>
<div class='nav'>
<a class='button' id='verifyCode' data-loading-text='Please wait...'>Register</a>
</div>
</div>
</div>
</script>
<script type="text/javascript" src="js/components.js"></script>
<script type="text/javascript" src="ts/set_os_class.js"></script>
<script
type="text/javascript"
src="ts/manage_full_screen_class.js"
></script>
<script type="text/javascript" src="ts/backboneJquery.js"></script>
<script type="text/javascript" src="js/reliable_trigger.js"></script>
<script type="text/javascript" src="js/database.js"></script>
<script
type="text/javascript"
src="libtextsecure/protocol_wrapper.js"
></script>
<script type="text/javascript" src="libtextsecure/protobufs.js"></script>
<script type="text/javascript" src="js/notifications.js"></script>
<script type="text/javascript" src="js/libphonenumber-util.js"></script>
<script type="text/javascript" src="js/expiring_messages.js"></script>
<script
type="text/javascript"
src="js/expiring_tap_to_view_messages.js"
></script>
<script
type="text/javascript"
src="js/views/react_wrapper_view.js"
></script>
<script
type="text/javascript"
src="js/views/key_verification_view.js"
></script>
<script type="text/javascript" src="js/views/recorder_view.js"></script>
<script type="text/javascript" src="js/views/inbox_view.js"></script>
<script
type="text/javascript"
src="ts/shims/showConfirmationDialog.js"
></script>
<script
type="text/javascript"
src="js/views/identicon_svg_view.js"
></script>
<script type="text/javascript" src="js/views/install_view.js"></script>
<script type="text/javascript" src="js/views/phone-input-view.js"></script>
<script
type="text/javascript"
src="js/views/standalone_registration_view.js"
></script>
<script type="text/javascript" src="js/views/clear_data_view.js"></script>
<script type="text/javascript" src="js/wall_clock_listener.js"></script>
<script
type="text/javascript"
src="js/rotate_signed_prekey_listener.js"
></script>
<script type="text/javascript" src="js/keychange_listener.js"></script>
</head>
<body class="overflow-hidden">
<div id="app-container">
<div class="app-loading-screen">
<div class="module-title-bar-drag-area"></div>
<div class="content">
<div class="module-splash-screen__logo module-img--150"></div>
<div class="container">
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div>
<div class="message"></div>
</div>
</div> </div>
</div> </div>
</div>
<!-- <!--
Note: this inline script cannot be changed without also changing the hash in Note: this inline script cannot be changed without also changing the hash in
the CSP at the top of this file the CSP at the top of this file
--> -->
<script type='text/javascript'> <script type="text/javascript">
window.startApp(); window.startApp();
</script> </script>
</body> </body>
</html> </html>

View file

@ -1,10 +1,11 @@
<!-- Copyright 2018-2020 Signal Messenger, LLC --> <!-- Copyright 2018-2021 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<html> <html>
<head> <head>
<meta http-equiv="Content-Security-Policy" <meta
content="default-src 'none'; http-equiv="Content-Security-Policy"
content="default-src 'none';
child-src 'self'; child-src 'self';
connect-src 'self' https: wss:; connect-src 'self' https: wss:;
font-src 'self'; font-src 'self';
@ -15,46 +16,48 @@
object-src 'none'; object-src 'none';
script-src 'self'; script-src 'self';
style-src 'self' 'unsafe-inline';" style-src 'self' 'unsafe-inline';"
> />
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" /> <link
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" /> href="node_modules/sanitize.css/sanitize.css"
<style> rel="stylesheet"
</style> type="text/css"
</head> />
<body class='debug-log-window'> <link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
</body> <style></style>
<script type='text/x-tmpl-mustache' id='debug-log'> </head>
<div class='content'> <body class="debug-log-window"></body>
<div> <script type="text/x-tmpl-mustache" id="debug-log">
<a class='x close' alt='close debug log' href='#'></a> <div class='content'>
<h1> {{ title }} </h1> <div>
<p> {{ debugLogExplanation }}</p> <a class='x close' alt='close debug log' href='#'></a>
<h1> {{ title }} </h1>
<p> {{ debugLogExplanation }}</p>
</div>
<textarea class='textarea' spellcheck='false' rows='5'></textarea>
<div class='buttons'>
<button class='grey submit'>{{ submit }}</button>
</div>
<div class='result'>
</div>
</div> </div>
<textarea class='textarea' spellcheck='false' rows='5'></textarea> </script>
<div class='buttons'> <script type="text/x-tmpl-mustache" id="debug-log-link">
<button class='grey submit'>{{ submit }}</button> <div class='input-group clearfix'>
<input type='text' class='link' readonly value='{{ url }}' />
<a class='copy' alt='{{ debugLogCopyAlt }}' target='_blank' href='{{ url }}'>{{ debugLogCopy }}</a>
</div> </div>
<div class='result'> <p>
</div> <a class='report-link' target='_blank'
</div> href='https://support.signal.org/hc/requests/new'>
</script> {{ reportIssue }}
<script type='text/x-tmpl-mustache' id='debug-log-link'> </a>
<div class='input-group clearfix'> </p>
<input type='text' class='link' readonly value='{{ url }}' /> </script>
<a class='copy' alt='{{ debugLogCopyAlt }}' target='_blank' href='{{ url }}'>{{ debugLogCopy }}</a> <script type="text/x-tmpl-mustache" id="toast">
</div> {{ toastMessage }}
<p> </script>
<a class='report-link' target='_blank' <script type="text/javascript" src="js/components.js"></script>
href='https://support.signal.org/hc/requests/new'> <script type="text/javascript" src="ts/backboneJquery.js"></script>
{{ reportIssue }} <script type="text/javascript" src="js/views/debug_log_view.js"></script>
</a> <script type="text/javascript" src="js/debug_log_start.js"></script>
</p>
</script>
<script type='text/x-tmpl-mustache' id='toast'>
{{ toastMessage }}
</script>
<script type='text/javascript' src='js/components.js'></script>
<script type='text/javascript' src='ts/backboneJquery.js'></script>
<script type='text/javascript' src='js/views/debug_log_view.js'></script>
<script type='text/javascript' src='js/debug_log_start.js'></script>
</html> </html>

View file

@ -1,30 +1,33 @@
<!-- Copyright 2014-2020 Signal Messenger, LLC --> <!-- Copyright 2014-2021 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<!DOCTYPE html> <!DOCTYPE html>
<html class='no-js' lang='en'> <html class="no-js" lang="en">
<head> <head>
<meta charset='utf-8'> <meta charset="utf-8" />
<meta content='width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0' name='viewport'> <meta
<meta http-equiv="X-UA-Compatible" content="IE=edge"> content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"
<title>Signal</title> name="viewport"
<meta name="description" content=""> />
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/stylesheets/manifest.css" rel="stylesheet" type="text/css" /> <title>Signal</title>
<script type="text/javascript" src="js/chromium.js"></script> <meta name="description" content="" />
</head> <meta name="viewport" content="width=device-width, initial-scale=1" />
<body id="signal-container" class='signal index'> <link href="/stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<div class='app-loading-screen'> <script type="text/javascript" src="js/chromium.js"></script>
<div class='content'> </head>
<div class="module-splash-screen__logo module-img--150"></div> <body id="signal-container" class="signal index">
<div class='container'> <div class="app-loading-screen">
<span class='dot'></span> <div class="content">
<span class='dot'></span> <div class="module-splash-screen__logo module-img--150"></div>
<span class='dot'></span> <div class="container">
</div> <span class="dot"></span>
<div class='message'></div> <span class="dot"></span>
</div> <span class="dot"></span>
</div> </div>
<script type="text/javascript" src="js/index.js"></script> <div class="message"></div>
</body> </div>
</div>
<script type="text/javascript" src="js/index.js"></script>
</body>
</html> </html>

View file

@ -1,51 +1,61 @@
<!-- Copyright 2015-2020 Signal Messenger, LLC --> <!-- Copyright 2015-2021 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<html> <html>
<head>
<meta charset="utf-8" />
<title>libtextsecure test runner</title>
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<div id="tests"></div>
<head> <script type="text/javascript" src="fake_web_api.js"></script>
<meta charset='utf-8'>
<title>libtextsecure test runner</title>
<link rel="stylesheet" href="../../node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"> <script type="text/javascript" src="test.js"></script>
</div> <script
<div id="tests"> type="text/javascript"
</div> src="in_memory_signal_protocol_store.js"
></script>
<script type="text/javascript" src="fake_web_api.js"></script> <script type="text/javascript" src="../components.js"></script>
<script type="text/javascript" src="../protobufs.js" data-cover></script>
<script
type="text/javascript"
src="../protocol_wrapper.js"
data-cover
></script>
<script type="text/javascript" src="test.js"></script> <script
<script type="text/javascript" src="in_memory_signal_protocol_store.js"></script> type="text/javascript"
src="../../js/libphonenumber-util.js"
></script>
<script
type="text/javascript"
src="../../js/components.js"
data-cover
></script>
<script type="text/javascript" src="../components.js"></script> <script type="text/javascript" src="helpers_test.js"></script>
<script type="text/javascript" src="../protobufs.js" data-cover></script> <script type="text/javascript" src="crypto_test.js"></script>
<script type="text/javascript" src="../protocol_wrapper.js" data-cover></script> <script type="text/javascript" src="contacts_parser_test.js"></script>
<script type="text/javascript" src="generate_keys_test.js"></script>
<script type="text/javascript" src="task_with_timeout_test.js"></script>
<script type="text/javascript" src="account_manager_test.js"></script>
<script type="text/javascript" src="message_receiver_test.js"></script>
<script type="text/javascript" src="sendmessage_test.js"></script>
<script type="text/javascript" src="../../js/libphonenumber-util.js"></script> <!-- Comment out to turn off code coverage. Useful for getting real callstacks. -->
<script type="text/javascript" src="../../js/components.js" data-cover></script> <!-- NOTE: blanket doesn't support modern syntax and will choke until we find a replacement. :0( -->
<!-- <script type="text/javascript" src="blanket_mocha.js"></script> -->
<script type="text/javascript" src="helpers_test.js"></script> <!-- Uncomment to start tests without code coverage enabled -->
<script type="text/javascript" src="crypto_test.js"></script> <script type="text/javascript">
<script type="text/javascript" src="contacts_parser_test.js"></script> window.textsecure.protobuf.onLoad(() => {
<script type="text/javascript" src="generate_keys_test.js"></script> mocha.run();
<script type="text/javascript" src="task_with_timeout_test.js"></script> window.Signal.conversationControllerStart();
<script type="text/javascript" src="account_manager_test.js"></script> });
<script type="text/javascript" src="message_receiver_test.js"></script> </script>
<script type="text/javascript" src="sendmessage_test.js"></script> </body>
<!-- Comment out to turn off code coverage. Useful for getting real callstacks. -->
<!-- NOTE: blanket doesn't support modern syntax and will choke until we find a replacement. :0( -->
<!-- <script type="text/javascript" src="blanket_mocha.js"></script> -->
<!-- Uncomment to start tests without code coverage enabled -->
<script type="text/javascript">
window.textsecure.protobuf.onLoad(() => {
mocha.run();
window.Signal.conversationControllerStart();
});
</script>
</body>
</html> </html>

View file

@ -1,4 +1,4 @@
<!-- Copyright 2020 Signal Messenger, LLC --> <!-- Copyright 2020-2021 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<!DOCTYPE html> <!DOCTYPE html>
@ -22,7 +22,7 @@
<div class="message"></div> <div class="message"></div>
</div> </div>
<script type="text/javascript" src="js/components.js"></script> <script type="text/javascript" src="js/components.js"></script>
<script type='text/javascript' src='ts/backboneJquery.js'></script> <script type="text/javascript" src="ts/backboneJquery.js"></script>
<script type="text/javascript" src="js/loading_start.js"></script> <script type="text/javascript" src="js/loading_start.js"></script>
</body> </body>
</html> </html>

View file

@ -35,7 +35,7 @@
"lint": "yarn format --list-different && yarn eslint", "lint": "yarn format --list-different && yarn eslint",
"lint-deps": "node ts/util/lint/linter.js", "lint-deps": "node ts/util/lint/linter.js",
"lint-license-comments": "ts-node ts/util/lint/license_comments.ts", "lint-license-comments": "ts-node ts/util/lint/license_comments.ts",
"format": "prettier --write \"*.{css,js,json,md,scss,ts,tsx}\" \"./**/*.{css,js,json,md,scss,ts,tsx}\"", "format": "prettier --write \"*.{html,css,js,json,md,scss,ts,tsx}\" \"./**/*.{html,css,js,json,md,scss,ts,tsx}\"",
"transpile": "tsc", "transpile": "tsc",
"clean-transpile": "rimraf ts/**/*.js && rimraf ts/**/*.js && rimraf ts/*.js && rimraf ts/*.js && rimraf tsconfig.tsbuildinfo && rimraf tsconfig.tsbuildinfo", "clean-transpile": "rimraf ts/**/*.js && rimraf ts/**/*.js && rimraf ts/*.js && rimraf ts/*.js && rimraf tsconfig.tsbuildinfo && rimraf tsconfig.tsbuildinfo",
"open-coverage": "open coverage/lcov-report/index.html", "open-coverage": "open coverage/lcov-report/index.html",

View file

@ -1,10 +1,11 @@
<!-- Copyright 2018-2020 Signal Messenger, LLC --> <!-- Copyright 2018-2021 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<html> <html>
<head> <head>
<meta http-equiv="Content-Security-Policy" <meta
content="default-src 'none'; http-equiv="Content-Security-Policy"
content="default-src 'none';
child-src 'self'; child-src 'self';
connect-src 'self' https: wss:; connect-src 'self' https: wss:;
font-src 'self'; font-src 'self';
@ -15,16 +16,21 @@
object-src 'none'; object-src 'none';
script-src 'self'; script-src 'self';
style-src 'self' 'unsafe-inline';" style-src 'self' 'unsafe-inline';"
> />
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" /> <link
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" /> href="node_modules/sanitize.css/sanitize.css"
<style> rel="stylesheet"
</style> type="text/css"
</head> />
<body class='permissions-popup'> <link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
</body> <style></style>
<script type='text/javascript' src='js/components.js'></script> </head>
<script type='text/javascript' src='ts/backboneJquery.js'></script> <body class="permissions-popup"></body>
<script type='text/javascript' src='ts/shims/showConfirmationDialog.js'></script> <script type="text/javascript" src="js/components.js"></script>
<script type='text/javascript' src='js/permissions_popup_start.js'></script> <script type="text/javascript" src="ts/backboneJquery.js"></script>
<script
type="text/javascript"
src="ts/shims/showConfirmationDialog.js"
></script>
<script type="text/javascript" src="js/permissions_popup_start.js"></script>
</html> </html>

View file

@ -2,21 +2,29 @@
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<html> <html>
<head> <head>
<meta http-equiv="Content-Security-Policy" <meta
content="default-src 'none'; http-equiv="Content-Security-Policy"
content="default-src 'none';
font-src 'self'; font-src 'self';
img-src 'self' blob: data:; img-src 'self' blob: data:;
media-src 'self' blob:; media-src 'self' blob:;
object-src 'none'; object-src 'none';
script-src 'self'; script-src 'self';
style-src 'self' 'unsafe-inline';" style-src 'self' 'unsafe-inline';"
> />
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" /> <link
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" /> href="node_modules/sanitize.css/sanitize.css"
</head> rel="stylesheet"
<body> type="text/css"
<div id="app"></div> />
<script type='application/javascript' src='ts/windows/screenShare.js'></script> <link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
</body> </head>
<body>
<div id="app"></div>
<script
type="application/javascript"
src="ts/windows/screenShare.js"
></script>
</body>
</html> </html>

View file

@ -2,9 +2,10 @@
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<html> <html>
<head> <head>
<meta http-equiv="Content-Security-Policy" <meta
content="default-src 'none'; http-equiv="Content-Security-Policy"
content="default-src 'none';
child-src 'self'; child-src 'self';
connect-src 'self' https: wss:; connect-src 'self' https: wss:;
font-src 'self'; font-src 'self';
@ -15,15 +16,17 @@
object-src 'none'; object-src 'none';
script-src 'self'; script-src 'self';
style-src 'self' 'unsafe-inline';" style-src 'self' 'unsafe-inline';"
> />
<link href="node_modules/sanitize.css/sanitize.css" rel="stylesheet" type="text/css" /> <link
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" /> href="node_modules/sanitize.css/sanitize.css"
<style> rel="stylesheet"
</style> type="text/css"
</head> />
<body> <link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
</body> <style></style>
<script type='text/x-tmpl-mustache' id='syncSettings'> </head>
<body></body>
<script type="text/x-tmpl-mustache" id="syncSettings">
<hr> <hr>
<h3>{{ sync }}</h3> <h3>{{ sync }}</h3>
<div> <div>
@ -37,8 +40,8 @@
<div class='clearfix'></div> <div class='clearfix'></div>
</p> </p>
</div> </div>
</script> </script>
<script type='text/x-tmpl-mustache' id='disappearingMessagesSettings'> <script type="text/x-tmpl-mustache" id="disappearingMessagesSettings">
<h3>{{ title }}</h3> <h3>{{ title }}</h3>
<div class="disappearing-messages-setting__timer {{#customInfo}}disappearing-messages-setting__timer--with-info{{/customInfo}}"> <div class="disappearing-messages-setting__timer {{#customInfo}}disappearing-messages-setting__timer--with-info{{/customInfo}}">
<label <label
@ -73,147 +76,147 @@
<div class='disappearing-messages-setting__footer'> <div class='disappearing-messages-setting__footer'>
{{ footer }} {{ footer }}
</div> </div>
</script> </script>
<script type='text/x-tmpl-mustache' id='settings'> <script type="text/x-tmpl-mustache" id="settings">
<div class='content'> <div class='content'>
<a class='x close' alt='close settings' href='#'></a> <a class='x close' alt='close settings' href='#'></a>
<h2>{{ settings }}</h2> <h2>{{ settings }}</h2>
<div class='device-name-settings'> <div class='device-name-settings'>
<b>{{ deviceNameLabel }}:</b> {{ deviceName }} <b>{{ deviceNameLabel }}:</b> {{ deviceName }}
</div>
<hr>
<div class='theme-settings'>
<h3>{{ theme }}</h3>
{{#hasSystemTheme}}
<div>
<input type='radio' name='theme' id='theme-setting-system' value='system'>
<label for='theme-setting-system'>{{ themeSystem }}</label>
</div>
{{/hasSystemTheme}}
<div>
<input type='radio' name='theme' id='theme-setting-light' value='light'>
<label for='theme-setting-light'>{{ themeLight }}</label>
</div> </div>
<div> <hr>
<input type='radio' name='theme' id='theme-setting-dark' value='dark'> <div class='theme-settings'>
<label for='theme-setting-dark'>{{ themeDark }}</label> <h3>{{ theme }}</h3>
</div> {{#hasSystemTheme}}
</div> <div>
<br /> <input type='radio' name='theme' id='theme-setting-system' value='system'>
{{ #isHideMenuBarSupported }} <label for='theme-setting-system'>{{ themeSystem }}</label>
<div class='menu-bar-setting'>
<input type='checkbox' name='hide-menu-bar' id='hide-menu-bar'/>
<label for='hide-menu-bar'>{{ hideMenuBar }}</label>
</div>
{{ /isHideMenuBarSupported }}
<hr>
<div class='notification-settings'>
<h3>{{ notifications }}</h3>
<p>{{ notificationSettingsDialog }}</p>
<div>
<input type='radio' name='notifications' id='notification-setting-message' value='message'>
<label for='notification-setting-message'>{{ nameAndMessage }} </label>
</div>
<div>
<input type='radio' name='notifications' id='notification-setting-name' value='name'/>
<label for='notification-setting-name'>{{ nameOnly }} </label>
</div>
<div>
<input type='radio' name='notifications' id='notification-setting-count' value='count'/>
<label for='notification-setting-count'>{{ noNameOrMessage }} </label>
</div>
<div>
<input type='radio' name='notifications' id='notification-setting-off' value='off'/>
<label for='notification-setting-off'>{{ disableNotifications }} </label>
</div>
</div>
{{ #isDrawAttentionSupported }}
<br />
<div class='draw-attention-setting'>
<input type='checkbox' name='notification-draw-attention' id='notification-draw-attention'/>
<label for='notification-draw-attention'>{{ notificationDrawAttention }}</label>
</div>
{{ /isDrawAttentionSupported }}
<br />
{{ #isAudioNotificationSupported }}
<div class='audio-notification-setting'>
<input type='checkbox' name='audio-notification' id='audio-notification'/>
<label for='audio-notification'>{{ audioNotificationDescription }}</label>
</div>
{{ /isAudioNotificationSupported }}
<div class='badge-count-muted-conversations-setting'>
<input type='checkbox' name='badge-count-muted-conversations' id='badge-count-muted-conversations'/>
<label for='badge-count-muted-conversations'>{{ countMutedConversationsDescription }}</label>
</div>
<hr>
<h3>{{ generalHeader }}</h3>
<div class='spell-check-setting'>
<input type='checkbox' name='spell-check-setting' id='spell-check-setting' />
<label for='spell-check-setting'>{{ spellCheckDescription }}</label>
<p class='spell-check-setting-message' style='display: {{ spellCheckDisplay }};' aria-hidden='{{ spellCheckHidden }}'>
{{ spellCheckDirtyText }}
</p>
</div>
{{ #isAutoLaunchSupported }}
<div class='auto-launch-setting'>
<input type='checkbox' name='auto-launch-setting' id='auto-launch-setting' />
<label for='auto-launch-setting'>{{ autoLaunchDescription }}</label>
</div>
{{ /isAutoLaunchSupported }}
<hr>
<div class='calling-setting'>
<h3>{{ calling }}</h3>
<div class='always-relay-calls-setting'>
<input type='checkbox' name='always-relay-calls' id='always-relay-calls' />
<label for='always-relay-calls'>{{ alwaysRelayCallsDescription }}</label>
<p>
<div class='detail'>
{{ alwaysRelayCallsDetail }}
</div> </div>
</p> {{/hasSystemTheme}}
<div>
<input type='radio' name='theme' id='theme-setting-light' value='light'>
<label for='theme-setting-light'>{{ themeLight }}</label>
</div>
<div>
<input type='radio' name='theme' id='theme-setting-dark' value='dark'>
<label for='theme-setting-dark'>{{ themeDark }}</label>
</div>
</div> </div>
<div class='call-ringtone-notification-setting'> <br />
<input type='checkbox' name='call-ringtone-notification' id='call-ringtone-notification'/> {{ #isHideMenuBarSupported }}
<label for='call-ringtone-notification'>{{ callRingtoneNotificationDescription }}</label> <div class='menu-bar-setting'>
<input type='checkbox' name='hide-menu-bar' id='hide-menu-bar'/>
<label for='hide-menu-bar'>{{ hideMenuBar }}</label>
</div> </div>
<div class='call-system-notification-setting'> {{ /isHideMenuBarSupported }}
<input type='checkbox' name='call-system-notification' id='call-system-notification'/> <hr>
<label for='call-system-notification'>{{ callSystemNotificationDescription }}</label> <div class='notification-settings'>
<h3>{{ notifications }}</h3>
<p>{{ notificationSettingsDialog }}</p>
<div>
<input type='radio' name='notifications' id='notification-setting-message' value='message'>
<label for='notification-setting-message'>{{ nameAndMessage }} </label>
</div>
<div>
<input type='radio' name='notifications' id='notification-setting-name' value='name'/>
<label for='notification-setting-name'>{{ nameOnly }} </label>
</div>
<div>
<input type='radio' name='notifications' id='notification-setting-count' value='count'/>
<label for='notification-setting-count'>{{ noNameOrMessage }} </label>
</div>
<div>
<input type='radio' name='notifications' id='notification-setting-off' value='off'/>
<label for='notification-setting-off'>{{ disableNotifications }} </label>
</div>
</div> </div>
<div class='incoming-call-notification-setting'> {{ #isDrawAttentionSupported }}
<input type='checkbox' name='incoming-call-notification' id='incoming-call-notification'/> <br />
<label for='incoming-call-notification'>{{ incomingCallNotificationDescription }}</label> <div class='draw-attention-setting'>
<input type='checkbox' name='notification-draw-attention' id='notification-draw-attention'/>
<label for='notification-draw-attention'>{{ notificationDrawAttention }}</label>
</div>
{{ /isDrawAttentionSupported }}
<br />
{{ #isAudioNotificationSupported }}
<div class='audio-notification-setting'>
<input type='checkbox' name='audio-notification' id='audio-notification'/>
<label for='audio-notification'>{{ audioNotificationDescription }}</label>
</div>
{{ /isAudioNotificationSupported }}
<div class='badge-count-muted-conversations-setting'>
<input type='checkbox' name='badge-count-muted-conversations' id='badge-count-muted-conversations'/>
<label for='badge-count-muted-conversations'>{{ countMutedConversationsDescription }}</label>
</div>
<hr>
<h3>{{ generalHeader }}</h3>
<div class='spell-check-setting'>
<input type='checkbox' name='spell-check-setting' id='spell-check-setting' />
<label for='spell-check-setting'>{{ spellCheckDescription }}</label>
<p class='spell-check-setting-message' style='display: {{ spellCheckDisplay }};' aria-hidden='{{ spellCheckHidden }}'>
{{ spellCheckDirtyText }}
</p>
</div>
{{ #isAutoLaunchSupported }}
<div class='auto-launch-setting'>
<input type='checkbox' name='auto-launch-setting' id='auto-launch-setting' />
<label for='auto-launch-setting'>{{ autoLaunchDescription }}</label>
</div>
{{ /isAutoLaunchSupported }}
<hr>
<div class='calling-setting'>
<h3>{{ calling }}</h3>
<div class='always-relay-calls-setting'>
<input type='checkbox' name='always-relay-calls' id='always-relay-calls' />
<label for='always-relay-calls'>{{ alwaysRelayCallsDescription }}</label>
<p>
<div class='detail'>
{{ alwaysRelayCallsDetail }}
</div>
</p>
</div>
<div class='call-ringtone-notification-setting'>
<input type='checkbox' name='call-ringtone-notification' id='call-ringtone-notification'/>
<label for='call-ringtone-notification'>{{ callRingtoneNotificationDescription }}</label>
</div>
<div class='call-system-notification-setting'>
<input type='checkbox' name='call-system-notification' id='call-system-notification'/>
<label for='call-system-notification'>{{ callSystemNotificationDescription }}</label>
</div>
<div class='incoming-call-notification-setting'>
<input type='checkbox' name='incoming-call-notification' id='incoming-call-notification'/>
<label for='incoming-call-notification'>{{ incomingCallNotificationDescription }}</label>
</div>
</div>
<hr>
<div class='permissions-setting'>
<h3>{{ permissions }}</h3>
<div class='media-permissions'>
<input type='checkbox' name='media-permissions' id='media-permissions' />
<label for='media-permissions'>{{ mediaPermissionsDescription }}</label>
</div>
<div class='media-camera-permissions'>
<input type='checkbox' name='media-camera-permissions' id='media-camera-permissions' />
<label for='media-camera-permissions'>{{ mediaCameraPermissionsDescription }}</label>
</div>
</div>
<div class='sync-setting'></div>
<hr>
<div class='disappearing-messages-setting'>
</div>
<hr>
<div class='clear-data-settings'>
<h3>{{ clearDataHeader }}</h3>
<div>
<button class='grey destructive clear-data'>{{ clearDataButton }}</button>
<p>{{ clearDataExplanation }}</p>
</div>
</div> </div>
</div> </div>
<hr> </script>
<div class='permissions-setting'> <script type="text/javascript" src="js/components.js"></script>
<h3>{{ permissions }}</h3> <script type="text/javascript" src="ts/backboneJquery.js"></script>
<div class='media-permissions'> <script type="text/javascript" src="js/views/react_wrapper_view.js"></script>
<input type='checkbox' name='media-permissions' id='media-permissions' /> <script type="text/javascript" src="js/views/settings_view.js"></script>
<label for='media-permissions'>{{ mediaPermissionsDescription }}</label> <script type="text/javascript" src="js/settings_start.js"></script>
</div>
<div class='media-camera-permissions'>
<input type='checkbox' name='media-camera-permissions' id='media-camera-permissions' />
<label for='media-camera-permissions'>{{ mediaCameraPermissionsDescription }}</label>
</div>
</div>
<div class='sync-setting'></div>
<hr>
<div class='disappearing-messages-setting'>
</div>
<hr>
<div class='clear-data-settings'>
<h3>{{ clearDataHeader }}</h3>
<div>
<button class='grey destructive clear-data'>{{ clearDataButton }}</button>
<p>{{ clearDataExplanation }}</p>
</div>
</div>
</div>
</script>
<script type='text/javascript' src='js/components.js'></script>
<script type='text/javascript' src='ts/backboneJquery.js'></script>
<script type='text/javascript' src='js/views/react_wrapper_view.js'></script>
<script type='text/javascript' src='js/views/settings_view.js'></script>
<script type='text/javascript' src='js/settings_start.js'></script>
</html> </html>

View file

@ -1,17 +1,23 @@
<!-- Copyright 2019-2020 Signal Messenger, LLC --> <!-- Copyright 2019-2021 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<!doctype html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel="stylesheet" href="../../stylesheets/manifest_bridge.css" /> <link rel="stylesheet" href="../../stylesheets/manifest_bridge.css" />
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script type="text/javascript" src="../../js/components.js"></script> <script type="text/javascript" src="../../js/components.js"></script>
<script type="text/javascript" src="../../ts/backbonejQuery.js"></script> <script type="text/javascript" src="../../ts/backbonejQuery.js"></script>
<script type='text/javascript' src='../../libtextsecure/protocol_wrapper.js'></script> <script
<script type='text/javascript' src='../../libtextsecure/protobufs.js'></script> type="text/javascript"
</body> src="../../libtextsecure/protocol_wrapper.js"
></script>
<script
type="text/javascript"
src="../../libtextsecure/protobufs.js"
></script>
</body>
</html> </html>

View file

@ -1,376 +1,439 @@
<!-- Copyright 2014-2020 Signal Messenger, LLC --> <!-- Copyright 2014-2021 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only --> <!-- SPDX-License-Identifier: AGPL-3.0-only -->
<html> <html>
<head>
<meta charset="utf-8" />
<title>TextSecure test runner</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<link rel="stylesheet" href="../stylesheets/manifest.css" />
</head>
<body>
<div id="mocha"></div>
<div id="tests"></div>
<head> <script type="text/x-tmpl-mustache" id="app-loading-screen">
<meta charset='utf-8'> <div class='module-title-bar-drag-area'></div>
<title>TextSecure test runner</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<link rel="stylesheet" href="../stylesheets/manifest.css" />
</head>
<body>
<div id="mocha"></div>
<div id="tests"></div>
<script type='text/x-tmpl-mustache' id='app-loading-screen'> <div class='content'>
<div class='module-title-bar-drag-area'></div> <div class="module-splash-screen__logo module-img--150"></div>
<div class='container'>
<div class='content'> <span class='dot'></span>
<div class="module-splash-screen__logo module-img--150"></div> <span class='dot'></span>
<div class='container'> <span class='dot'></span>
<span class='dot'></span> </div>
<span class='dot'></span> <div class='message'>{{ message }}</div>
<span class='dot'></span>
</div> </div>
<div class='message'>{{ message }}</div> </script>
</div>
</script>
<script type='text/x-tmpl-mustache' id='conversation-loading-screen'> <script type="text/x-tmpl-mustache" id="conversation-loading-screen">
<div class='module-title-bar-drag-area'></div> <div class='module-title-bar-drag-area'></div>
<div class='content'> <div class='content'>
<div class="module-splash-screen__logo module-img--128"></div> <div class="module-splash-screen__logo module-img--128"></div>
<div class='container'> <div class='container'>
<span class='dot'></span> <span class='dot'></span>
<span class='dot'></span> <span class='dot'></span>
<span class='dot'></span> <span class='dot'></span>
</div>
</div> </div>
</div> </script>
</script>
<script type='text/x-tmpl-mustache' id='two-column'> <script type="text/x-tmpl-mustache" id="two-column">
<div class='module-title-bar-drag-area'></div> <div class='module-title-bar-drag-area'></div>
<div class='inbox-container'> <div class='inbox-container'>
<div class='gutter'> <div class='gutter'>
<div class='left-pane-placeholder'></div> <div class='left-pane-placeholder'></div>
</div> </div>
<div class='conversation-stack'> <div class='conversation-stack'>
<div class='conversation placeholder'> <div class='conversation placeholder'>
<div class='conversation-header'></div> <div class='conversation-header'></div>
<div class='container'> <div class='container'>
<div class='content'> <div class='content'>
<div class="module-splash-screen__logo module-img--128 module-logo-blue"></div> <div class="module-splash-screen__logo module-img--128 module-logo-blue"></div>
<h3>{{ welcomeToSignal }}</h3> <h3>{{ welcomeToSignal }}</h3>
<p>{{ selectAContact }}</p> <p>{{ selectAContact }}</p>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class='lightbox-container'></div>
</div> </div>
<div class='lightbox-container'></div> </script>
</div>
</script>
<script type='text/x-tmpl-mustache' id='scroll-down-button-view'> <script type="text/x-tmpl-mustache" id="scroll-down-button-view">
<button class='text module-scroll-down__button {{ buttonClass }}' alt='{{ moreBelow }}'> <button class='text module-scroll-down__button {{ buttonClass }}' alt='{{ moreBelow }}'>
<div class='module-scroll-down__icon'></div> <div class='module-scroll-down__icon'></div>
</button> </button>
</script> </script>
<script type='text/x-tmpl-mustache' id='last-seen-indicator-view'> <script type="text/x-tmpl-mustache" id="last-seen-indicator-view">
<div class='module-last-seen-indicator__bar'/> <div class='module-last-seen-indicator__bar'/>
<div class='module-last-seen-indicator__text'> <div class='module-last-seen-indicator__text'>
{{ unreadMessages }} {{ unreadMessages }}
</div> </div>
</script> </script>
<script type='text/x-tmpl-mustache' id='banner'> <script type="text/x-tmpl-mustache" id="banner">
<div class='body'> <div class='body'>
<span class='icon warning'></span> <span class='icon warning'></span>
{{ message }} {{ message }}
<span class='icon dismiss'></span> <span class='icon dismiss'></span>
</div> </div>
</script> </script>
<script type='text/x-tmpl-mustache' id='toast'> <script type="text/x-tmpl-mustache" id="toast">
{{ toastMessage }} {{ toastMessage }}
</script> </script>
<script type='text/x-tmpl-mustache' id='conversation'> <script type="text/x-tmpl-mustache" id="conversation">
<div class='conversation-header'></div> <div class='conversation-header'></div>
<div class='main panel'> <div class='main panel'>
<div class='timeline-placeholder' aria-live='polite'></div> <div class='timeline-placeholder' aria-live='polite'></div>
<div class='bottom-bar' id='footer'> <div class='bottom-bar' id='footer'>
<div class='compose'> <div class='compose'>
<form class='send clearfix file-input'> <form class='send clearfix file-input'>
<input type="file" class="file-input" multiple="multiple"> <input type="file" class="file-input" multiple="multiple">
<div class='composition-area-placeholder'></div> <div class='composition-area-placeholder'></div>
</form> </form>
</div>
</div> </div>
</div> </div>
</div> </script>
</script>
<script type='text/x-tmpl-mustache' id='message-list'> <script type="text/x-tmpl-mustache" id="message-list">
<div class='messages'></div> <div class='messages'></div>
<div class='typing-container'></div> <div class='typing-container'></div>
</script> </script>
<script type='text/x-tmpl-mustache' id='recorder'> <script type="text/x-tmpl-mustache" id="recorder">
<button class='finish'><span class='icon'></span></button> <button class='finish'><span class='icon'></span></button>
<span class='time'>0:00</span> <span class='time'>0:00</span>
<button class='close'><span class='icon'></span></button> <button class='close'><span class='icon'></span></button>
</script> </script>
<script type='text/x-tmpl-mustache' id='identicon-svg'> <script type="text/x-tmpl-mustache" id="identicon-svg">
<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'> <svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>
<circle cx='50' cy='50' r='40' fill='{{ color }}' /> <circle cx='50' cy='50' r='40' fill='{{ color }}' />
<text text-anchor='middle' fill='white' font-family='sans-serif' font-size='24px' x='50' y='50' baseline-shift='-8px'> <text text-anchor='middle' fill='white' font-family='sans-serif' font-size='24px' x='50' y='50' baseline-shift='-8px'>
{{ content }} {{ content }}
</text> </text>
</svg> </svg>
</script> </script>
<script type='text/x-tmpl-mustache' id='phone-number'> <script type="text/x-tmpl-mustache" id="phone-number">
<div class='phone-input-form'> <div class='phone-input-form'>
<div class='number-container'> <div class='number-container'>
<input type='tel' class='number' placeholder="Phone Number" /> <input type='tel' class='number' placeholder="Phone Number" />
</div> </div>
</div> </div>
</script> </script>
<script type='text/x-tmpl-mustache' id='file-size-modal'> <script type="text/x-tmpl-mustache" id="file-size-modal">
{{ file-size-warning }} {{ file-size-warning }}
({{ limit }}{{ units }}) ({{ limit }}{{ units }})
</script> </script>
<script type='text/x-tmpl-mustache' id='attachment-type-modal'> <script type="text/x-tmpl-mustache" id="attachment-type-modal">
Sorry, your attachment has a type, {{type}}, that is not currently supported. Sorry, your attachment has a type, {{type}}, that is not currently supported.
</script> </script>
<script type='text/x-tmpl-mustache' id='group-member-list'> <script type="text/x-tmpl-mustache" id="group-member-list">
<div class='container'> <div class='container'>
{{ #summary }} <div class='summary'>{{ summary }}</div>{{ /summary }} {{ #summary }} <div class='summary'>{{ summary }}</div>{{ /summary }}
</div>
</script>
<script type='text/x-tmpl-mustache' id='key-verification'>
<div class="container" tabindex="0">
<div class="key-verification-wrapper"></div>
</div>
</script>
<script type='text/x-tmpl-mustache' id='clear-data'>
{{#isStep1}}
<div class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon alert-outline-red'></span>
<div class='header'>{{ header }}</div>
<div class='body-text-wide'>{{ body }}</div>
</div>
<div class='nav'>
<div>
<a class='button neutral cancel'>{{ cancelButton }}</a>
<a class='button destructive delete-all-data'>{{ deleteButton }}</a>
</div>
</div>
</div> </div>
</div> </script>
{{/isStep1}}
{{#isStep2}}
<div id='step2' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon delete'></span>
<div class='header'>{{ deleting }}</div>
</div>
<div class='progress'>
<div class='bar-container'>
<div class='bar progress-bar progress-bar-striped active'></div>
</div>
</div>
</div>
</div>
{{/isStep2}}
</script>
<script type='text/x-tmpl-mustache' id='link-flow-template'> <script type="text/x-tmpl-mustache" id="key-verification">
<div class='module-title-bar-drag-area'></div> <div class="container" tabindex="0">
<div class="key-verification-wrapper"></div>
{{#isStep3}}
<div id='step3' class='step'>
<div class='inner'>
<div class='step-body'>
<div class='header'>{{ linkYourPhone }}</div>
<div id="qr">
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div>
</div>
</div>
<div class='nav'>
<div class='instructions'>
<div class='android'>
<div class='label'>
<span class='os-icon android'></span>
</div>
<div class='body'>
<div>→ {{ signalSettings }}</div>
<div>→ {{ linkedDevices }}</div>
<div>→ {{ androidFinalStep }}</div>
</div>
</div>
<div class='apple'>
<div class='label'>
<span class='os-icon apple'></span>
</div>
<div class='body'>
<div>→ {{ signalSettings }}</div>
<div>→ {{ linkedDevices }}</div>
<div>→ {{ appleFinalStep }}</div>
</div>
</div>
</div>
</div>
</div> </div>
</div> </script>
{{/isStep3}}
{{#isStep4}} <script type="text/x-tmpl-mustache" id="clear-data">
<form id='link-phone'> {{#isStep1}}
<div id='step4' class='step'> <div class='step'>
<div class='inner'> <div class='inner'>
<div class='step-body'> <div class='step-body'>
<span class='banner-icon lead-pencil'></span> <span class='banner-icon alert-outline-red'></span>
<div class='header'>{{ chooseName }}</div> <div class='header'>{{ header }}</div>
<div class='body-text-wide'>{{ body }}</div>
</div>
<div class='nav'>
<div> <div>
<input type='text' class='device-name' spellcheck='false' maxlength='50' /> <a class='button neutral cancel'>{{ cancelButton }}</a>
<a class='button destructive delete-all-data'>{{ deleteButton }}</a>
</div> </div>
</div> </div>
</div>
</div>
{{/isStep1}}
{{#isStep2}}
<div id='step2' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon delete'></span>
<div class='header'>{{ deleting }}</div>
</div>
<div class='progress'>
<div class='bar-container'>
<div class='bar progress-bar progress-bar-striped active'></div>
</div>
</div>
</div>
</div>
{{/isStep2}}
</script>
<div class='nav'> <script type="text/x-tmpl-mustache" id="link-flow-template">
<div> <div class='module-title-bar-drag-area'></div>
<a class='button finish'>{{ finishLinkingPhoneButton }}</a>
{{#isStep3}}
<div id='step3' class='step'>
<div class='inner'>
<div class='step-body'>
<div class='header'>{{ linkYourPhone }}</div>
<div id="qr">
<div class='container'>
<span class='dot'></span>
<span class='dot'></span>
<span class='dot'></span>
</div> </div>
</div> </div>
</div>
</div>
</form>
{{/isStep4}}
{{#isStep5}}
<div id='step5' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon sync'></span>
<div class='header'>{{ syncing }}</div>
</div>
<div class='progress'>
<div class='bar-container'>
<div class='bar progress-bar progress-bar-striped active'></div>
</div> </div>
</div> <div class='nav'>
</div> <div class='instructions'>
</div> <div class='android'>
{{/isStep5}} <div class='label'>
<span class='os-icon android'></span>
{{#isError}}
<div id='error' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon alert-outline'></span>
<div class='header'>{{ errorHeader }}</div>
<div class='body'>{{ errorMessage }}</div>
</div>
<div class='nav'>
<a class='button try-again'>{{ errorButton }}</a>
</div>
</div>
</div>
{{/isError}}
</script>
<script type='text/x-tmpl-mustache' id='standalone'>
<div class='module-title-bar-drag-area'></div>
<div class='step'>
<div class='inner'>
<div class='step-body'>
<div class="banner-image module-splash-screen__logo module-img--128"></div>
<div class='header'>Create your Signal Account</div>
<div id='phone-number-input'>
<div class='phone-input-form'>
<div id='number-container' class='number-container'>
<input type='tel' class='number' placeholder='Phone Number' />
</div> </div>
<div class='body'>
<div>→ {{ signalSettings }}</div>
<div>→ {{ linkedDevices }}</div>
<div>→ {{ androidFinalStep }}</div>
</div>
</div>
<div class='apple'>
<div class='label'>
<span class='os-icon apple'></span>
</div>
<div class='body'>
<div>→ {{ signalSettings }}</div>
<div>→ {{ linkedDevices }}</div>
<div>→ {{ appleFinalStep }}</div>
</div>
</div>
</div> </div>
</div> </div>
<div class='clearfix'>
<a class='button' id='request-sms'>Send SMS</a>
<a class='link' id='request-voice' tabindex='-1'>Call</a>
</div>
<input class='form-control' type='text' pattern='\s*[0-9]{3}-?[0-9]{3}\s*' title='Enter your 6-digit verification code. If you did not receive a code, click Call or Send SMS to request a new one' id='code' placeholder='Verification Code' autocomplete='off'>
<div id='error' class='collapse'></div>
<div id='status'></div>
</div>
<div class='nav'>
<a class='button' id='verifyCode' data-loading-text='Please wait...'>Register</a>
</div> </div>
</div> </div>
</div> {{/isStep3}}
</script> {{#isStep4}}
<form id='link-phone'>
<div id='step4' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon lead-pencil'></span>
<div class='header'>{{ chooseName }}</div>
<div>
<input type='text' class='device-name' spellcheck='false' maxlength='50' />
</div>
</div>
<script type="text/javascript" src="../libtextsecure/test/fake_web_api.js"></script> <div class='nav'>
<div>
<a class='button finish'>{{ finishLinkingPhoneButton }}</a>
</div>
</div>
</div>
</div>
</form>
{{/isStep4}}
{{#isStep5}}
<div id='step5' class='step'>
<div class='inner'>
<div class='step-body'>
<span class='banner-icon sync'></span>
<div class='header'>{{ syncing }}</div>
</div>
<div class='progress'>
<div class='bar-container'>
<div class='bar progress-bar progress-bar-striped active'></div>
</div>
</div>
</div>
</div>
{{/isStep5}}
<script type="text/javascript" src="../js/components.js"></script> {{#isError}}
<script type='text/javascript' src='../ts/backboneJquery.js'></script> <div id='error' class='step'>
<script type="text/javascript" src="../js/reliable_trigger.js" data-cover></script> <div class='inner'>
<script type="text/javascript" src="test.js"></script> <div class='step-body'>
<span class='banner-icon alert-outline'></span>
<div class='header'>{{ errorHeader }}</div>
<div class='body'>{{ errorMessage }}</div>
</div>
<div class='nav'>
<a class='button try-again'>{{ errorButton }}</a>
</div>
</div>
</div>
{{/isError}}
</script>
<script type="text/javascript" src="../js/database.js" data-cover></script> <script type="text/x-tmpl-mustache" id="standalone">
<div class='module-title-bar-drag-area'></div>
<script type="text/javascript" src="../libtextsecure/protocol_wrapper.js"></script> <div class='step'>
<script type="text/javascript" src="../libtextsecure/protobufs.js"></script> <div class='inner'>
<div class='step-body'>
<div class="banner-image module-splash-screen__logo module-img--128"></div>
<div class='header'>Create your Signal Account</div>
<div id='phone-number-input'>
<div class='phone-input-form'>
<div id='number-container' class='number-container'>
<input type='tel' class='number' placeholder='Phone Number' />
</div>
</div>
</div>
<div class='clearfix'>
<a class='button' id='request-sms'>Send SMS</a>
<a class='link' id='request-voice' tabindex='-1'>Call</a>
</div>
<input class='form-control' type='text' pattern='\s*[0-9]{3}-?[0-9]{3}\s*' title='Enter your 6-digit verification code. If you did not receive a code, click Call or Send SMS to request a new one' id='code' placeholder='Verification Code' autocomplete='off'>
<div id='error' class='collapse'></div>
<div id='status'></div>
</div>
<div class='nav'>
<a class='button' id='verifyCode' data-loading-text='Please wait...'>Register</a>
</div>
</div>
</div>
</script>
<script type="text/javascript" src="../js/libphonenumber-util.js"></script> <script
<script type="text/javascript" src="../js/keychange_listener.js" data-cover></script> type="text/javascript"
<script type='text/javascript' src='../js/expiring_messages.js' data-cover></script> src="../libtextsecure/test/fake_web_api.js"
<script type='text/javascript' src='../js/expiring_tap_to_view_messages.js' data-cover></script> ></script>
<script type='text/javascript' src='../js/notifications.js' data-cover></script>
<script type='text/javascript' src='../js/views/react_wrapper_view.js'></script> <script type="text/javascript" src="../js/components.js"></script>
<script type='text/javascript' src='../js/views/list_view.js' data-cover></script> <script type="text/javascript" src="../ts/backboneJquery.js"></script>
<script type='text/javascript' src='../js/views/contact_list_view.js' data-cover></script> <script
<script type='text/javascript' src='../js/views/key_verification_view.js' data-cover></script> type="text/javascript"
<script type='text/javascript' src='../js/views/group_member_list_view.js' data-cover></script> src="../js/reliable_trigger.js"
<script type='text/javascript' src='../js/views/recorder_view.js' data-cover></script> data-cover
<script type='text/javascript' src='../js/views/inbox_view.js' data-cover></script> ></script>
<script type='text/javascript' src='../js/views/identicon_svg_view.js' data-cover></script> <script type="text/javascript" src="test.js"></script>
<script type='text/javascript' src='../js/views/banner_view.js' data-cover></script>
<script type='text/javascript' src='../js/views/clear_data_view.js'></script>
<script type="text/javascript" src="views/whisper_view_test.js"></script> <script type="text/javascript" src="../js/database.js" data-cover></script>
<script type="text/javascript" src="views/list_view_test.js"></script>
<script type="text/javascript" src="models/conversations_test.js"></script> <script
type="text/javascript"
src="../libtextsecure/protocol_wrapper.js"
></script>
<script type="text/javascript" src="../libtextsecure/protobufs.js"></script>
<script type="text/javascript" src="libphonenumber_util_test.js"></script> <script type="text/javascript" src="../js/libphonenumber-util.js"></script>
<script type="text/javascript" src="keychange_listener_test.js"></script> <script
<script type="text/javascript" src="reliable_trigger_test.js"></script> type="text/javascript"
<script type="text/javascript" src="crypto_test.js"></script> src="../js/keychange_listener.js"
<script type="text/javascript" src="database_test.js"></script> data-cover
<script type="text/javascript" src="i18n_test.js"></script> ></script>
<script type="text/javascript" src="protobuf_test.js"></script> <script
<script type="text/javascript" src="stickers_test.js"></script> type="text/javascript"
src="../js/expiring_messages.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/expiring_tap_to_view_messages.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/notifications.js"
data-cover
></script>
<!-- Comment out to turn off code coverage. Useful for getting real callstacks. --> <script
<!-- NOTE: blanket doesn't support modern syntax and will choke until we find a replacement. :0( --> type="text/javascript"
<!-- <script type="text/javascript" src="blanket_mocha.js"></script> --> src="../js/views/react_wrapper_view.js"
></script>
<script
type="text/javascript"
src="../js/views/list_view.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/views/contact_list_view.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/views/key_verification_view.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/views/group_member_list_view.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/views/recorder_view.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/views/inbox_view.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/views/identicon_svg_view.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/views/banner_view.js"
data-cover
></script>
<script
type="text/javascript"
src="../js/views/clear_data_view.js"
></script>
<!-- Uncomment to start tests without code coverage enabled --> <script type="text/javascript" src="views/whisper_view_test.js"></script>
<script type="text/javascript"> <script type="text/javascript" src="views/list_view_test.js"></script>
window.textsecure.protobuf.onLoad(() => {
window.Signal.conversationControllerStart();
window.test.pendingDescribeCalls.forEach(args => { <script type="text/javascript" src="models/conversations_test.js"></script>
describe(...args);
<script type="text/javascript" src="libphonenumber_util_test.js"></script>
<script type="text/javascript" src="keychange_listener_test.js"></script>
<script type="text/javascript" src="reliable_trigger_test.js"></script>
<script type="text/javascript" src="crypto_test.js"></script>
<script type="text/javascript" src="database_test.js"></script>
<script type="text/javascript" src="i18n_test.js"></script>
<script type="text/javascript" src="protobuf_test.js"></script>
<script type="text/javascript" src="stickers_test.js"></script>
<!-- Comment out to turn off code coverage. Useful for getting real callstacks. -->
<!-- NOTE: blanket doesn't support modern syntax and will choke until we find a replacement. :0( -->
<!-- <script type="text/javascript" src="blanket_mocha.js"></script> -->
<!-- Uncomment to start tests without code coverage enabled -->
<script type="text/javascript">
window.textsecure.protobuf.onLoad(() => {
window.Signal.conversationControllerStart();
window.test.pendingDescribeCalls.forEach(args => {
describe(...args);
});
mocha.run();
}); });
</script>
mocha.run(); </body>
});
</script>
</body>
</html> </html>