mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-11 00:07:16 +01:00
Added stub form to change passphrase
This commit is contained in:
parent
e12e7283f1
commit
4dc0a68e0f
@ -128,7 +128,6 @@ http://jonibologna.com/flexbox-cheatsheet/
|
|||||||
-ms-transform: rotate(0deg) translate(0, 0);
|
-ms-transform: rotate(0deg) translate(0, 0);
|
||||||
-o-transform: rotate(0deg) translate(0, 0);
|
-o-transform: rotate(0deg) translate(0, 0);
|
||||||
transform: rotate(0deg) translate(0, 0); }
|
transform: rotate(0deg) translate(0, 0); }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(359deg) translate(0, 0);
|
-webkit-transform: rotate(359deg) translate(0, 0);
|
||||||
-moz-transform: rotate(359deg) translate(0, 0);
|
-moz-transform: rotate(359deg) translate(0, 0);
|
||||||
@ -142,7 +141,6 @@ http://jonibologna.com/flexbox-cheatsheet/
|
|||||||
-ms-transform: rotate(0deg) translate(0, 0);
|
-ms-transform: rotate(0deg) translate(0, 0);
|
||||||
-o-transform: rotate(0deg) translate(0, 0);
|
-o-transform: rotate(0deg) translate(0, 0);
|
||||||
transform: rotate(0deg) translate(0, 0); }
|
transform: rotate(0deg) translate(0, 0); }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(359deg) translate(0, 0);
|
-webkit-transform: rotate(359deg) translate(0, 0);
|
||||||
-moz-transform: rotate(359deg) translate(0, 0);
|
-moz-transform: rotate(359deg) translate(0, 0);
|
||||||
@ -156,7 +154,6 @@ http://jonibologna.com/flexbox-cheatsheet/
|
|||||||
-ms-transform: rotate(0deg) translate(0, 0);
|
-ms-transform: rotate(0deg) translate(0, 0);
|
||||||
-o-transform: rotate(0deg) translate(0, 0);
|
-o-transform: rotate(0deg) translate(0, 0);
|
||||||
transform: rotate(0deg) translate(0, 0); }
|
transform: rotate(0deg) translate(0, 0); }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(359deg) translate(0, 0);
|
-webkit-transform: rotate(359deg) translate(0, 0);
|
||||||
-moz-transform: rotate(359deg) translate(0, 0);
|
-moz-transform: rotate(359deg) translate(0, 0);
|
||||||
@ -170,7 +167,6 @@ http://jonibologna.com/flexbox-cheatsheet/
|
|||||||
-ms-transform: rotate(0deg) translate(0, 0);
|
-ms-transform: rotate(0deg) translate(0, 0);
|
||||||
-o-transform: rotate(0deg) translate(0, 0);
|
-o-transform: rotate(0deg) translate(0, 0);
|
||||||
transform: rotate(0deg) translate(0, 0); }
|
transform: rotate(0deg) translate(0, 0); }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(359deg) translate(0, 0);
|
-webkit-transform: rotate(359deg) translate(0, 0);
|
||||||
-moz-transform: rotate(359deg) translate(0, 0);
|
-moz-transform: rotate(359deg) translate(0, 0);
|
||||||
@ -473,73 +469,61 @@ div.overlay {
|
|||||||
@-webkit-keyframes overlay-spin {
|
@-webkit-keyframes overlay-spin {
|
||||||
from {
|
from {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
to {
|
to {
|
||||||
opacity: 0.25; } }
|
opacity: 0.25; } }
|
||||||
@-moz-keyframes overlay-spin {
|
@-moz-keyframes overlay-spin {
|
||||||
from {
|
from {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
to {
|
to {
|
||||||
opacity: 0.25; } }
|
opacity: 0.25; } }
|
||||||
@-ms-keyframes overlay-spin {
|
@-ms-keyframes overlay-spin {
|
||||||
from {
|
from {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
to {
|
to {
|
||||||
opacity: 0.25; } }
|
opacity: 0.25; } }
|
||||||
@keyframes overlay-spin {
|
@keyframes overlay-spin {
|
||||||
from {
|
from {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
to {
|
to {
|
||||||
opacity: 0.25; } }
|
opacity: 0.25; } }
|
||||||
@-webkit-keyframes ios-overlay-show {
|
@-webkit-keyframes ios-overlay-show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1; } }
|
opacity: 1; } }
|
||||||
@-moz-keyframes ios-overlay-show {
|
@-moz-keyframes ios-overlay-show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1; } }
|
opacity: 1; } }
|
||||||
@-ms-keyframes ios-overlay-show {
|
@-ms-keyframes ios-overlay-show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1; } }
|
opacity: 1; } }
|
||||||
@keyframes ios-overlay-show {
|
@keyframes ios-overlay-show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1; } }
|
opacity: 1; } }
|
||||||
@-webkit-keyframes ios-overlay-hide {
|
@-webkit-keyframes ios-overlay-hide {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 0; } }
|
opacity: 0; } }
|
||||||
@-moz-keyframes ios-overlay-hide {
|
@-moz-keyframes ios-overlay-hide {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 0; } }
|
opacity: 0; } }
|
||||||
@-ms-keyframes ios-overlay-hide {
|
@-ms-keyframes ios-overlay-hide {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 0; } }
|
opacity: 0; } }
|
||||||
@keyframes ios-overlay-hide {
|
@keyframes ios-overlay-hide {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 0; } }
|
opacity: 0; } }
|
||||||
/*
|
/*
|
||||||
@ -1508,11 +1492,11 @@ div.dialogBox {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
font-size: 8pt; }
|
font-size: 8pt; }
|
||||||
#loginPage div.loginForm footer .applicationVersion span {
|
#loginPage div.loginForm footer .applicationVersion span {
|
||||||
color: #999999; }
|
color: #999; }
|
||||||
#loginPage div.loginForm footer .applicationVersion span:after {
|
#loginPage div.loginForm footer .applicationVersion span:after {
|
||||||
content: ":"; }
|
content: ":"; }
|
||||||
#loginPage div.loginForm footer .applicationVersion a {
|
#loginPage div.loginForm footer .applicationVersion a {
|
||||||
color: #999999;
|
color: #999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
font-weight: bold; }
|
font-weight: bold; }
|
||||||
@ -2037,13 +2021,13 @@ span.count {
|
|||||||
#extraFeaturesPanel .extraFeatureIndex footer {
|
#extraFeaturesPanel .extraFeatureIndex footer {
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
padding: 5px 5px 5px 5px;
|
padding: 5px 5px 5px 5px;
|
||||||
border-top: 1px solid #999999; }
|
border-top: 1px solid #999; }
|
||||||
#extraFeaturesPanel .extraFeatureIndex footer span {
|
#extraFeaturesPanel .extraFeatureIndex footer span {
|
||||||
color: #999999; }
|
color: #999; }
|
||||||
#extraFeaturesPanel .extraFeatureIndex footer span:after {
|
#extraFeaturesPanel .extraFeatureIndex footer span:after {
|
||||||
content: ":"; }
|
content: ":"; }
|
||||||
#extraFeaturesPanel .extraFeatureIndex footer a {
|
#extraFeaturesPanel .extraFeatureIndex footer a {
|
||||||
color: #999999;
|
color: #999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
font-weight: bold; }
|
font-weight: bold; }
|
||||||
@ -2052,6 +2036,10 @@ span.count {
|
|||||||
color: white; }
|
color: white; }
|
||||||
#extraFeaturesPanel .extraFeatureContent header {
|
#extraFeaturesPanel .extraFeatureContent header {
|
||||||
display: none; }
|
display: none; }
|
||||||
|
#extraFeaturesPanel .extraFeatureContent .changePassphraseForm label {
|
||||||
|
display: block; }
|
||||||
|
#extraFeaturesPanel .extraFeatureContent .changePassphraseForm input {
|
||||||
|
display: block; }
|
||||||
|
|
||||||
.mainPage.narrow #extraFeaturesPanel .extraFeatureContent header {
|
.mainPage.narrow #extraFeaturesPanel .extraFeatureContent header {
|
||||||
display: block;
|
display: block;
|
||||||
@ -2133,7 +2121,7 @@ div.cardList ul {
|
|||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
box-shadow: -4px 0px 3px -1px rgba(0, 0, 0, 0.2); }
|
box-shadow: -4px 0px 3px -1px rgba(0, 0, 0, 0.2); }
|
||||||
div.cardList ul li.archived {
|
div.cardList ul li.archived {
|
||||||
background-color: #eeeeee;
|
background-color: #eee;
|
||||||
color: #999; }
|
color: #999; }
|
||||||
div.cardList ul li .favicon {
|
div.cardList ul li .favicon {
|
||||||
width: 48px;
|
width: 48px;
|
||||||
@ -2219,7 +2207,7 @@ div.cardList.narrow {
|
|||||||
content: ""; }
|
content: ""; }
|
||||||
|
|
||||||
#cardDetailPage .view.archived, .cardDetail .view.archived {
|
#cardDetailPage .view.archived, .cardDetail .view.archived {
|
||||||
background-color: #eeeeee; }
|
background-color: #eee; }
|
||||||
#cardDetailPage .view .cardDetailToolbar, .cardDetail .view .cardDetailToolbar {
|
#cardDetailPage .view .cardDetailToolbar, .cardDetail .view .cardDetailToolbar {
|
||||||
background-color: #1863a1;
|
background-color: #1863a1;
|
||||||
color: white; }
|
color: white; }
|
||||||
@ -2413,7 +2401,7 @@ div.cardList.narrow {
|
|||||||
cursor: grab;
|
cursor: grab;
|
||||||
cursor: -moz-grab;
|
cursor: -moz-grab;
|
||||||
cursor: -webkit-grab;
|
cursor: -webkit-grab;
|
||||||
background: repeating-linear-gradient(0deg, white, white 2px, #dddddd 2px, #dddddd 3px);
|
background: repeating-linear-gradient(0deg, white, white 2px, #ddd 2px, #ddd 3px);
|
||||||
width: 28px;
|
width: 28px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -55,7 +55,7 @@ Clipperz.PM.UI.Components.Panels.ExtraFeaturesPanelClass = React.createClass({
|
|||||||
|
|
||||||
toggleIndexState: function (section) {
|
toggleIndexState: function (section) {
|
||||||
return MochiKit.Base.bind(function () {
|
return MochiKit.Base.bind(function () {
|
||||||
var newState = { 'index': {} };
|
var newState = { 'index': this.state['index'] };
|
||||||
|
|
||||||
newState['index'][section] = !this.state['index'][section];
|
newState['index'][section] = !this.state['index'][section];
|
||||||
this.setState(newState);
|
this.setState(newState);
|
||||||
@ -119,7 +119,7 @@ Clipperz.PM.UI.Components.Panels.ExtraFeaturesPanelClass = React.createClass({
|
|||||||
React.DOM.li({'key':'account', 'className':this.state['index']['account'] ? 'open' : 'closed'}, [
|
React.DOM.li({'key':'account', 'className':this.state['index']['account'] ? 'open' : 'closed'}, [
|
||||||
React.DOM.h1({'key':'accountH1', 'onClick':this.toggleIndexState('account')}, "Account"),
|
React.DOM.h1({'key':'accountH1', 'onClick':this.toggleIndexState('account')}, "Account"),
|
||||||
React.DOM.ul({'key':'accountUL'}, [
|
React.DOM.ul({'key':'accountUL'}, [
|
||||||
React.DOM.li({'key':'account_1'}, [
|
React.DOM.li({'key':'account_1', 'onClick':this.showExtraFeatureComponent('Passphrase')}, [
|
||||||
React.DOM.h2({'key':'account_1_h2'}, "Passphrase"),
|
React.DOM.h2({'key':'account_1_h2'}, "Passphrase"),
|
||||||
React.DOM.div({'key':'account_1_div'}, [
|
React.DOM.div({'key':'account_1_div'}, [
|
||||||
React.DOM.p({'key':'account_1_p'}, "")
|
React.DOM.p({'key':'account_1_p'}, "")
|
||||||
|
@ -62,6 +62,7 @@ Clipperz.PM.UI.MainController = function() {
|
|||||||
|
|
||||||
this.registerForNotificationCenterEvents([
|
this.registerForNotificationCenterEvents([
|
||||||
'doLogin', 'registerNewUser', 'showRegistrationForm', 'goBack',
|
'doLogin', 'registerNewUser', 'showRegistrationForm', 'goBack',
|
||||||
|
'changePassphrase',
|
||||||
'toggleSelectionPanel', 'toggleSettingsPanel',
|
'toggleSelectionPanel', 'toggleSettingsPanel',
|
||||||
'matchMediaQuery', 'unmatchMediaQuery',
|
'matchMediaQuery', 'unmatchMediaQuery',
|
||||||
'selectAllCards', 'selectRecentCards', 'search', 'tagSelected', 'selectUntaggedCards',
|
'selectAllCards', 'selectRecentCards', 'search', 'tagSelected', 'selectUntaggedCards',
|
||||||
@ -1206,6 +1207,12 @@ console.log("THE BROWSER IS OFFLINE");
|
|||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
changePassphrase_handler: function(newPassphrase) {
|
||||||
|
console.log("changePassphrase", newPassphrase);
|
||||||
|
},
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
|
||||||
saveChanges: function () {
|
saveChanges: function () {
|
||||||
// TODO: handle errors while savings
|
// TODO: handle errors while savings
|
||||||
return Clipperz.Async.callbacks("MainController.saveChanges", [
|
return Clipperz.Async.callbacks("MainController.saveChanges", [
|
||||||
|
File diff suppressed because one or more lines are too long
@ -168,6 +168,7 @@
|
|||||||
"Clipperz/PM/UI/Components/Panels/ExtraFeaturesPanel.js",
|
"Clipperz/PM/UI/Components/Panels/ExtraFeaturesPanel.js",
|
||||||
|
|
||||||
"Clipperz/PM/UI/Components/ExtraFeatures/DevicePIN.js",
|
"Clipperz/PM/UI/Components/ExtraFeatures/DevicePIN.js",
|
||||||
|
"Clipperz/PM/UI/Components/ExtraFeatures/Passphrase.js",
|
||||||
|
|
||||||
"Clipperz/PM/UI/Components/Cards/FavIcon.js",
|
"Clipperz/PM/UI/Components/Cards/FavIcon.js",
|
||||||
"Clipperz/PM/UI/Components/Cards/List.js",
|
"Clipperz/PM/UI/Components/Cards/List.js",
|
||||||
|
@ -26,7 +26,7 @@ refer to http://www.clipperz.com.
|
|||||||
// background-color: #800;
|
// background-color: #800;
|
||||||
// box-shadow: inset 0 2px 3px 0 rgba(0,0,0,0.3);
|
// box-shadow: inset 0 2px 3px 0 rgba(0,0,0,0.3);
|
||||||
// color: #ccc;
|
// color: #ccc;
|
||||||
|
//
|
||||||
|
|
||||||
$cardListHeight: 48px;
|
$cardListHeight: 48px;
|
||||||
$faviconSize: 32px;
|
$faviconSize: 32px;
|
||||||
|
@ -157,6 +157,18 @@ refer to http://www.clipperz.com.
|
|||||||
header {
|
header {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.changePassphraseForm {
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user