Merge pull request #1043 from wknet123/dev-set-autocomplete-off

Set form autocomplete to off
LGTM
This commit is contained in:
yhua123 2016-11-09 14:45:43 +08:00 committed by GitHub
commit 0a4ecd765f
11 changed files with 11 additions and 11 deletions

View File

@ -14,7 +14,7 @@
--> -->
<div class="well panel-group well-custom" style="margin-top: 10px; position: absolute; width: 98%;"> <div class="well panel-group well-custom" style="margin-top: 10px; position: absolute; width: 98%;">
<div class="row"> <div class="row">
<form name="form" class="css-form form-custom" novalidate> <form name="form" class="css-form form-custom" novalidate autocomplete="off">
<div class="col-xs-10 col-md-10"> <div class="col-xs-10 col-md-10">
<div class="form-group col-md-6"> <div class="form-group col-md-6">
<input type="text" class="form-control" id="addUsername" placeholder="// 'username' | tr //" ng-model="pm.username" name="uUsername" ng-model-options="{ debounce: 250 }" ng-change="vm.reset()" required> <input type="text" class="form-control" id="addUsername" placeholder="// 'username' | tr //" ng-model="pm.username" name="uUsername" ng-model-options="{ debounce: 250 }" ng-change="vm.reset()" required>

View File

@ -13,7 +13,7 @@
limitations under the License. limitations under the License.
--> -->
<div class="well well-custom" style="position: absolute; margin-left: 10px; margin-top: 5px; width: 94%;"> <div class="well well-custom" style="position: absolute; margin-left: 10px; margin-top: 5px; width: 94%;">
<form name="form" class="css-form form-custom" novalidate> <form name="form" class="css-form form-custom" novalidate autocomplete="off">
<div class="row"> <div class="row">
<div class="col-xs-10 col-md-10"> <div class="col-xs-10 col-md-10">
<div class="form-group col-md-7"> <div class="form-group col-md-7">

View File

@ -14,7 +14,7 @@
--> -->
<div class="modal fade" data-backdrop="static" id="createPolicyModal" tabindex="-1" role="dialog"> <div class="modal fade" data-backdrop="static" id="createPolicyModal" tabindex="-1" role="dialog">
<div class="modal-dialog"> <div class="modal-dialog">
<form name="form" class="form-horizontal css-form" novalidate> <form name="form" class="form-horizontal css-form" novalidate autocomplete="off">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>

View File

@ -12,7 +12,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<form name="form" class="form-horizontal" ng-submit="form.$valid && vm.changeSettings(system)" > <form name="form" class="form-horizontal" ng-submit="form.$valid && vm.changeSettings(system)" autocomplete="off">
<div class="col-md-12"> <div class="col-md-12">
<h5>System Settings</h5> <h5>System Settings</h5>
<hr/> <hr/>

View File

@ -14,7 +14,7 @@
--> -->
<div class="modal fade" data-backdrop="static" id="createDestinationModal" tabindex="-1" role="dialog"> <div class="modal fade" data-backdrop="static" id="createDestinationModal" tabindex="-1" role="dialog">
<div class="modal-dialog"> <div class="modal-dialog">
<form name="form" class="form-horizontal css-form" novalidate> <form name="form" class="form-horizontal css-form" novalidate autocomplete="off">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>

View File

@ -19,7 +19,7 @@
<div class="section"> <div class="section">
<h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'account_setting' | tr //</h1> <h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'account_setting' | tr //</h1>
<div class="col-md-12 col-md-offset-2 main-content"> <div class="col-md-12 col-md-offset-2 main-content">
<form name="form" class="css-form form-horizontal" novalidate> <form name="form" class="css-form form-horizontal" novalidate autocomplete="off">
<div class="form-group"> <div class="form-group">
<label for="username" class="col-sm-3 control-label">// 'username' | tr //:</label> <label for="username" class="col-sm-3 control-label">// 'username' | tr //:</label>
<div class="col-sm-7"> <div class="col-sm-7">

