Explorar o código

Change auth pwd field to a password type

Gaël Métais %!s(int64=10) %!d(string=hai) anos
pai
achega
1fb32de428
Modificáronse 3 ficheiros con 5 adicións e 3 borrados
  1. 2 1
      front/src/css/index.css
  2. 2 1
      front/src/less/index.less
  3. 1 1
      front/src/views/index.html

+ 2 - 1
front/src/css/index.css

@@ -33,7 +33,8 @@
 .settings select {
   font-size: 1em;
 }
-.settings input[type=text] {
+.settings input[type=text],
+.settings input[type=password] {
   width: 100%;
   min-width: 4em;
 }

+ 2 - 1
front/src/less/index.less

@@ -38,7 +38,7 @@
         font-size: 1em;
     }
 
-    input[type=text] {
+    input[type=text], input[type=password] {
         width: 100%;
         min-width: 4em;
     }
@@ -147,6 +147,7 @@
             &.label {
                 width: 25%;
                 white-space: nowrap;
+                vertical-align: middle;
             }
         }
     }

+ 1 - 1
front/src/views/index.html

@@ -57,7 +57,7 @@
                     </div>
                     <div>
                         <div><span>password</div>
-                        <div><input type="text" class="authField" name="authPass" ng-model="settings.authPass" /></div>
+                        <div><input type="password" class="authField" name="authPass" ng-model="settings.authPass" /></div>
                     </div>
                 </div>
             </div>