|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<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 http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<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';
|
|
|
|
connect-src 'self' https: wss:;
|
|
|
|
font-src 'self';
|
|
|
|
form-action 'self';
|
|
|
|
frame-src 'none';
|
|
|
|
img-src 'self' blob: data:;
|
|
|
|
media-src 'self' blob:;
|
|
|
|
object-src 'none';
|
|
|
|
script-src 'self' 'unsafe-eval';
|
|
|
|
style-src 'self' 'unsafe-inline';"
|
|
|
|
>
|
|
|
|
<title>Session</title>
|
|
|
|
<link href='images/loki/loki_icon_128.png' rel='shortcut icon'>
|
|
|
|
<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
|
|
|
|
-->
|
|
|
|
|
|
|
|
<script type='text/x-tmpl-mustache' id='app-loading-screen'>
|
|
|
|
<div class="content session-full-logo">
|
|
|
|
<img src="images/session/brand.svg" class="session-brand-logo" />
|
|
|
|
<img src="images/session/session-text.svg" class="session-text-logo" />
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type='text/x-tmpl-mustache' id='two-column'>
|
|
|
|
<div class='gutter'>
|
|
|
|
<div class='network-status-container'></div>
|
|
|
|
<div class='left-pane-placeholder'></div>
|
|
|
|
</div>
|
|
|
|
<div id='main-view'>
|
|
|
|
<div class='conversation-stack'>
|
|
|
|
<div class='conversation placeholder'>
|
|
|
|
<div class='conversation-header'></div>
|
|
|
|
<div class='container'>
|
|
|
|
<div class="content session-full-logo">
|
|
|
|
<img src="images/session/brand.svg" class="session-brand-logo" />
|
|
|
|
<img src="images/session/session-text.svg" class="session-text-logo" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='lightbox-container'></div>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<script type='text/x-tmpl-mustache' id='last-seen-indicator-view'>
|
|
|
|
<div class='module-last-seen-indicator__bar'/>
|
|
|
|
<div class='module-last-seen-indicator__text'>
|
|
|
|
{{ unreadMessages }}
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type='text/x-tmpl-mustache' id='expired_alert'>
|
|
|
|
<a target='_blank' href='https://getsession.org/'>
|
|
|
|
<button class='upgrade'>{{ upgrade }}</button>
|
|
|
|
</a>
|
|
|
|
<span>{{ expiredWarning }}</span>
|
|
|
|
<br clear="both">
|
|
|
|
</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='conversation'>
|
|
|
|
<div class='conversation-content'>
|
|
|
|
<div class='conversation-content-left'>
|
|
|
|
<div class='conversation-header'></div>
|
|
|
|
<div class='main panel'>
|
|
|
|
<div class='discussion-container'>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='bottom-bar' id='footer'>
|
|
|
|
<div class='emoji-panel-container'></div>
|
|
|
|
<div class='member-list-container'></div>
|
|
|
|
<div id='bulk-edit-view'></div>
|
|
|
|
<div class='attachment-list'></div>
|
|
|
|
<div class='compose'>
|
|
|
|
<form class='send clearfix file-input'>
|
|
|
|
<div class='flex'>
|
|
|
|
<div id='choose-file' class='choose-file'>
|
|
|
|
<button class='paperclip thumbnail' {{#disable-inputs}} disabled="disabled" {{/disable-inputs}}></button>
|
|
|
|
<input type='file' class='file-input' multiple='multiple'>
|
|
|
|
</div>
|
|
|
|
<div class='capture-audio'>
|
|
|
|
<button class='microphone' {{#disable-inputs}} disabled="disabled" {{/disable-inputs}}></button>
|
|
|
|
</div>
|
|
|
|
<div class='send-message-container'>
|
|
|
|
<textarea maxlength='2000' class='send-message' placeholder='{{ send-message }}' rows='1' dir='auto' {{#disable-inputs}} disabled="disabled" {{/disable-inputs}}></textarea>
|
|
|
|
</div>
|
|
|
|
<button class='emoji' {{#disable-inputs}} disabled="disabled" {{/disable-inputs}}></button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='conversation-content-right'>
|
|
|
|
</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='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='password-dialog'>
|
|
|
|
<div class="content">
|
|
|
|
{{ #title }}
|
|
|
|
<h4>{{ title }}</h4>
|
|
|
|
{{ /title }}
|
|
|
|
<input type='password' id='password' placeholder='Password' autofocus>
|
|
|
|
<input type='password' id='password-confirmation' placeholder='Type in your password again' autofocus>
|
|
|
|
<div class='error'></div>
|
|
|
|
<div class='buttons'>
|
|
|
|
<button class='cancel' tabindex='2'>{{ cancel }}</button>
|
|
|
|
<button class='ok' tabindex='1'>{{ ok }}</button>
|
|
|
|
</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='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'>
|
|
|
|
{{ #summary }} <div class='summary'>{{ summary }}</div>{{ /summary }}
|
|
|
|
</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='import-flow-template'>
|
|
|
|
{{#isStep2}}
|
|
|
|
<div id='step2' class='step'>
|
|
|
|
<div class='inner'>
|
|
|
|
<div class='step-body'>
|
|
|
|
<span class='banner-icon folder-outline'></span>
|
|
|
|
<div class='header'>{{ chooseHeader }}</div>
|
|
|
|
<div class='body-text'>{{ choose }}</div>
|
|
|
|
</div>
|
|
|
|
<div class='nav'>
|
|
|
|
<div>
|
|
|
|
<a class='button choose'>{{ chooseButton }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/isStep2}}
|
|
|
|
{{#isStep3}}
|
|
|
|
<div id='step3' class='step'>
|
|
|
|
<div class='inner'>
|
|
|
|
<div class='step-body'>
|
|
|
|
<span class='banner-icon import'></span>
|
|
|
|
<div class='header'>{{ importingHeader }}</div>
|
|
|
|
</div>
|
|
|
|
<div class='progress'>
|
|
|
|
<div class='bar-container'>
|
|
|
|
<div class='bar progress-bar progress-bar-striped active'></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/isStep3}}
|
|
|
|
{{#isStep4}}
|
|
|
|
<div id='step4' class='step'>
|
|
|
|
<div class='inner'>
|
|
|
|
<div class='step-body'>
|
|
|
|
<span class='banner-icon check-circle-outline'></span>
|
|
|
|
<div class='header'>{{ completeHeader }}</div>
|
|
|
|
</div>
|
|
|
|
<div class='nav'>
|
|
|
|
{{#restartButton}}
|
|
|
|
<div>
|
|
|
|
<a class='button restart'>{{ restartButton }}</a>
|
|
|
|
</div>
|
|
|
|
{{/restartButton}}
|
|
|
|
{{#registerButton}}
|
|
|
|
<div>
|
|
|
|
<a class='button register'>{{ registerButton }}</a>
|
|
|
|
</div>
|
|
|
|
{{/registerButton}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/isStep4}}
|
|
|
|
|
|
|
|
{{#isError}}
|
|
|
|
<div id='error' class='step'>
|
|
|
|
<div class='inner error-dialog clearfix'>
|
|
|
|
<div class='step-body'>
|
|
|
|
<span class='banner-icon alert-outline'></span>
|
|
|
|
<div class='header'>{{ errorHeader }}</div>
|
|
|
|
<div class='body-text-wide'>
|
|
|
|
{{ errorMessageFirst }}
|
|
|
|
<p>{{ errorMessageSecond }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='nav'>
|
|
|
|
<div>
|
|
|
|
<a class='button choose'>{{ chooseButton }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/isError}}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type='text/javascript' src='js/components.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='js/storage.js'></script>
|
|
|
|
<script type='text/javascript' src='js/legacy_storage.js'></script>
|
|
|
|
<script type='text/javascript' src='js/signal_protocol_store.js'></script>
|
|
|
|
<script type='text/javascript' src='js/libtextsecure.js'></script>
|
|
|
|
<script type='text/javascript' src='js/libloki.js'></script>
|
|
|
|
|
|
|
|
<script type='text/javascript' src='js/focus_listener.js'></script>
|
|
|
|
<script type='text/javascript' src='js/notifications.js'></script>
|
|
|
|
<script type='text/javascript' src='js/delivery_receipts.js'></script>
|
|
|
|
<script type='text/javascript' src='js/read_receipts.js'></script>
|
|
|
|
<script type='text/javascript' src='js/read_syncs.js'></script>
|
|
|
|
<script type='text/javascript' src='js/models/messages.js'></script>
|
|
|
|
<script type='text/javascript' src='js/models/conversations.js'></script>
|
|
|
|
<script type='text/javascript' src='js/expiring_messages.js'></script>
|
|
|
|
|
|
|
|
<script type='text/javascript' src='js/chromium.js'></script>
|
|
|
|
<script type='text/javascript' src='js/registration.js'></script>
|
|
|
|
<script type='text/javascript' src='js/expire.js'></script>
|
|
|
|
<script type='text/javascript' src='js/conversation_controller.js'></script>
|
|
|
|
<script type='text/javascript' src='js/message_controller.js'></script>
|
|
|
|
|
|
|
|
<script type='text/javascript' src='js/views/react_wrapper_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/whisper_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/last_seen_indicator_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/scroll_down_button_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/toast_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/session_toast_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/conversation_loading_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/session_toggle_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/session_modal_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/session_dropdown_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/session_confirm_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/file_input_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/list_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/member_list_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/bulk_edit_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/group_member_list_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='js/views/network_status_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/nickname_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/password_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/seed_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/identicon_svg_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/banner_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/session_registration_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/app_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/import_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/device_pairing_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/device_pairing_words_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/create_group_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/edit_profile_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/invite_contacts_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/moderators_add_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/moderators_remove_dialog_view.js'></script>
|
|
|
|
<script type='text/javascript' src='js/views/user_details_dialog_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>
|
|
|
|
<div class='app-loading-screen'>
|
|
|
|
<div class="content session-full-logo">
|
|
|
|
<img src="images/session/brand.svg" class="session-brand-logo" />
|
|
|
|
<img src="images/session/session-text.svg" class="session-text-logo" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type='text/javascript' src='js/background.js'></script>
|
|
|
|
</body>
|
|
|
|
</html>
|