login_form.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>Tiny Tiny RSS</title>
  6. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
  7. <link rel="apple-touch-icon" href="iui/iui-logo-touch-icon.png" />
  8. <meta name="apple-touch-fullscreen" content="YES" />
  9. <style type="text/css" media="screen">@import "iui/iui.css";</style>
  10. <script type="application/x-javascript" src="iui/iui.js"></script>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  12. </head>
  13. <script type="text/javascript">
  14. function do_login() {
  15. var f = document.forms['login'];
  16. f.submit();
  17. }
  18. </script>
  19. <body>
  20. <div class="toolbar">
  21. <h1 id="pageTitle"></h1>
  22. <a id="backButton" class="button" href="#"></a>
  23. <a class="button blueButton" onclick='do_login()'><?php echo __('Log in') ?></a>
  24. </div>
  25. <form target="_self" title="Login" id="login" class="panel" name="login" selected="true"
  26. action="../../public.php?return=<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]) ?>"
  27. method="post">
  28. <input type="hidden" name="op" value="login">
  29. <fieldset>
  30. <div class="row">
  31. <label><?php echo __("Login:") ?></label>
  32. <input type="text" autocapitalize="off" name="login">
  33. </div>
  34. <div class="row">
  35. <label><?php echo __("Password:") ?></label>
  36. <input type="password" name="password">
  37. </div>
  38. </fieldset>
  39. <div align='center'><a target='_self' href='<?php echo get_self_url_prefix() ?>/index.php?mobile=false'>
  40. <?php echo __("Open regular version") ?></a>
  41. </form>
  42. </body>
  43. </html>