1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:55:56 +00:00

OTP: css fixes

This commit is contained in:
Andrew Dolgov
2019-02-19 20:17:13 +03:00
parent 005b90cede
commit 3b057d5f02
8 changed files with 35 additions and 763 deletions

View File

@@ -54,7 +54,9 @@ class Auth_Internal extends Plugin implements IAuthModule {
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<?php echo stylesheet_tag("css/default.css") ?>
<body class="ttrss_utility otp"><div class="content">
<body class="ttrss_utility otp">
<h1><?php echo __("Authentication") ?></h1>
<div class="content">
<form action="public.php?return=<?php echo $return ?>"
method="POST" class="otpform">
<input type="hidden" name="op" value="login">
@@ -64,9 +66,11 @@ class Auth_Internal extends Plugin implements IAuthModule {
<input type="hidden" name="remember_me" value="<?php echo htmlspecialchars($_POST["remember_me"]) ?>">
<input type="hidden" name="profile" value="<?php echo htmlspecialchars($_POST["profile"]) ?>">
<label><?php echo __("Please enter your one time password:") ?></label>
<input autocomplete="off" size="6" name="otp" value=""/>
<input type="submit" value="Continue"/>
<fieldset>
<label><?php echo __("Please enter your one time password:") ?></label>
<input autocomplete="off" size="6" name="otp" value=""/>
<input type="submit" value="Continue"/>
</fieldset>
</form></div>
<script type="text/javascript">
document.forms[0].otp.focus();