Mauricio A. Guerta commited on
Commit
951381e
1 Parent(s): 54f62d8

Remove save senha

Browse files
Files changed (1) hide show
  1. static/novo-front/index.html +23 -6
static/novo-front/index.html CHANGED
@@ -5,33 +5,50 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" >
6
  <!-- content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' /> -->
7
 
8
-
9
  <title>Login</title>
10
  <!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> -->
11
  <link rel="stylesheet" href="css/styles.css">
 
 
12
 
13
  </head>
14
  <body>
15
  <div id="login-container">
16
  <h1>Login</h1><br>
17
  <p>Olá! Insira usuário e senha para continuarmos.</p>
18
- <form action="javascript:autentica()" id="form_id" method="get">
19
  <label for="email">Usuário</label>
20
- <input type="email" name="email" id="email" placeholder="Digite seu usuário" oninvalid="this.setCustomValidity('Por favor entre com um email válido')" autocomplete="off" >
 
 
 
 
 
 
21
 
22
  <label for="password">Senha</label>
 
 
 
 
 
 
 
 
 
 
23
 
24
- <input type="password" name="password" id="password" placeholder="Digite sua senha">
25
  <input type="submit" value="Login" >
26
 
27
  </form>
28
  <a href="#" id="forgot-pass">Esqueceu a senha?</a>
29
 
30
  </div>
 
 
31
  <script>
32
 
33
-
34
- function autentica() {
35
 
36
  var xhttp = new XMLHttpRequest();
37
 
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" >
6
  <!-- content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' /> -->
7
 
 
8
  <title>Login</title>
9
  <!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> -->
10
  <link rel="stylesheet" href="css/styles.css">
11
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
12
+
13
 
14
  </head>
15
  <body>
16
  <div id="login-container">
17
  <h1>Login</h1><br>
18
  <p>Olá! Insira usuário e senha para continuarmos.</p>
19
+ <form action="javascript:autentica()" id="form_id" method="get" autocomplete="new-password">
20
  <label for="email">Usuário</label>
21
+
22
+ <input type="email" name="email" id="email"
23
+ placeholder="Digite seu usuário"
24
+ readonly onclick= "this.removeAttribute('readonly');"
25
+ oninvalid="this.setCustomValidity('Por favor entre com um email válido')"
26
+ autocomplete="off"
27
+ />
28
 
29
  <label for="password">Senha</label>
30
+
31
+ <input type="text" name="password" id="password"
32
+ class="js-text-to-password-onedit"
33
+ placeholder="Digite sua senha"
34
+ readonly onclick= "this.removeAttribute('readonly');"
35
+ autocomplete="off"
36
+ style="-webkit-text-security: square;"
37
+ />
38
+
39
+
40
 
 
41
  <input type="submit" value="Login" >
42
 
43
  </form>
44
  <a href="#" id="forgot-pass">Esqueceu a senha?</a>
45
 
46
  </div>
47
+
48
+
49
  <script>
50
 
51
+ function autentica() {
 
52
 
53
  var xhttp = new XMLHttpRequest();
54