View File

@ -19,7 +19,7 @@
<div class="section"> <div class="section">
<h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'change_password' | tr //</h1> <h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'change_password' | tr //</h1>
<div class="col-md-12 col-md-offset-2 main-content"> <div class="col-md-12 col-md-offset-2 main-content">
<form name="form" class="css-form form-horizontal" novalidate> <form name="form" class="css-form form-horizontal" novalidate autocomplete="off">
<div> <div>
<div class="form-group"> <div class="form-group">
<label for="oldPassword" class="col-sm-3 control-label">// 'old_password' | tr //:</label> <label for="oldPassword" class="col-sm-3 control-label">// 'old_password' | tr //:</label>

View File

@ -20,7 +20,7 @@
<h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'forgot_password' | tr //</h1> <h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'forgot_password' | tr //</h1>
<div class="row"> <div class="row">
<div class="col-md-12 col-md-offset-2 main-content"> <div class="col-md-12 col-md-offset-2 main-content">
<form name="form" class="form-horizontal css-form" novalidate> <form name="form" class="form-horizontal css-form" novalidate autocomplete="off">
<div class="form-group"> <div class="form-group">
<label for="email" class="col-sm-3 control-label">// 'email' | tr //:</label> <label for="email" class="col-sm-3 control-label">// 'email' | tr //:</label>
<div class="col-sm-7"> <div class="col-sm-7">

View File

@ -20,7 +20,7 @@
<h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'reset_password' | tr //</h1> <h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'reset_password' | tr //</h1>
<div class="row"> <div class="row">
<div class="col-md-12 col-md-offset-2 main-content"> <div class="col-md-12 col-md-offset-2 main-content">
<form name="form" class="form-horizontal css-form" ng-submit="form.$valid" novalidate> <form name="form" class="form-horizontal css-form" ng-submit="form.$valid" novalidate autocomplete="off">
<div class="form-group"> <div class="form-group">
<label for="password" class="col-sm-3 control-label">// 'password' | tr //:</label> <label for="password" class="col-sm-3 control-label">// 'password' | tr //:</label>
<div class="col-sm-7"> <div class="col-sm-7">

View File

@ -20,7 +20,7 @@
<p class="control-button"><input type="button" class="btn btn-link pull-right" value="// 'log_out' | tr //" ng-click="vm.doLogOut()"></p> <p class="control-button"><input type="button" class="btn btn-link pull-right" value="// 'log_out' | tr //" ng-click="vm.doLogOut()"></p>
</div> </div>
{{ else }} {{ else }}
<form name="form" class="form-horizontal css-form" novalidate> <form name="form" class="form-horizontal css-form" novalidate autocomplete="off">
<div class="form-group"> <div class="form-group">
<div class="col-sm-offset-1 col-sm-10"> <div class="col-sm-offset-1 col-sm-10">
<input id="username" type="text" class="form-control" placeholder="// 'username_email' | tr //" name="uPrincipal" ng-change="vm.reset()" ng-model="user.principal" required> <input id="username" type="text" class="form-control" placeholder="// 'username_email' | tr //" name="uPrincipal" ng-change="vm.reset()" ng-model="user.principal" required>

View File

@ -26,7 +26,7 @@
</h1> </h1>
<div class="row"> <div class="row">
<div class="col-md-12 col-md-offset-2 main-content"> <div class="col-md-12 col-md-offset-2 main-content">
<form name="form" class="form-horizontal css-form" novalidate> <form name="form" class="form-horizontal css-form" novalidate autocomplete="off">
<div class="form-group"> <div class="form-group">
<label for="username" class="col-sm-3 control-label">// 'username' | tr //:</label> <label for="username" class="col-sm-3 control-label">// 'username' | tr //:</label>
<div class="col-sm-7"> <div class="col-sm-7">