diff --git a/js/app/controllers/credential.js b/js/app/controllers/credential.js index 1e4f5f21..1e822e97 100644 --- a/js/app/controllers/credential.js +++ b/js/app/controllers/credential.js @@ -75,6 +75,8 @@ angular.module('passmanApp') }; //@TODO Download files + //@TODO TagService which holds all the tags + //@TODO Show otp field if ($scope.active_vault) { $scope.$parent.selectedVault = true; diff --git a/js/app/controllers/edit_credential.js b/js/app/controllers/edit_credential.js index ce44dd29..67ab5703 100644 --- a/js/app/controllers/edit_credential.js +++ b/js/app/controllers/edit_credential.js @@ -162,7 +162,8 @@ angular.module('passmanApp') $scope.$apply() } - } + }; + //@TODO Set tags, read them from tag service $scope.parseQR = function(QRCode){ var re = /otpauth:\/\/(totp|hotp)\/(.*)\?(secret|issuer)=(.*)&(issuer|secret)=(.*)/, parsedQR,qrInfo; diff --git a/js/templates.js b/js/templates.js index 928ab093..7b109cc5 100644 --- a/js/templates.js +++ b/js/templates.js @@ -47,7 +47,7 @@ angular.module('views/partials/password-meter.html', []).run(['$templateCache', angular.module('views/show_vault.html', []).run(['$templateCache', function($templateCache) { 'use strict'; $templateCache.put('views/show_vault.html', - '
New
{{credential.label}} Tag 1 Tag 2 Tag 4 Tag 4 Long tag xD
Label{{selectedCredential.label}}
Account
Password
E-mail
URL
Files
{{field.label}}
Changed{{selectedCredential.changed * 1000 | date:\'dd-MM-yyyy @ HH:mm:ss\'}}
Created{{selectedCredential.created * 1000 | date:\'dd-MM-yyyy @ HH:mm:ss\'}}
Edit Delete Share
'); + '
New
{{credential.label}} Tag 1 Tag 2 Tag 4 Tag 4 Long tag xD
Label{{selectedCredential.label}}
Account
Password
E-mail
URL
Files
{{field.label}}
Changed{{selectedCredential.changed * 1000 | date:\'dd-MM-yyyy @ HH:mm:ss\'}}
Created{{selectedCredential.created * 1000 | date:\'dd-MM-yyyy @ HH:mm:ss\'}}
Edit Delete Share
'); }]); angular.module('views/vaults.html', []).run(['$templateCache', function($templateCache) { diff --git a/templates/views/show_vault.html b/templates/views/show_vault.html index edf9aa02..57711944 100644 --- a/templates/views/show_vault.html +++ b/templates/views/show_vault.html @@ -155,7 +155,7 @@ -
+
Edit