Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5ee84be8c1
Fetching contributors…

Cannot retrieve contributors at this time

225 lines (209 sloc) 12.738 kb
<!doctype html>
<html manifest="gpgmail.manifest">
<head>
<meta charset="UTF-8" />
<!--
* I18N script for GPGMail_Mobile.
*
* @author Alexander Willner <alex@willner.ws>
* @version 2011-02-22
* @see http://gpgtools.org
* @license BSD
* @todo I18N all text fragments.
* @todo Implement more functionalities.
-->
<title>GPGMail</title>
<!-- styles -->
<style type="text/css" media="screen">@import "layout/jqtouch.min.css";</style>
<style type="text/css" media="screen">@import "layout/themes/jqt/theme.min.css";</style>
<style type="text/css" media="screen">@import "layout/gpgmail.css";</style>
<!-- jQuery -->
<script src="http://code.jquery.com/jquery-1.5.min.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/i18n/jquery.i18n.min.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/i18n/gpgmail.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<!-- jQTouch -->
<script src="scripts/jqtouch/jqtouch.min.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/jqtouch/gpgmail.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/gpgmail.js" type="text/javascript" charset="utf-8"></script>
<!-- local database -->
<script src="scripts/db/gpgmail.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<!-- openPGP -->
<script src="scripts/hanewin/sha1.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<script src="scripts/hanewin/cast5.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<script src="scripts/hanewin/rsa.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<script src="scripts/hanewin/aes-enc.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<script src="scripts/hanewin/base64.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<script src="scripts/hanewin/mouse.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<script src="scripts/hanewin/PGencode.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<script src="scripts/hanewin/PGdecode.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<script src="scripts/openpgp/core.js" type="text/javascript" charset="utf-8" defer="defer"></script>
<script src="scripts/openpgp/gpgmail.js" type="text/javascript" charset="utf-8" defer="defer"></script>
</head>
<body>
<!-- start: home screen -->
<div id="home" class="current">
<div class="toolbar">
<h1>GPGMail</h1>
<a class="button fade" id="infoButton" href="#about">((infoButton))</a>
</div>
<ul class="rounded">
<li class="arrow"><a href="#encrypt" class="slide" id="encryptButtonFront">((encryptButtonFront))</a></li>
<li class="arrow"><a href="#decrypt" class="slide" id="decryptButtonFront">((decryptButtonFront))</a></li>
</ul>
<ul class="individual">
<li><a href="#options" class="flip" id="optionsButton">((optionsButton))</a></li>
<li><a href="http://pledgie.com/campaigns/13482" target="_blank" id="donateButton">((donateButton))</a></li>
</ul>
<div class="info">
<p id="homeScreenInfo">((homeScreenInfo))</p>
</div>
</div>
<!-- end: home screen -->
<!-- start: about screen -->
<div id="about" class="selectable">
<p><img src="images/gpgmail_icon.png" height="64"/></p>
<p><strong>GPG</strong>Mail mobile<br />Version 0.2<br />
<a href="mailto:alex@willner.ws">by Alexander Willner</a><br />
</p>
<p>based on<br />
<a href="http://github.com/senchalabs/jQTouch">jQTouch</a> and
<a href="http://www.hanewin.net/encrypt/">HaneWIN JavaScript OpenPGP</a>
</p>
<p>
<a href="http://twitter.com/gpgmail" target="_blank">@gpgtools on Twitter</a>
</p>
<p><br /><br /><a href="#" class="grayButton goback">Close</a></p>
</div>
<!-- end: about screen -->
<!-- start: not implemented screen -->
<div id="notimplemented" class="selectable">
<p><img src="images/gpgmail_fail.png" height="64"/></p>
<p><strong>GPG</strong>Mail mobile<br />Version 0.2<br />
<a href="mailto:alex@willner.ws">by Alexander Willner</a><br />
</p>
<p>work in progress...<br />this method is not implemented yet.</p>
<p><br /><br /><a href="#" class="grayButton goback">Close</a></p>
</div>
<!-- end: not implemented screen -->
<!-- start: encrypt screen -->
<div id="encrypt">
<div class="toolbar">
<h1>Encrypt</h1>
<a href="#" class="back">Back</a>
<a class="button" id="clearencrypt" href="#" onClick="document.forms['encrypt'].reset();">clear</a>
</div>
<form name="encrypt" action="javascript:encrypt();">
<input type="hidden" name="pkey" value="CAC2PVFmVlYbpNDPU+nfc8U/fu/SFs21AEOmUU1SAf8Eh1a7vHs42TpKUyS9VhgnEetFOapfnUhCpWF+HunJ5Fx5jgeqNpogNp7tToLjHWXbYyv57WB9YDAwC2AMt+rX/Hh7T1CQtoMX5oSGbe0p2UlAF77TeSmH0n3Se9U7qPGD8E3/qYcoi2Gs877JEAAfXqkNhQuglv7mJyMRL69yglOntLzBXTspso9qdkc2uH1VCQpJG/hwBIcrf8D3/Iiu5GiG1BQ7g6ujdURE+yc76f8KKfIbfmmkutED0YjvZTkXiq6JeHLygoIAj1yZ5dBFDtR/6qW/0Dh72aHGWBM88rLrAAMFCACb1H1XxpJwiLOiEHeeYICOSyE1uPONJPXnCG+nR3rP8u9jV5k8j2h6lE9lJLt7VHqjnmyKgvLFTLUgn5mNSmFgSU7B+FlxdWrTLzpk3aJAWjLPAIQUOaxakjkVgTk8ggX++nDya7UAJ/g20YpxEXV2UaFeh2wO0/EuS84jWnKXjBuKsvzm97FXN1eF75/dyD0awBN7dW8ckgjrrrA+uVVFtdI+XqqVBk8C0ZIHCaRAOHLlN2CallDm1FbOZpTE3H+untHx5PuYaocpFz1adCpXYn+SQ0HkqFWLONz5u1WxkJ9gn1VS5HpLbNhgKap9d92/U41BoEsbgzIxSC5tQNO5" />
<input type="hidden" name="keyid" value="c71fa5a9b200c2a6" />
<input type="hidden" name="pktype" value="ELGAMAL" />
<ul class="edit rounded">
<li>
<select id="receiver" multiple="multiple" name="receiver">
<option value ="89117214f14b6dac">Alexander Willner</option>
<option value ="07eae49adbcbe671">GPGMail Project Team</option>
</select>
</li>
<li><textarea placeholder="Your unencrypted message here" name="rawtext" id="rawtext"></textarea></li>
<li>Sign message <span class="toggle"><input type="checkbox" /></span></li>
<li><input type="password" name="sign_password" placeholder="Password to sign..." value="" id="sign_password" /></li>
<li><input type="text" disabled="disabled" name="howLong" placeholder="time needed for encryption" value="" id="howLong" /></li>
</ul>
<a style="margin:0 10px;" href="#" onClick="document.forms['encrypt'].submit();" class="grayButton" id="encryptButton">Encrypt</a>
<a style="margin:0 10px; color:#333;" href="#" id="sendMailButton" class="grayButton" target="_blank">Send Mail</a>
</form>
</div>
<!-- end: encrypt screen -->
<!-- start: decrypt screen -->
<div id="decrypt">
<div class="toolbar">
<h1>Decrypt</h1>
<a href="#" class="back">Back</a>
<a class="button" id="cleardecrypt" href="#" onClick="document.forms['decrypt'].reset();">clear</a>
</div>
<form name="decrypt" action="javascript:decrypt();">
<ul class="edit rounded">
<li><textarea placeholder="Your encrypted message here" name="encryptedtext" id="encryptedtext"></textarea></li>
<li>Verify signature <span class="toggle"><input type="checkbox" /></span></li>
<li><input type="password" name="validate_password" value="" placeholder="Password to decrypt..." id="validate_password" /></li>
<li><input type="text" disabled="disabled" name="howLongDecrypt" placeholder="time needed for decryption" value="" id="howLongDecrypt" /></li>
</ul>
<a style="margin:0 10px;" href="#" onClick="document.forms['decrypt'].submit();" class="grayButton" id="decryptButton">Decrypt</a>
</form>
</div>
<!-- end: decrpyt screen -->
<!-- start: add key screen -->
<div id="addkey">
<div class="toolbar">
<h1>Add Key</h1>
<a href="#" class="back">Back</a>
</div>
<form name="addkey" action="#">
<h2 style="color:#fff;">Name</h2>
<ul class="edit rounded">
<li><input type="text" name="keyname" id="keyname" placeholder="Firstname Lastname" value="" /></li>
</ul>
<h2 style="color:#fff;">Search</h2>
<ul class="edit rounded">
<li><input type="text" name="searchstring" placeholder="String" value="" id="searchstring" /></li>
</ul>
<h2 style="color:#fff;">Download</h2>
<ul class="edit rounded">
<li><input type="text" placeholder="http://" value="http://" id="downloadURL" name="downloadURL" /></li>
<li style="font-weight:normal;"><input type="checkbox" id="downloadStore" name="downloadStore" value="download">&nbsp;Do not store locally</li>
</ul>
<h2 style="color:#fff;">Copy & Paste</h2>
<ul class="edit rounded">
<li><textarea placeholder="The ascii amored key here" name="key" id="key"></textarea></li>
</ul>
<a style="margin:0 10px;" href="#options" class="grayButton fade" id="importKey">Import</a>
</form>
</div>
<!-- end: add key screen -->
<!-- start: options screen -->
<div id="options">
<div class="toolbar">
<h1>Options</h1>
<a href="#" class="back">Back</a>
</div>
<form name="options" action="javascript:dbSave();">
<h2 style="color:#fff">Public Keys</h2>
<ul class="edit rounded">
<li>
<select id="publickeys" name="Public Keys" multiple="multiple">
<option value ="89117214f14b6dac" selected="selected">Alexander Willner</option>
<option value ="07eae49adbcbe671">GPGMail Project Team</option>
</select>
</li>
</ul>
<a style="margin:0 10px; color:#000;" id="addPublicKeyButton" href="#addkey" class="whiteButton fade">Add</a>
<a style="margin:0 10px;" href="#notimplemented" class="grayButton fade">Delete</a>
<h2 style="color:#fff">Options</h2>
<ul class="edit rounded">
<li>Sign by default<span class="toggle"><input type="checkbox" name="defaultSign" /></span></li>
<li>Verify by default<span class="toggle"><input type="checkbox" /></span></li>
</ul>
<h2>Layout</h2>
<ul class="edit rounded">
<li>
<select id="layout">
<optgroup label="Layout">
<option value ="jqt">jQTouch</option>
<option value ="apple">Apple</option>
</optgroup>
</select>
</li>
</ul>
<h2 style="color:#fff">Secret Keys</h2>
<ul class="edit rounded">
<li>
<select id="secretkeys" name="secretkeys" multiple="multiple">
</select>
</li>
</ul>
<a style="margin:0 10px; color:#000;" id="addSecretKeyButton" href="#addkey" class="whiteButton fade">Add</a>
<a style="margin:0 10px;" href="#" class="grayButton fade" id="deleteKey">Delete</a>
</form>
</div>
<!-- end: options screen -->
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.