1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-29 10:27:35 +01:00

Improved password generator UI

This commit is contained in:
Giulio Cesare Solaroli
2015-08-12 10:54:13 +02:00
parent c73aee1751
commit feef7e9705
6 changed files with 879 additions and 156 deletions

View File

@@ -204,9 +204,10 @@ Clipperz.PM.UI.Components.Cards.PasswordGeneratorClass = React.createClass({
Clipperz.PM.UI.Components.Cards.TextArea({'rows':'1', 'value':this.state['password'], 'onChange':this.changeStateWithTargetValue('password', false)}),
React.DOM.div({'className':'entropyWrapper', 'style':{'backgroundColor':entropyColor}}, [ React.DOM.div({'className':'entropy', 'style':{'width': entropyWidth}})])
]),
React.DOM.div({'className':'button', 'onClick':this.refreshPasswordValue}, "generate new password"),
React.DOM.div({'className':'button setPasswordValue', 'onClick':this.setPasswordValue}, "set password"),
React.DOM.div({'className':'button generatePassword', 'onClick':this.refreshPasswordValue}, "generate password"),
]),
React.DOM.div({'className':'button setValue', 'onClick':this.setPasswordValue})
// React.DOM.div({'className':'button setValue', 'onClick':this.setPasswordValue})
])
])
]);