UX updates
This commit is contained in:
parent
0bdf2a3e77
commit
a598f08dce
|
@ -694,5 +694,13 @@
|
|||
"shareVaultInfo": {
|
||||
"message": "Create an organization to securely share your logins with other users.",
|
||||
"description": "Create an organization to securely share your logins with other users."
|
||||
},
|
||||
"contribute": {
|
||||
"message": "You can contribute to!",
|
||||
"description": "You can contribute to!"
|
||||
},
|
||||
"learnMore": {
|
||||
"message": "Learn more",
|
||||
"description": "Learn more"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
};
|
||||
|
||||
$scope.lock = function () {
|
||||
$analytics.eventTrack('Lock Now');
|
||||
lockService.lock().then(function () {
|
||||
return $state.go('lock', {
|
||||
animation: 'in-slide-up'
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
angular
|
||||
.module('bit.settings')
|
||||
|
||||
.controller('settingsCreditsController', function ($scope, i18nService) {
|
||||
.controller('settingsCreditsController', function ($scope, i18nService, $analytics) {
|
||||
$scope.i18n = i18nService;
|
||||
|
||||
$scope.learnMore = function () {
|
||||
$analytics.eventTrack('Contribute Learn More');
|
||||
|
||||
chrome.tabs.create({
|
||||
url: 'https://github.com/bitwarden/browser/blob/master/CONTRIBUTING.md'
|
||||
});
|
||||
};
|
||||
});
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
$scope.i18n = i18nService;
|
||||
$scope.folder = {};
|
||||
var folderId = $stateParams.folderId;
|
||||
$('#name').focus();
|
||||
|
||||
folderService.get(folderId, function (folder) {
|
||||
$q.when(folder.decrypt()).then(function (model) {
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
<b>@SW1FT</b> - Portuguese
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-section-footer">
|
||||
{{i18n.contribute}} <a href="" ng-click="learnMore()">{{i18n.learnMore}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
i18nService, cryptoService, userService, folderService, loginService) {
|
||||
$scope.i18n = i18nService;
|
||||
|
||||
$('#master-password').focus();
|
||||
|
||||
$scope.submitPromise = null;
|
||||
$scope.submit = function () {
|
||||
$scope.submitPromise = checkPassword().then(function () {
|
||||
|
|
|
@ -12,6 +12,8 @@ angular
|
|||
folderId: null
|
||||
};
|
||||
|
||||
$('#name').focus();
|
||||
|
||||
if ($stateParams.login) {
|
||||
angular.extend($scope.login, $stateParams.login);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue