26 <head> |
26 <head> |
27 <meta charset="utf-8"> |
27 <meta charset="utf-8"> |
28 <!--<meta http-equiv="Content-Type" content="text/html;charset=utf-8">--> |
28 <!--<meta http-equiv="Content-Type" content="text/html;charset=utf-8">--> |
29 <meta name="viewport" content="width=device-width, initial-scale=1"> |
29 <meta name="viewport" content="width=device-width, initial-scale=1"> |
30 <title>OTPWCalc</title> |
30 <title>OTPWCalc</title> |
31 <link rel="stylesheet" href="jquery.mobile/jquery.mobile-1.3.1.min.css" /> |
31 <link rel="stylesheet" type="text/css" href="jquery.mobile/jquery.mobile-1.3.1.min.css" /> |
32 <link rel="stylesheet" href="main.css" /> |
32 <link rel="stylesheet" type="text/css" href="main.css" /> |
33 <!--<script src="sjcl-0.0/sjcl.js"></script>--> |
33 <!--<script src="sjcl-0.0/sjcl.js"></script>--> |
34 <script src="hashes/md5.js"></script> |
34 <script src="hashes/md5.js"></script> |
35 <script src="hashes/sha1.js"></script> |
35 <script src="hashes/sha1.js"></script> |
36 <script src="hashes/rmd160.js"></script> |
36 <script src="hashes/rmd160.js"></script> |
37 <script src="otpalg/dict.js"></script> |
37 <script src="otpalg/dict.js"></script> |
38 <script src="otpalg/otpalg.js"></script> |
38 <script src="otpalg/otpalg.js"></script> |
39 <script src="jquery.core/jquery-1.10.1.min.js"></script> |
39 <script src="jquery.core/jquery-1.10.2.min.js"></script> |
40 <script src="main.js"></script> |
40 <script src="main.js"></script> |
41 <script src="jquery.mobile/jquery.mobile-1.3.1.min.js"></script> |
41 <script src="jquery.mobile/jquery.mobile-1.3.1.min.js"></script> |
42 </head> |
42 </head> |
43 <body> |
43 <body> |
44 <!-- Data attributes reserved by JQuery Mobile: |
44 <!-- Data attributes reserved by JQuery Mobile: |
96 <input type="password" data-clear-btn="true" name="paswrd" id="paswrd" value="" placeholder="Secret" /> |
96 <input type="password" data-clear-btn="true" name="paswrd" id="paswrd" value="" placeholder="Secret" /> |
97 |
97 |
98 <!-- JQM miscalculated spacing --> |
98 <!-- JQM miscalculated spacing --> |
99 <div style="height: 0.25em;"></div> |
99 <div style="height: 0.25em;"></div> |
100 |
100 |
101 <a type=button name="viewpass" id="viewpass" data-theme="b" data-icon="otpwcalc-seepass" onmousedown="$('#paswrd').get(0).type='text'; return false;" onmouseup="$('#paswrd').get(0).type='password'; return false;">Press to Reveal Secret</a> |
101 <a type=button name="viewpass" id="viewpass" data-theme="b" data-icon="otpwcalc-seepass" onmousedown="$('#paswrd').get(0).type='text'; return false;" ontouchstart="$('#paswrd').get(0).type='text'; return false;" onmouseup="$('#paswrd').get(0).type='password'; return false;" ontouchend="$('#paswrd').get(0).type='password'; return false;">Press to Reveal Secret</a> |
102 </div> |
102 </div> |
103 </li> |
103 </li> |
104 |
104 |
105 <li> |
105 <li> |
106 <div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="c"> |
106 <div data-role="collapsible" data-collapsed="true" data-theme="e" data-content-theme="c"> |