summaryrefslogtreecommitdiff
path: root/mobile/login_form.php
blob: ad5e35cead5a6440bc1ec4e438cc81c3bc458323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tiny Tiny RSS</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<link rel="apple-touch-icon" href="../lib/iui/iui-logo-touch-icon.png" />
<meta name="apple-touch-fullscreen" content="YES" />
<style type="text/css" media="screen">@import "../lib/iui/iui.css";</style>
<script type="application/x-javascript" src="../lib/iui/iui.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>


<script type="text/javascript">
function do_login() {
	var f = document.forms['login'];
	f.submit();
}
</script>

<body>

    <div class="toolbar">
        <h1 id="pageTitle"></h1>
		  <a id="backButton" class="button" href="#"></a>
        <a class="button blueButton" onclick='do_login()'><?php echo __('Log in') ?></a>
    </div>

	<form target="_self" title="Login" action="index.php" id="login" class="panel" method="post" name="login" selected="true">

	<fieldset>

		<input type="hidden" name="login_action" value="do_login">

		<div class="row">
			<label><?php echo __("Login:") ?></label>
			<input type="text" autocapitalize="off" name="login">
		</div>

		<div class="row">
		<label><?php echo __("Password:") ?></label>
		<input type="password" name="password">
		</div>

		</fieldset>

		<div align='center'><a target='_self' href='<?php echo get_self_url_prefix() ?>/index.php?mobile=false'>
			<?php echo __("Open regular version") ?></a>

	</form>

</body>
</html>