Autocomplete of for OTA
This commit is contained in:
parent
2c5d861011
commit
6a20e9c684
@ -3,13 +3,14 @@
|
|||||||
<head>
|
<head>
|
||||||
<?php
|
<?php
|
||||||
$partial = new Partial('head');
|
$partial = new Partial('head');
|
||||||
|
$partial->prepare('baseDir',$BASEDIR);
|
||||||
$partial->render();
|
$partial->render();
|
||||||
?>
|
?>
|
||||||
<title><?php echo $TITLE ?></title>
|
<title><?php echo $TITLE ?></title>
|
||||||
</head>
|
</head>
|
||||||
<body class="no-transitions">
|
<body class="no-transitions">
|
||||||
<?php
|
<?php
|
||||||
if (isset($ota) && $ota != '') {
|
if (isset($ota) && $ota != '') {
|
||||||
$partial = new Partial('loginOta');
|
$partial = new Partial('loginOta');
|
||||||
$partial->prepare('ota',$ota);
|
$partial->prepare('ota',$ota);
|
||||||
$partial->render();
|
$partial->render();
|
||||||
@ -18,7 +19,7 @@
|
|||||||
$partial->render();
|
$partial->render();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$partial = new Partial('footer');
|
$partial = new Partial('footer');
|
||||||
$partial->render();
|
$partial->render();
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="modal">
|
<div class="modal">
|
||||||
<h4 class="mb-4">OTA</h4>
|
<h4 class="mb-4">OTA</h4>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<input type="hidden" name="otaSecret" value="<?php echo $OTA; ?>"/>
|
<input type="hidden" name="otaSecret" value="<?php echo $OTA; ?>" autocomplete="off"/>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="label">Code:</div>
|
<div class="label">Code:</div>
|
||||||
<input class="input" type="text" name="otaCode" placeholder=""/>
|
<input class="input" type="text" name="otaCode" placeholder=""/>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="modal-container">
|
<div class="modal-container">
|
||||||
<div class="modal">
|
<div class="modal">
|
||||||
<h4 class="mb-4">Login</h4>
|
<h4 class="mb-4">OAuth</h4>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="label">Name:</div>
|
<div class="label">Name:</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="modal">
|
<div class="modal">
|
||||||
<h4 class="mb-4">OTA</h4>
|
<h4 class="mb-4">OTA</h4>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<input type="hidden" name="otaSecret" value="<?php echo $OTA; ?>"/>
|
<input type="hidden" name="otaSecret" value="<?php echo $OTA; ?>" autocomplete="off"/>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="label">Code:</div>
|
<div class="label">Code:</div>
|
||||||
<?php
|
<?php
|
||||||
|
Loading…
Reference in New Issue
Block a user