]> git.wh0rd.org - tt-rss.git/blob - mobile/login_form.php
mobile: add experimental iUI based version
[tt-rss.git] / mobile / login_form.php
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
6 <title>Tiny Tiny RSS</title>
7 <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
8 <link rel="apple-touch-icon" href="../lib/iui/iui-logo-touch-icon.png" />
9 <meta name="apple-touch-fullscreen" content="YES" />
10 <style type="text/css" media="screen">@import "../lib/iui/iui.css";</style>
11 <script type="application/x-javascript" src="../lib/iui/iui.js"></script>
12 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
13 </head>
14
15
16 <script type="text/javascript">
17 function do_login() {
18 var f = document.forms['login'];
19 f.submit();
20 }
21 </script>
22
23 <script type="text/javascript">
24 if (document.addEventListener) {
25 document.addEventListener("DOMContentLoaded", init, null);
26 }
27 window.onload = init;
28 </script>
29
30
31 <body>
32
33 <div class="toolbar">
34 <h1 id="pageTitle"></h1>
35 <a id="backButton" class="button" href="#"></a>
36 <a class="button blueButton" onclick='do_login()'><?php echo __('Log in') ?></a>
37 </div>
38
39 <form target="_self" title="Login" action="index.php" id="login" class="panel" method="POST" name="login" selected="true">
40
41 <fieldset>
42
43 <input type="hidden" name="login_action" value="do_login">
44
45 <div class="row">
46 <label><?php echo __("Login:") ?></label>
47 <input type="text" name="login">
48 </div>
49
50 <div class="row">
51 <label><?php echo __("Password:") ?></label>
52 <input type="password" name="password">
53 </div>
54
55 </fieldset>
56
57 </form>
58
59 </body>
60 </html>
61