mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 23:27:57 +01:00
cache kill + hack to disable firefox autofill
This commit is contained in:
parent
d497fa8ed7
commit
ce7a8590db
@ -134,6 +134,9 @@ module.exports = function(grunt) {
|
|||||||
replacements: [{
|
replacements: [{
|
||||||
from: '../api',
|
from: '../api',
|
||||||
to: grunt.option('apiurl') || '../api'
|
to: grunt.option('apiurl') || '../api'
|
||||||
|
}, {
|
||||||
|
from: '@build.date@',
|
||||||
|
to: new Date().getTime()
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="renderer" content="webkit" />
|
<meta name="renderer" content="webkit" />
|
||||||
<link rel="shortcut icon" href="../api/theme/image/logo" />
|
<link rel="shortcut icon" href="../api/theme/image/logo" />
|
||||||
<!-- ref:css style/style.min.css -->
|
<!-- ref:css style/style.min.css?@build.date@ -->
|
||||||
<link rel="stylesheet" href="style/bootstrap.css" type="text/css" />
|
<link rel="stylesheet" href="style/bootstrap.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="style/fontawesome.css" type="text/css" />
|
<link rel="stylesheet" href="style/fontawesome.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="style/colorpicker.css" type="text/css" />
|
<link rel="stylesheet" href="style/colorpicker.css" type="text/css" />
|
||||||
@ -25,7 +25,7 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<!-- endref -->
|
<!-- endref -->
|
||||||
<!-- ref:js docs.min.js -->
|
<!-- ref:js docs.min.js?@build.date@ -->
|
||||||
<script src="lib/jquery.js" type="text/javascript"></script>
|
<script src="lib/jquery.js" type="text/javascript"></script>
|
||||||
<script src="lib/jquery.ui.js" type="text/javascript"></script>
|
<script src="lib/jquery.ui.js" type="text/javascript"></script>
|
||||||
<script src="lib/less.js" type="text/javascript"></script>
|
<script src="lib/less.js" type="text/javascript"></script>
|
||||||
|
@ -63,6 +63,7 @@
|
|||||||
ng-class="{ 'has-error': !editUserForm.userPassword.$valid && editUserForm.$dirty, success: editUserForm.userPassword.$valid }">
|
ng-class="{ 'has-error': !editUserForm.userPassword.$valid && editUserForm.$dirty, success: editUserForm.userPassword.$valid }">
|
||||||
<label class="col-sm-2 control-label" for="inputUserPassword">{{ 'settings.user.edit.password' | translate }}</label>
|
<label class="col-sm-2 control-label" for="inputUserPassword">{{ 'settings.user.edit.password' | translate }}</label>
|
||||||
<div class="col-sm-7">
|
<div class="col-sm-7">
|
||||||
|
<input type="password" style="display: none;"/><!-- Hack to disable autofill -->
|
||||||
<input name="userPassword" type="password" id="inputUserPassword" ng-required="!isEdit()" class="form-control"
|
<input name="userPassword" type="password" id="inputUserPassword" ng-required="!isEdit()" class="form-control"
|
||||||
ng-minlength="8" ng-maxlength="50" ng-attr-placeholder="{{ 'settings.user.edit.password' | translate }}" ng-model="user.password"/>
|
ng-minlength="8" ng-maxlength="50" ng-attr-placeholder="{{ 'settings.user.edit.password' | translate }}" ng-model="user.password"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="renderer" content="webkit" />
|
<meta name="renderer" content="webkit" />
|
||||||
<link rel="shortcut icon" href="favicon.png" />
|
<link rel="shortcut icon" href="favicon.png" />
|
||||||
<!-- ref:css style/style.min.css -->
|
<!-- ref:css style/style.min.css?@build.date@ -->
|
||||||
<link rel="stylesheet" href="style/bootstrap.css" type="text/css" />
|
<link rel="stylesheet" href="style/bootstrap.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="style/fontawesome.css" type="text/css" />
|
<link rel="stylesheet" href="style/fontawesome.css" type="text/css" />
|
||||||
<link rel="stylesheet/less" href="style/main.less" type="text/css" />
|
<link rel="stylesheet/less" href="style/main.less" type="text/css" />
|
||||||
@ -24,7 +24,7 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<!-- endref -->
|
<!-- endref -->
|
||||||
<!-- ref:js share.min.js -->
|
<!-- ref:js share.min.js?@build.date@ -->
|
||||||
<script src="lib/jquery.js" type="text/javascript"></script>
|
<script src="lib/jquery.js" type="text/javascript"></script>
|
||||||
<script src="lib/less.js" type="text/javascript"></script>
|
<script src="lib/less.js" type="text/javascript"></script>
|
||||||
<script src="lib/underscore.js" type="text/javascript"></script>
|
<script src="lib/underscore.js" type="text/javascript"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user