3df22026ab
- [x] Removed ‘Restart Signal’ global menu item - [x] Change _Click to create contact…_ to _Start conversation…_ - [x] Move global menu (top-left kebab) into OS menu bar, i.e. **Settings** > **Preferences…** - [x] Add tests for OS menu bar templates - [x] Fix bug with **Window** menu on macOS when showing setup options - [x] Use _Title Case_ for all OS menu bar menu items for consistency commit dedf7c9af0de90980388559659df0d92a77b864c Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 16:53:42 2018 -0500 Use ‘Title Case’ to be consistent with OS menus References: - Apple: - https://developer.apple.com/macos/human-interface-guidelines/menus/menu-anatomy/#menu-and-menu-item-titles - https://developer.apple.com/library/content/documentation/FinalCutProX/Conceptual/FxPlugHIG/TextStyleGuidelines/TextStyleGuidelines.html#//apple_ref/doc/uid/TP40013782-CH6-SW1 - https://titlecaseconverter.com/ commit 3286da29b334bd4526c587b17707c2f230cec8f5 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 16:36:50 2018 -0500 Fix bug for macOS ‘Window’ menu with setup options commit 236a23d1eafe2a16073394a27b9013298b682a25 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 16:27:46 2018 -0500 Test menus with included setup options commit c5d5f5abb8d7f52d6a4aa182a86c92f7ddceade0 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 16:10:27 2018 -0500 Move settings (‘Preferences’) into OS-level menu This reduces our reliance on custom UI until we have more design resources. commit 027803f8f4983cffa443f0beff1854dcf541689b Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 16:02:56 2018 -0500 Prepare tests for menu with/without included setup commit 9e2f006924b85eb249a8a1261c1c4dd1a706afa6 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 15:55:46 2018 -0500 Destructure `includeSetup` commit 6b2a1eccdf724fd722e58415d2700da73942d9e8 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 15:55:14 2018 -0500 🔤 `createTemplate` `options` commit c2fecba34b153fed106f414ed3347d46299f6fe5 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 12:49:55 2018 -0500 Test menu for Windows and Linux commit 60281b1af9ad1f022cdbc40711ebd0b688a7355d Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 12:40:39 2018 -0500 Add `yarn run test-app` command commit 1a0489919c0a97b03fe88196260fef894fb3d9e4 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 12:40:29 2018 -0500 Add test for `SignalMenu.createTemplate` on macOS commit 9638b86c0f00f231e44562a5aa01626f0e5fdd8b Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 12:34:46 2018 -0500 Make `createTemplate` pure Extracting `options.platform` makes it easier to test without having to stub `process.platform`. commit 9c26404892d7c9a7bd0199a9e8367a165a3b365c Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 11:47:39 2018 -0500 Extract `locale.load` `appLocale` & `logger` for testability This allows us to run this code in a non-Electron environment, e.g. Node.js Mocha test suite. commit 710b22438df25c8d5e8431845a035c55ec8fc0b7 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 11:46:13 2018 -0500 🔤 npm scripts commit 9ae22937fbce078f91443023b560b3c0468c1380 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 11:45:30 2018 -0500 Use 2-space indendation for `app` module tests commit 22c26baf6159bd2e1f5a787c10e2260f09395329 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 11:22:55 2018 -0500 Prefer named exports commit 9c9526195266ac77ac2ca04135a1e675f617dfd2 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 11:22:46 2018 -0500 🔤 Organize `require`s commit 2f144d24d9e9a9ef72fe418996e3c911b304b00a Author: Daniel Gasienica <daniel@gasienica.ch> Date: Tue Feb 27 11:13:50 2018 -0500 Remove existing global hamburger menu This will be replaced by a OS-level ‘Preferences’ menu. commit f5adb374cb742e5f319ececda8ab6d8adee88d7e Author: Daniel Gasienica <daniel@gasienica.ch> Date: Mon Feb 26 18:40:54 2018 -0500 Remove ‘Restart Signal’ menu from settings Apparently, this is a remnant from the Chrome web application. commit d7a206bc8e67ef44022085e804ca040ed1b219f7 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Mon Feb 26 17:16:49 2018 -0500 Clarify label for starting a new conversation When user a enters a number that is not a contact, we prompt them to start a new conversation. commit 715a4064367fb61d85c1a4f9d48261b2ce002435 Author: Daniel Gasienica <daniel@gasienica.ch> Date: Mon Feb 26 16:46:26 2018 -0500 Use ‘Enter name or number’ as prompt’ This follows implementation of Android and recommendation from Alissa.
657 lines
26 KiB
HTML
657 lines
26 KiB
HTML
<html>
|
|
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<title>TextSecure test runner</title>
|
|
<link rel="stylesheet" href="../components/mocha/mocha.css" />
|
|
<link rel="stylesheet" href="../stylesheets/manifest.css" />
|
|
</head>
|
|
<body>
|
|
<div id="mocha">
|
|
</div>
|
|
<div id="tests">
|
|
</div>
|
|
<div id="render-android" class='index' style="width: 800; height: 500; margin:10px; border: solid 1px black;">
|
|
</div>
|
|
<div id="render-android-dark" class='index' style="width: 800; height: 500; margin:10px; border: solid 1px black;">
|
|
</div>
|
|
<div id="render-ios" class='index' style="width: 800; height: 500; margin:10px; border: solid 1px black;">
|
|
</div>
|
|
<script type='text/x-tmpl-mustache' id='app-loading-screen'>
|
|
<div class='content'>
|
|
<img src='/images/icon_128.png'>
|
|
<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='conversation-loading-screen'>
|
|
<div class='content'>
|
|
<img src='/images/icon_128.png'>
|
|
<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='gutter'>
|
|
<div class='network-status-container'></div>
|
|
<div class='title-bar active' id='header'>
|
|
<h1>Signal</h1>
|
|
<div class='tool-bar clearfix'>
|
|
<input type='search' class='search' placeholder='{{ searchForPeopleOrGroups }}' dir='auto'>
|
|
<span class='search-icon'></span>
|
|
</div>
|
|
</div>
|
|
<div class='content'>
|
|
<div class='conversations scrollable inbox'></div>
|
|
<div class='conversations scrollable search-results hide'>
|
|
<div class='new-contact contact hide'></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class='conversation-stack'>
|
|
<div class='conversation placeholder'>
|
|
<div class='conversation-header'></div>
|
|
<div class='content'>
|
|
<img src='/images/icon_128.png' />
|
|
<h3>{{ welcomeToSignal }}</h3>
|
|
<p>{{ selectAContact }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='scroll-down-button-view'>
|
|
<button class='text {{ cssClass }}' alt='{{ moreBelow }}'>
|
|
<div class='icon'></div>
|
|
</button>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='last-seen-indicator-view'>
|
|
<div class='bar'>
|
|
<div class='text'>
|
|
{{ unreadMessages }}
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='expired_alert'>
|
|
<a target='_blank' href='https://chrome.google.com/webstore/detail/bikioccmkafdpakkkcpdbppfkghcmihk'>
|
|
<button class='upgrade'>{{ upgrade }}</button>
|
|
</a>
|
|
{{ expiredWarning }}
|
|
</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='hint'>
|
|
<p> {{ content }}</p>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='conversation-title'>
|
|
{{ #name }}
|
|
<span class='conversation-name' dir='auto'>{{ name }}</span>
|
|
{{ /name }}
|
|
{{ #number }}
|
|
<span class='conversation-number'>{{ number }}</span>
|
|
{{ /number }}
|
|
{{ #isVerified }}
|
|
<span class='verified'><span class='verified-icon'></span> {{ verified }}</span>
|
|
{{ /isVerified }}
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='conversation'>
|
|
<div class='conversation-header {{ avatar.color }}'>
|
|
<div class='header-buttons left'>
|
|
<div class='vertical-align'>
|
|
<button class='back hide'></button>
|
|
</div>
|
|
</div>
|
|
<div class='header-buttons right'>
|
|
<div class='vertical-align'>
|
|
<div class='conversation-menu menu'>
|
|
<button class='hamburger' alt='conversation menu'></button>
|
|
<ul class='menu-list'>
|
|
<li class='disappearing-messages'>{{ disappearing-messages }}</li>
|
|
{{#group}}
|
|
<li class='show-members'>{{ show-members }}</li>
|
|
<!-- <li class='update-group'>Update group</li> -->
|
|
<!-- <li class='leave-group'>Leave group</li> -->
|
|
{{/group}}
|
|
{{^group}}
|
|
{{ ^isMe }}
|
|
<li class='show-identity'>{{ show-identity }}</li>
|
|
{{ /isMe }}
|
|
<li class='end-session'>{{ end-session }}</li>
|
|
{{/group}}
|
|
<li class='destroy'>{{ destroy }}</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<span class='conversation-title'></span>
|
|
{{> avatar }}
|
|
</div>
|
|
<div class='main panel'>
|
|
<div class='discussion-container'>
|
|
<div class='bar-container hide'>
|
|
<div class='bar active progress-bar-striped progress-bar'></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class='bottom-bar' id='footer'>
|
|
<form class='send clearfix'>
|
|
<div class='attachment-previews'></div>
|
|
<div class='flex'>
|
|
<div class='choose-file'>
|
|
<button class='paperclip thumbnail'></button>
|
|
<input type='file' class='file-input'>
|
|
</div>
|
|
<textarea class='send-message' placeholder='{{ send-message }}' rows='1' dir='auto'></textarea>
|
|
<div class='capture-audio'>
|
|
<!--<button class='microphone'></button>-->
|
|
</div>
|
|
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='recorder'>
|
|
<button class='finish'><span class='icon'></span></button>
|
|
<span class='time'>0:00</span>
|
|
<button class='close'><span class='icon'></span></button>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='lightbox'>
|
|
<div class='content'>
|
|
<div class='controls'>
|
|
<a class='x close' alt='Close image.' href='#'></a>
|
|
<a class='save' alt='Save as...' href='#'></a>
|
|
</div>
|
|
<img class='image' src='{{ url }}' />
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='confirmation-dialog'>
|
|
<div class="content">
|
|
<div class='message'>{{ message }}</div>
|
|
<div class='buttons'>
|
|
{{ #showCancel }}
|
|
<button class='cancel' tabindex='2'>{{ cancel }}</button>
|
|
{{ /showCancel }}
|
|
<button class='ok' tabindex='1'>{{ ok }}</button>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='attachment-preview'>
|
|
<img src='{{ source }}' class='preview' />
|
|
<a class='x close' alt='remove attachment' href='#'></a>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='hasRetry'>
|
|
{{ messageNotSent }}
|
|
<span href='#' class='retry'>{{ resend }}</span>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='keychange'>
|
|
<span class='content' dir='auto'><span class='shield icon'></span> {{ content }}</span>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='verified-change'>
|
|
<span class='content' dir='auto'><span class='{{ icon }} icon'></span> {{ content }}</span>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='message'>
|
|
{{> avatar }}
|
|
<div class='bubble {{ avatar.color }}'>
|
|
<div class='sender' dir='auto'>{{ sender }}</div>
|
|
<div class='attachments'></div>
|
|
<p class='content' dir='auto'>
|
|
{{ #message }}<span class='body'>{{ message }}</span>{{ /message }}
|
|
</p>
|
|
<div class='meta'>
|
|
<span class='timestamp' data-timestamp={{ timestamp }}></span>
|
|
<span class='status hide'></span>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='hourglass'>
|
|
<span class='hourglass'><span class='sand'></span></span>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='expirationTimerUpdate'>
|
|
<span class='content'><span class='icon clock'></span> {{ content }}</span>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='new-group-update'>
|
|
<div class='conversation-header'>
|
|
<button class='back'></button>
|
|
<button class='send check'></button>
|
|
<span class='conversation-title'>Update group</span>
|
|
</div>
|
|
{{> group_info_input }}
|
|
<div class='container'>
|
|
<div class='scrollable'></div>
|
|
</div>
|
|
</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='avatar'>
|
|
<span aria-hidden class='avatar
|
|
{{ ^avatar.url }}
|
|
{{ avatar.color }}
|
|
{{ /avatar.url }}
|
|
'
|
|
{{ #avatar.url }}
|
|
style='background-image: url("{{ avatar.url }}");'
|
|
{{ /avatar.url }}
|
|
>
|
|
{{ avatar.content }}
|
|
</span>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='contact_pill'>
|
|
<span>{{ name }}</span><span class='remove'>x</span>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='contact_name_and_number'>
|
|
<h3 class='name' dir='auto'> {{ title }} </h3>
|
|
<div class='number'>{{ #isVerified }}<span class='verified-icon'></span> {{ verified }} ·{{ /isVerified }} {{ number }}</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='contact'>
|
|
{{> avatar }}
|
|
<div class='contact-details'> {{> contact_name_and_number }} </div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='new-contact'>
|
|
{{> avatar }}
|
|
<div class='contact-details'>
|
|
{{> contact_name_and_number }}
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='conversation-preview'>
|
|
{{> avatar }}
|
|
<div class='contact-details'>
|
|
<span class='last-timestamp' data-timestamp='{{ last_message_timestamp }}' dir='auto' > </span>
|
|
{{> contact_name_and_number }}
|
|
{{ #unreadCount }}
|
|
<span class='unread-count'>{{ unreadCount }}</span>
|
|
{{ /unreadCount }}
|
|
{{ #last_message }}
|
|
<p class='last-message' dir='auto'> {{ last_message }} </p>
|
|
{{ /last_message }}
|
|
</div>
|
|
</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='message-detail'>
|
|
<div class='container'>
|
|
<div class='message-container'></div>
|
|
<div class='info'>
|
|
<table>
|
|
{{ #errors }}
|
|
<tr>
|
|
<td class='label'>{{ errorLabel }}</td>
|
|
<td> <span class='error-message'>{{message}}</span> </td>
|
|
</tr>
|
|
{{ /errors }}
|
|
<tr>
|
|
<td class='label'>{{ sent }}</td>
|
|
<td> {{ sent_at }}</td>
|
|
</tr>
|
|
{{ #received_at }}
|
|
<tr>
|
|
<td class='label'>{{ received }}</td>
|
|
<td> {{ received_at }}</td>
|
|
</tr>
|
|
{{ /received_at }}
|
|
<tr> <td class='tofrom label'>{{tofrom}}</td> </tr>
|
|
</table>
|
|
<div class='contacts'>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='identity-key-send-error'>
|
|
<div class='container'>
|
|
<div class='explanation'>
|
|
{{ errorExplanation }}
|
|
</div>
|
|
<div class='safety-number'>
|
|
<button class='show-safety-number grey'>{{ showSafetyNumber }}</button>
|
|
</div>
|
|
<div class='actions'>
|
|
<button class='send-anyway grey'>{{ sendAnyway }}</button>
|
|
<button class='cancel grey'>{{ cancel }}</button>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='group-member-list'>
|
|
<div class='container'>
|
|
{{ #summary }} <div class='summary'>{{ summary }}</div>{{ /summary }}
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='key-verification'>
|
|
<div class='container'>
|
|
{{ ^hasTheirKey }}
|
|
<div class='placeholder'>{{ theirKeyUnknown }}</div>
|
|
{{ /hasTheirKey }}
|
|
{{ #hasTheirKey }}
|
|
<label> {{ yourSafetyNumberWith }} </label>
|
|
<!--<div class='qr'></div>-->
|
|
<div class='key'>
|
|
{{ #chunks }} <span>{{ . }}</span> {{ /chunks }}
|
|
</div>
|
|
{{ /hasTheirKey }}
|
|
{{ verifyHelp }}
|
|
<p> {{> link_to_support }} </p>
|
|
<div class='summary'>
|
|
{{ #isVerified }}
|
|
<span class='icon verified'></span>
|
|
{{ /isVerified }}
|
|
{{ ^isVerified }}
|
|
<span class='icon shield'></span>
|
|
{{ /isVerified }}
|
|
{{ verifiedStatus }}
|
|
</div>
|
|
<div class='verify'>
|
|
<button class='verify grey'>
|
|
{{ verifyButton }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<!-- index -->
|
|
<script type='text/x-tmpl-mustache' id='group_info_input'>
|
|
<div class='group-info-input'>
|
|
<div class='group-avatar'>
|
|
<div class='choose-file attachment-previews thumbnail'>
|
|
{{> avatar }}
|
|
</div>
|
|
<input type='file' name='avatar' class='file-input'>
|
|
</div>
|
|
<input type='text' name='name' class='name' placeholder='Group Name' value='{{ name }}'>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='new-conversation'>
|
|
<div class='conversation-header'>
|
|
<button class='back'></button>
|
|
<button class='create check hide'></button>
|
|
<span class='conversation-title'>New Message</span>
|
|
</div>
|
|
{{> group_info_input }}
|
|
<div class='container'>
|
|
<div class='scrollable'>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='recipients-input'>
|
|
<div class='recipients-container'>
|
|
<span class='recipients'></span>
|
|
<input type='text' class='search' placeholder='{{ placeholder }}' dir='auto' />
|
|
</div>
|
|
<div class='results'>
|
|
<div class='new-contact contact hide'></div>
|
|
<div class='contacts'></div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='generic-error'>
|
|
<p>{{ message }}</p>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='error-icon'>
|
|
<span class='error-icon'>
|
|
</span>
|
|
{{ #message }}
|
|
<span class='error-message'>{{message}}</span>
|
|
{{ /message }}
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='contact-detail'>
|
|
<div class='clearfix'>
|
|
{{> avatar }}
|
|
<div class='contact-details'>
|
|
{{ #errors }}
|
|
<div class='error-icon-container'>
|
|
<span class='error-icon'></span>
|
|
</div>
|
|
{{ /errors }}
|
|
<span class='name' dir='auto'>{{ name }}</span>
|
|
{{ #errors }}
|
|
{{ #message }}
|
|
<p class='error-message'>{{message}}</p>
|
|
{{ /message }}
|
|
{{ /errors }}
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='link_to_support'>
|
|
<a href='http://support.signal.org/hc/articles/213134107' target='_blank'>
|
|
{{ learnMore }}
|
|
</a>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='debug-log'>
|
|
<div class='content'>
|
|
<div>
|
|
<a class='x close' alt='close debug log' href='#'></a>
|
|
<h1> {{ title }} </h1>
|
|
<p> {{ debugLogExplanation }}</p>
|
|
</div>
|
|
<textarea spellcheck='false' rows='5'></textarea>
|
|
<div class='buttons'>
|
|
<button class='grey submit'>{{ submit }}</button>
|
|
</div>
|
|
<div class='result'>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='debug-log-link'>
|
|
<div class='input-group clearfix'>
|
|
<input type='text' class='link' readonly value='{{ url }}' />
|
|
<a class='open' alt='open in a new browser tab' target='_blank' href='{{ url }}'></a>
|
|
</div>
|
|
<p>
|
|
<a class='report-link' target='_blank'
|
|
href='https://github.com/signalapp/Signal-Desktop/issues/new/'>
|
|
{{ reportIssue }}
|
|
</a>
|
|
</p>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='settings'>
|
|
<div class='content'>
|
|
<a class='x close' alt='close settings' href='#'></a>
|
|
<h2>{{ settings }}</h2>
|
|
<hr>
|
|
<div class='theme-settings'>
|
|
<h3>{{ theme }}</h3>
|
|
<div>
|
|
<input type='radio' name='theme' id='theme-setting-android' value='android'>
|
|
<label for='theme-setting-android'>Android</label>
|
|
</div>
|
|
<div>
|
|
<input type='radio' name='theme' id='theme-setting-android-dark' value='android-dark'>
|
|
<label for='theme-setting-android-dark'>{{ themeAndroidDark }}</label>
|
|
</div>
|
|
<div>
|
|
<input type='radio' name='theme' id='theme-setting-ios' value='ios'/>
|
|
<label for='theme-setting-ios'>iOS</label>
|
|
</div>
|
|
</div>
|
|
<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>
|
|
<br />
|
|
<div class='audio-notification-setting'>
|
|
<input type='checkbox' name='audio-notification' id='audio-notification'/>
|
|
<label for='audio-notification'>{{ audioNotificationDescription }}</label>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='syncSettings'>
|
|
<hr>
|
|
<h3>{{ sync }}</h3>
|
|
<div>
|
|
<button class='grey sync'>{{ syncNow }}</button>
|
|
<p>
|
|
{{ syncExplanation }}
|
|
<div class='synced_at'>
|
|
{{ lastSynced }} {{ syncDate }} {{ syncTime }}
|
|
</div>
|
|
<div class='sync_failed'>{{ syncFailed }}</div>
|
|
</p>
|
|
</div>
|
|
</script>
|
|
|
|
|
|
<script type='text/x-tmpl-mustache' id='networkStatus'>
|
|
<div class='network-status-message'>
|
|
<h3>{{ message }}</h3>
|
|
<span>{{ instructions }}</span>
|
|
</div>
|
|
{{ #reconnectDurationAsSeconds }}
|
|
<div class="network-status-message">
|
|
{{ attemptingReconnectionMessage }}
|
|
</div>
|
|
{{/reconnectDurationAsSeconds }}
|
|
{{ #action }}
|
|
<div class="action">
|
|
<button class='small blue {{ buttonClass }}'>{{ action }}</button>
|
|
</div>
|
|
{{/action }}
|
|
</script>
|
|
<script type='text/x-tmpl-mustache' id='file-view'>
|
|
<div class='icon'></div>
|
|
<div class='text'>
|
|
<div class='fileName' alt='{{ fileName }}' title='{{ altText }}'>{{ fileName }}</div>
|
|
<div class='fileSize'>{{ fileSize }}</div>
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/javascript" src="../js/components.js"></script>
|
|
<script type="text/javascript" src="../js/reliable_trigger.js" data-cover></script>
|
|
<script type="text/javascript" src="test.js"></script>
|
|
|
|
<script type='text/javascript' src='../js/i18n.js'></script>
|
|
|
|
<script type='text/javascript' src='../js/registration.js' data-cover></script>
|
|
<script type="text/javascript" src="../js/expire.js" data-cover></script>
|
|
<script type="text/javascript" src="../js/chromium.js" data-cover></script>
|
|
<script type="text/javascript" src="../js/database.js" data-cover></script>
|
|
<script type="text/javascript" src="../js/storage.js" data-cover></script>
|
|
<script type="text/javascript" src="../js/signal_protocol_store.js" data-cover></script>
|
|
<script type="text/javascript" src="../js/libtextsecure.js" data-cover></script>
|
|
|
|
<script type="text/javascript" src="../js/libphonenumber-util.js"></script>
|
|
<script type="text/javascript" src="../js/models/messages.js" data-cover></script>
|
|
<script type="text/javascript" src="../js/models/conversations.js" data-cover></script>
|
|
<script type="text/javascript" src="../js/models/blockedNumbers.js" data-cover></script>
|
|
<script type="text/javascript" src="../js/conversation_controller.js" data-cover></script>
|
|
<script type='text/javascript' src='../js/emoji_util.js' data-cover></script>
|
|
<script type="text/javascript" src="../js/keychange_listener.js" data-cover></script>
|
|
<script type='text/javascript' src='../js/expiring_messages.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/notifications.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/focus_listener.js'></script>
|
|
|
|
<script type="text/javascript" src="../js/chromium.js" data-cover></script>
|
|
|
|
<script type='text/javascript' src='../js/views/whisper_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/debug_log_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/toast_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/attachment_preview_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/file_input_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/list_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/conversation_list_item_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/conversation_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/new_group_update_view.js' data-cover></script>
|
|
<script type="text/javascript" src="../js/views/group_update_view.js"></script>
|
|
<script type='text/javascript' src='../js/views/attachment_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/error_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/timestamp_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/message_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/message_detail_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/message_list_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/conversation_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/conversation_search_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/hint_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/network_status_view.js'></script>
|
|
<script type='text/javascript' src='../js/views/confirmation_dialog_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/settings_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/last_seen_indicator_view.js' data-cover></script>
|
|
<script type='text/javascript' src='../js/views/scroll_down_button_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/identity_key_send_error_view.js' data-cover></script>
|
|
|
|
<script type="text/javascript" src="views/whisper_view_test.js"></script>
|
|
<script type="text/javascript" src="views/group_update_view_test.js"></script>
|
|
<script type="text/javascript" src="views/message_view_test.js"></script>
|
|
<script type="text/javascript" src="views/attachment_view_test.js"></script>
|
|
<script type="text/javascript" src="views/timestamp_view_test.js"></script>
|
|
<script type="text/javascript" src="views/list_view_test.js"></script>
|
|
<script type="text/javascript" src="views/conversation_search_view_test.js"></script>
|
|
<script type="text/javascript" src="views/network_status_view_test.js"></script>
|
|
<script type="text/javascript" src="views/last_seen_indicator_view_test.js"></script>
|
|
<script type='text/javascript' src='views/scroll_down_button_view_test.js'></script>
|
|
|
|
|
|
<script type="text/javascript" src="models/conversations_test.js"></script>
|
|
<script type="text/javascript" src="models/messages_test.js"></script>
|
|
|
|
<script type="text/javascript" src="libphonenumber_util_test.js"></script>
|
|
<script type="text/javascript" src="conversation_controller_test.js"></script>
|
|
<script type="text/javascript" src="storage_test.js"></script>
|
|
<script type="text/javascript" src="keychange_listener_test.js"></script>
|
|
<script type="text/javascript" src="emoji_util_test.js"></script>
|
|
<script type="text/javascript" src="reliable_trigger_test.js"></script>
|
|
<script type="text/javascript" src="backup_test.js"></script>
|
|
<script type="text/javascript" src="i18n_test.js"></script>
|
|
<script type="text/javascript" src="spellcheck_test.js"></script>
|
|
|
|
<script type="text/javascript" src="fixtures.js"></script>
|
|
<script type="text/javascript" src="fixtures_test.js"></script>
|
|
|
|
<!-- Comment out to turn off code coverage. Useful for getting real callstacks. -->
|
|
<!-- <script type="text/javascript" src="blanket_mocha.js"></script> -->
|
|
|
|
<!-- Uncomment to start tests without code coverage enabled -->
|
|
<script type="text/javascript">
|
|
mocha.run();
|
|
</script>
|
|
</body>
|
|
</html>
|