Create install flow
* Refactor options.js into a view * Break up install flow into a series of screens * Remove bootstrap * Make installer window static size, mostly to facilitate positioning // FREEBIE
This commit is contained in:
parent
675be2b569
commit
14cb6b58a2
12 changed files with 1299 additions and 6461 deletions
160
options.html
160
options.html
|
@ -1,113 +1,90 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Signal Options</title>
|
||||
<title>Signal</title>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="stylesheets/options.css">
|
||||
<link href='/images/icon_128.png' rel='shortcut icon'>
|
||||
</head>
|
||||
<body>
|
||||
<div id='init-setup' class='collapse'>
|
||||
<header>
|
||||
<div class='container'>
|
||||
<div class='row'>
|
||||
<div class='col-xs-2 col-md-1'>
|
||||
<img id='textsecure-icon' src='/images/icon_128.png'/>
|
||||
</div>
|
||||
<div class='col-xs-10 col-md-11'>
|
||||
<h1>Welcome to Signal for Chrome</h1>
|
||||
<h4 class='tagline'>Private messaging from your web browser.</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class='container'>
|
||||
<div class='row'>
|
||||
<div class='col-xs-6'>
|
||||
<h4 id='step1'>Step 1</h4>
|
||||
<h3 class='step'>Download the Mobile App</h3>
|
||||
</div>
|
||||
<div class='col-xs-6'>
|
||||
<h4 id='step2'>Step 2</h4>
|
||||
<h3 class='step'>Pair Your Device</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class='col-xs-6'>
|
||||
<p class='help'>
|
||||
To get started, download the TextSecure app for your Android phone.
|
||||
Once you've installed it, proceed to <a href='#step2'>Step 2</a>.
|
||||
<p>
|
||||
</div>
|
||||
<div class='col-xs-6'>
|
||||
<p class='help'>
|
||||
Using a QR code scanning app on your phone, scan the QR code below, then
|
||||
open the link to pair your device.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class='col-xs-6'>
|
||||
<div class='cta'>
|
||||
<a class='install' href='https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms' target='_blank'>
|
||||
<img src='/images/playstore.png' />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-xs-6'>
|
||||
<div class='cta'>
|
||||
<div id='status'></div>
|
||||
<div id="qr"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id='install' class='main'>
|
||||
<div id='step1' class='step'>
|
||||
<img id='signal-icon' src='/images/icon_250.png'/>
|
||||
<div class='nav'>
|
||||
<h1>Welcome to Signal for Chrome</h1>
|
||||
<p>Privacy is possible. Signal makes it easy.</p>
|
||||
<div> <a class='button step2'>Get started</a> </div>
|
||||
<span class='dot step1 selected'></span>
|
||||
<span class='dot step2'></span>
|
||||
<span class='dot step3'></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="setup-complete" class="collapse">
|
||||
<header>
|
||||
<div class='container'>
|
||||
<div class='row'>
|
||||
<div class='col-xs-2 col-md-1'>
|
||||
<img id='textsecure-icon' src='/images/icon_128.png'/>
|
||||
</div>
|
||||
<div class='col-xs-10 col-md-11'>
|
||||
<h1>Signal for Chrome</h1>
|
||||
<h4 class='tagline'>Private messaging from your web browser.</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class='container'>
|
||||
<h3>You are registered with number <span id="complete-number"></span></h3>
|
||||
<div class='notifications'>
|
||||
<span class='on'>Desktop notifcations are enabled. <button class='disable'>Turn off Notifications</button></span>
|
||||
<span class='off'>Desktop notifcations are not enabled. <button class='enable'>Turn on Notifications</button></span>
|
||||
|
||||
<div id='step2' class='step'>
|
||||
<img id='signal-phone' src='/images/signal-phone.png'>
|
||||
<div class='nav'>
|
||||
<p>First, install <a class='link' href='https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms' target='_blank'>Signal</a> on your Android phone.<br /> We'll link your devices and keep your messages in sync.</p>
|
||||
<div> <a class='button step3'>I have Signal for Android</a> </div>
|
||||
<p>
|
||||
<a class='link' href='https://twitter.com/whispersystems'>Follow us</a>
|
||||
for updates about multi-device support for iOS.
|
||||
</p>
|
||||
<span class='dot step1'></span>
|
||||
<span class='dot step2 selected'></span>
|
||||
<span class='dot step3'></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='modal-container'>
|
||||
<div class='modal-main'>
|
||||
<h4>Pairing</h4>
|
||||
<div class='confirmation-dialog clearfix'>
|
||||
<div class='panel'>
|
||||
Name this device: <input type='text' id='device-name'></input>
|
||||
</div>
|
||||
<div class='panel'>
|
||||
Your phone number: <span class='number'></span>
|
||||
</div>
|
||||
<button class='ok'>Continue</span>
|
||||
<button class='cancel'>Cancel</span>
|
||||
|
||||
<div id='step3' class='step'>
|
||||
<div id="qr"></div>
|
||||
<p>Using barcode code scanning app on your phone, scan the QR code above, then select "Open link" or "Open browser" to add this computer to your account.</p>
|
||||
<!--
|
||||
<p>Open Signal on your phone and select "Add device" from the menu, then scan the QR code above to add this computer to your account.</p>
|
||||
-->
|
||||
<div class='nav'>
|
||||
<span class='dot step1'></span>
|
||||
<span class='dot step2'></span>
|
||||
<span class='dot step3 selected'></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id='step4' class='step'>
|
||||
<p>Registering as</p>
|
||||
<h3 class='number'></h3>
|
||||
<p>Verify your phone number above, then give this computer a name.</p>
|
||||
<div>
|
||||
<input type='text' id='device-name' spellcheck='false'></input>
|
||||
</div>
|
||||
<img id='signal-computer' src='/images/signal-laptop.png'>
|
||||
<div class='nav'>
|
||||
<div> <a class='button' id='sync'>Lookin good</a> </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id='step5' class='step'>
|
||||
<img id='signal-icon' src='/images/icon_250.png'/>
|
||||
<div class='progress-dialog'>
|
||||
<div class='status'></div>
|
||||
<p class='status'></p>
|
||||
<div class='bar-container'><div class='bar progress-bar'></div></div>
|
||||
</div>
|
||||
<div class='error-dialog clearfix'>
|
||||
<div class='panel'>Sorry, you have too many devices registered already. Try removing some.</div>
|
||||
<button class='ok'>Ok</button>
|
||||
<div class='nav'>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id='stepTooManyDevices' class='step'>
|
||||
<div class='error-dialog clearfix'>
|
||||
<div class='panel'>
|
||||
Sorry, you have too many devices registered already.
|
||||
Try removing some.
|
||||
</div>
|
||||
<div class='nav'>
|
||||
<button class='ok step3'>Ok</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="js/components.js"></script>
|
||||
<script type="text/javascript" src="js/database.js"></script>
|
||||
|
||||
|
@ -118,6 +95,7 @@
|
|||
<script type="text/javascript" src="js/chromium.js"></script>
|
||||
<script type="text/javascript" src="js/views/whisper_view.js"></script>
|
||||
<script type="text/javascript" src="js/views/phone-input-view.js"></script>
|
||||
<script type="text/javascript" src="js/views/install_view.js"></script>
|
||||
<script type="text/javascript" src="js/options.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue