summaryrefslogtreecommitdiff
path: root/frontend/gamma/js/Clipperz
Unidiff
Diffstat (limited to 'frontend/gamma/js/Clipperz') (more/less context) (ignore whitespace changes)
-rw-r--r--frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js2
-rw-r--r--frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js2
-rw-r--r--frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js b/frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js
index 85d55c0..72460ba 100644
--- a/frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js
+++ b/frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js
@@ -61,193 +61,193 @@ Clipperz.PM.Strings.Languages['en-us'] = {
61 </ul>\ 61 </ul>\
62 </li>\ 62 </li>\
63 <li>\ 63 <li>\
64 <h3>Clipperz security:</h3>\ 64 <h3>Clipperz security:</h3>\
65 <ul>\ 65 <ul>\
66 <li><p>your secrets are locally encrypted by your browser before being uploaded to Clipperz</p></li>\ 66 <li><p>your secrets are locally encrypted by your browser before being uploaded to Clipperz</p></li>\
67 <li><p>the encryption key is a passphrase known only to you</p></li>\ 67 <li><p>the encryption key is a passphrase known only to you</p></li>\
68 <li><p>Clipperz hosts your sensitive data in encrypted form and could never actually access the data in its plain form</p></li>\ 68 <li><p>Clipperz hosts your sensitive data in encrypted form and could never actually access the data in its plain form</p></li>\
69 <li><p>Clipperz is built upon standard encryption schemes, nothing fancies or homemade</p></li>\ 69 <li><p>Clipperz is built upon standard encryption schemes, nothing fancies or homemade</p></li>\
70 <li><p>you can review the source code anytime you like, but you need to know nothing about cryptography to be an happy user!</p></li>\ 70 <li><p>you can review the source code anytime you like, but you need to know nothing about cryptography to be an happy user!</p></li>\
71 </ul>\ 71 </ul>\
72 </li>\ 72 </li>\
73 <li>\ 73 <li>\
74 <a href=\"http://www.clipperz.com\" target=\"_blank\">Learn more</a>\ 74 <a href=\"http://www.clipperz.com\" target=\"_blank\">Learn more</a>\
75 </li>\ 75 </li>\
76 </ul>", 76 </ul>",
77 77
78 78
79 'loginFormTitle': "login with your Clipperz account", 79 'loginFormTitle': "login with your Clipperz account",
80 'loginFormUsernameLabel': "username", 80 'loginFormUsernameLabel': "username",
81 'loginFormPassphraseLabel': "passphrase", 81 'loginFormPassphraseLabel': "passphrase",
82 'loginFormDontHaveAnAccountLabel': "don\'t have an account?", 82 'loginFormDontHaveAnAccountLabel': "don\'t have an account?",
83 'loginFormCreateOneLabel': "create one", 83 'loginFormCreateOneLabel': "create one",
84 'loginFormForgotYourCredentialsLabel': "forgot your credentials?", 84 'loginFormForgotYourCredentialsLabel': "forgot your credentials?",
85 'loginFormAarghThatsBadLabel': "aargh! that\'s bad!", 85 'loginFormAarghThatsBadLabel': "aargh! that\'s bad!",
86 'loginFormAfraidOfMaliciousScriptsLabel': "afraid of malicious scripts?", 86 'loginFormAfraidOfMaliciousScriptsLabel': "afraid of malicious scripts?",
87 'loginFormVerifyTheCodeLabel': "verify the code", 87 'loginFormVerifyTheCodeLabel': "verify the code",
88 'loginFormButtonLabel': "Login", 88 'loginFormButtonLabel': "Login",
89 'loginFormOneTimePasswordCheckboxLabel': "use a one-time passphrase", 89 'loginFormOneTimePasswordCheckboxLabel': "use a one-time passphrase",
90'loginFormOneTimePasswordCheckboxDescription': "", 90'loginFormOneTimePasswordCheckboxDescription': "",
91 91
92// Login page - language selection 92// Login page - language selection
93 'loginPanelSwithLanguageDescription': "<h5>Switch to your preferred language</h5>", 93 'loginPanelSwithLanguageDescription': "<h5>Switch to your preferred language</h5>",
94 94
95// Login page - browser compatibility 95// Login page - browser compatibility
96 'browserCompatibilityDescription': "<p>Have a better and safer Clipperz experience with Firefox. However Clipperz works just fine also with Opera, Safari and MS Internet Explorer!</p>", 96 'browserCompatibilityDescription': "<p>Have a better and safer Clipperz experience with Firefox. However Clipperz works just fine also with Opera, Safari and MS Internet Explorer!</p>",
97 97
98// Login with OTP - message panel 98// Login with OTP - message panel
99 'OTPloginMessagePanelInitialTitle': "Logging in using a one-time passphrase", 99 'OTPloginMessagePanelInitialTitle': "Logging in using a one-time passphrase",
100 'OTPloginMessagePanelInitialText': "Sending OTP credentials …", 100 'OTPloginMessagePanelInitialText': "Sending OTP credentials …",
101 'OTPloginMessagePanelLoadingTitle': "Logging in using a one-time passphrase", 101 'OTPloginMessagePanelLoadingTitle': "Logging in using a one-time passphrase",
102 'OTPloginMessagePanelLoadingText': "Fetching encrypted authentication data from the server …", 102 'OTPloginMessagePanelLoadingText': "Fetching encrypted authentication data from the server …",
103 'OTPloginMessagePanelProcessingTitle': "Logging in using a one-time passphrase", 103 'OTPloginMessagePanelProcessingTitle': "Logging in using a one-time passphrase",
104 'OTPloginMessagePanelProcessingText': "Local decryption of authentication data", 104 'OTPloginMessagePanelProcessingText': "Local decryption of authentication data",
105 105
106// Regular login - message panel 106// Regular login - message panel
107 'loginMessagePanelInitialTitle': "Logging in …", 107 'loginMessagePanelInitialTitle': "Logging in …",
108 'loginMessagePanelInitialText': "---", 108 'loginMessagePanelInitialText': "---",
109 'loginMessagePanelInitialButtonLabel': "Cancel", 109 'loginMessagePanelInitialButtonLabel': "Cancel",
110 'loginMessagePanelConnectedTitle': "Connected", 110 'loginMessagePanelConnectedTitle': "Connected",
111 'loginMessagePanelConnectedText': "Done", 111 'loginMessagePanelConnectedText': "Done",
112 'loginMessagePanelFailureTitle': "Error", 112 'loginMessagePanelFailureTitle': "Error",
113 'loginMessagePanelFailureText': "Login failed", 113 'loginMessagePanelFailureText': "Login failed",
114 'loginMessagePanelFailureButtonLabel': "Close", 114 'loginMessagePanelFailureButtonLabel': "Close",
115 115
116// Regular login - message panel - connection 116// Regular login - message panel - connection
117 'connectionLoginSendingCredentialsMessageTitle': "Verifying credentials", 117 'connectionLoginSendingCredentialsMessageTitle': "Verifying credentials",
118 'connectionLoginSendingCredentialsMessageText': "Sending credentials", 118 'connectionLoginSendingCredentialsMessageText': "Sending credentials",
119 'connectionLoginCredentialsVerificationMessageTitle':"Verifying credentials", 119 'connectionLoginCredentialsVerificationMessageTitle':"Verifying credentials",
120 'connectionLoginCredentialsVerificationMessageText':"Performing SRP authentication", 120 'connectionLoginCredentialsVerificationMessageText':"Performing SRP authentication",
121 'connectionLoginDoneMessageTitle': "Verifying credentials", 121 'connectionLoginDoneMessageTitle': "Verifying credentials",
122 'connectionLoginDoneMessageText': "Connected", 122 'connectionLoginDoneMessageText': "Connected",
123 123
124 //Regular login - message panel - user 124 //Regular login - message panel - user
125 'userLoginPanelUpgradingUserCredentialsMessageTitle': "Verifying credentials", 125 'userLoginPanelUpgradingUserCredentialsMessageTitle': "Verifying credentials",
126 'userLoginPanelUpgradingUserCredentialsMessageText': "Upgrading your credentials to a new authentication schema", 126 'userLoginPanelUpgradingUserCredentialsMessageText': "Upgrading your credentials to a new authentication schema",
127 'userLoginPanelConnectedMessageTitle': "User authenticated", 127 'userLoginPanelConnectedMessageTitle': "User authenticated",
128 'userLoginPanelConnectedMessageText': "Successfully logged in", 128 'userLoginPanelConnectedMessageText': "Successfully logged in",
129 'userLoginPanelTryingAnOlderConnectionSchemaMessageTitle': "Verifying credentials", 129 'userLoginPanelTryingAnOlderConnectionSchemaMessageTitle': "Verifying credentials",
130 'userLoginPanelTryingAnOlderConnectionSchemaMessageText': "Trying an older authentication schema", 130 'userLoginPanelTryingAnOlderConnectionSchemaMessageText': "Trying an older authentication schema",
131 'userLoginPanelLoadingUserDataMessageTitle': "User authenticated", 131 'userLoginPanelLoadingUserDataMessageTitle': "User authenticated",
132 'userLoginPanelLoadingUserDataMessageText': "Downloading encrypted card headers from Clipperz", 132 'userLoginPanelLoadingUserDataMessageText': "Downloading encrypted card headers from Clipperz",
133 'userLoginPanelDecryptingUserDataMessageTitle': "User authenticated", 133 'userLoginPanelDecryptingUserDataMessageTitle': "User authenticated",
134 'userLoginPanelDecryptingUserDataMessageText': "Local decryption of card headers", 134 'userLoginPanelDecryptingUserDataMessageText': "Local decryption of card headers",
135 'userLoginPanelDecryptingUserStatisticsMessageTitle': "User authenticated", 135 'userLoginPanelDecryptingUserStatisticsMessageTitle': "User authenticated",
136 'userLoginPanelDecryptingUserStatisticsMessageText': "Local decryption of usage statistics", 136 'userLoginPanelDecryptingUserStatisticsMessageText': "Local decryption of usage statistics",
137 137
138 //Registration page - splash alert 138 //Registration page - splash alert
139 'splashAlertTitle':"Welcome to Clipperz!", 139 'splashAlertTitle':"Welcome to Clipperz!",
140'splashAlertText': "\ 140'splashAlertText': "\
141 <!-- FIX CSS DONE! -->\ 141 <!-- FIX CSS DONE! -->\
142 <p>Some security advice</p>\ 142 <p>Some security advice</p>\
143 <ul>\ 143 <ul>\
144 <li><p>Storing your data at Clipperz is as secure as the passphrase you choose to protect them. Nobody can access them unless they know your passphrase.</p></li>\ 144 <li><p>Storing your data at Clipperz is as secure as the passphrase you choose to protect them. Nobody can access them unless they know your passphrase.</p></li>\
145 <li><p>If you are going to use Clipperz for safeguarding sensitive and critical information please make sure to use a strong passphrase. The longer the better!</p></li>\ 145 <li><p>If you are going to use Clipperz for safeguarding sensitive and critical information please make sure to use a strong passphrase. The longer the better!</p></li>\
146 <li><p>Clipperz will not be able to recover a lost passphrase!</p></li>\ 146 <li><p>Clipperz will not be able to recover a lost passphrase!</p></li>\
147 </ul>\ 147 </ul>\
148 <p>For any further information, please refer to <a href=\"http://www.clipperz.com\" target=\"_blank\">Clipperz</a> website.</p>", 148 <p>For any further information, please refer to <a href=\"http://www.clipperz.com\" target=\"_blank\">Clipperz</a> website.</p>",
149 'splashAlertCloseButtonLabel':"Ok", 149 'splashAlertCloseButtonLabel':"Ok",
150 150
151 // Registration page - form 151 // Registration page - form
152 'registrationFormTitle': "create your account", 152 'registrationFormTitle': "create your account",
153 'registrationFormUsernameLabel': "username", 153 'registrationFormUsernameLabel': "username",
154 'registrationFormPassphraseLabel': "passphrase", 154 'registrationFormPassphraseLabel': "passphrase",
155 'registrationFormRetypePassphraseLabel': "re-enter passphrase", 155 'registrationFormRetypePassphraseLabel': "re-enter passphrase",
156 'registrationFormSafetyCheckLabel': "I understand that Clipperz will not be able to recover a lost passphrase.", 156 'registrationFormSafetyCheckLabel': "I understand that Clipperz will not be able to recover a lost passphrase.",
157 'registrationFormTermsOfServiceCheckLabel': "I have read and agreed to the <a href='http://www.clipperz.com/terms_of_service' target='_blank'>Terms of Service</a>.", 157 'registrationFormTermsOfServiceCheckLabel': "I have read and agreed to the <a href='https://www.clipperz.com/terms_service' target='_blank'>Terms of Service</a>.",
158 'registrationFormDoYouAlreadyHaveAnAccountLabel': "do you already have an account?", 158 'registrationFormDoYouAlreadyHaveAnAccountLabel': "do you already have an account?",
159 'registrationFormSimplyLoginLabel': "simply login", 159 'registrationFormSimplyLoginLabel': "simply login",
160 'registrationFormButtonLabel': "Register", 160 'registrationFormButtonLabel': "Register",
161 161
162// Registration page - warning messages 162// Registration page - warning messages
163 'registrationFormWarningMessageNotMatchingPassphrases':"Your passphrases don't match, please re-type them.", 163 'registrationFormWarningMessageNotMatchingPassphrases':"Your passphrases don't match, please re-type them.",
164 'registrationFormWarningMessageSafetyCheckNotSelected':"Please read and check all the boxes below.", 164 'registrationFormWarningMessageSafetyCheckNotSelected':"Please read and check all the boxes below.",
165 'registrationFormWarningMessageTermsOfServiceCheckNotSelected':"You need to agree to the Terms of Service.", 165 'registrationFormWarningMessageTermsOfServiceCheckNotSelected':"You need to agree to the Terms of Service.",
166 166
167 // Registration page - message panel 167 // Registration page - message panel
168 'registrationMessagePanelInitialTitle': "Creating account …", 168 'registrationMessagePanelInitialTitle': "Creating account …",
169 'registrationMessagePanelInitialText': "---", 169 'registrationMessagePanelInitialText': "---",
170 'registrationMessagePanelInitialButtonLabel': "Cancel", 170 'registrationMessagePanelInitialButtonLabel': "Cancel",
171 'registrationMessagePanelRegistrationDoneTitle': "Registration", 171 'registrationMessagePanelRegistrationDoneTitle': "Registration",
172 'registrationMessagePanelRegistrationDoneText': "Done", 172 'registrationMessagePanelRegistrationDoneText': "Done",
173 'registrationMessagePanelFailureTitle': "Registration failed", 173 'registrationMessagePanelFailureTitle': "Registration failed",
174 'registrationMessagePanelFailureButtonLabel': "Close", 174 'registrationMessagePanelFailureButtonLabel': "Close",
175 175
176// Registration page - message panel - connection 176// Registration page - message panel - connection
177 'connectionRegistrationSendingRequestMessageText': "Verifying credentials", 177 'connectionRegistrationSendingRequestMessageText': "Verifying credentials",
178 'connectionRegistrationSendingCredentialsMessageText':"Sending credentials", 178 'connectionRegistrationSendingCredentialsMessageText':"Sending credentials",
179 179
180// Registration page - splash panel 180// Registration page - splash panel
181 'registrationSplashPanelTitle': "Security advice", 181 'registrationSplashPanelTitle': "Security advice",
182 'registrationSplashPanelDescription': "<p>These are your Clipperz credentials, take good care of them. Clipperz will never display your username and passphrase a second time!</p>", 182 'registrationSplashPanelDescription': "<p>These are your Clipperz credentials, take good care of them. Clipperz will never display your username and passphrase a second time!</p>",
183 'registrationSplashPanelUsernameLabel': "username", 183 'registrationSplashPanelUsernameLabel': "username",
184 'registrationSplashPanelPassphraseLabel':"passphrase", 184 'registrationSplashPanelPassphraseLabel':"passphrase",
185 185
186 'registrationSplashPanelShowPassphraseButtonLabel':"show passphrase", 186 'registrationSplashPanelShowPassphraseButtonLabel':"show passphrase",
187 187
188 //Header links 188 //Header links
189 'donateHeaderLinkLabel': "donate", 189 'donateHeaderLinkLabel': "donate",
190 'creditsHeaderLinkLabel': "credits", 190 'creditsHeaderLinkLabel': "credits",
191 'feedbackHeaderLinkLabel': "feedback", 191 'feedbackHeaderLinkLabel': "feedback",
192 'helpHeaderLinkLabel': "help", 192 'helpHeaderLinkLabel': "help",
193 'forumHeaderLinkLabel': "forum", 193 'forumHeaderLinkLabel': "forum",
194 194
195 //Menu labels 195 //Menu labels
196 'recordMenuLabel': "cards", 196 'recordMenuLabel': "cards",
197 'accountMenuLabel': "account", 197 'accountMenuLabel': "account",
198 'dataMenuLabel': "data", 198 'dataMenuLabel': "data",
199 'contactsMenuLabel': "contacts", 199 'contactsMenuLabel': "contacts",
200 'toolsMenuLabel': "tools", 200 'toolsMenuLabel': "tools",
201 'logoutMenuLabel': "logout", 201 'logoutMenuLabel': "logout",
202 'lockMenuLabel': "lock", 202 'lockMenuLabel': "lock",
203 203
204 //Lock dialog 204 //Lock dialog
205 'lockTitle': "The account is locked", 205 'lockTitle': "The account is locked",
206 'lockDescription': "<p>To unlock your account, please enter your passphrase.</p>", 206 'lockDescription': "<p>To unlock your account, please enter your passphrase.</p>",
207 'unlockButtonLabel': "Unlock", 207 'unlockButtonLabel': "Unlock",
208 208
209 //Account panel - change passphrase 209 //Account panel - change passphrase
210 'changePasswordTabLabel': "Change your passphrase", 210 'changePasswordTabLabel': "Change your passphrase",
211 'changePasswordTabTitle': "Change your passphrase", 211 'changePasswordTabTitle': "Change your passphrase",
212 212
213 'changePasswordFormUsernameLabel': "username", 213 'changePasswordFormUsernameLabel': "username",
214 'changePasswordFormOldPassphraseLabel': "old passphrase", 214 'changePasswordFormOldPassphraseLabel': "old passphrase",
215 'changePasswordFormNewPassphraseLabel': "new passphrase", 215 'changePasswordFormNewPassphraseLabel': "new passphrase",
216 'changePasswordFormRetypePassphraseLabel':"re-enter new passphrase", 216 'changePasswordFormRetypePassphraseLabel':"re-enter new passphrase",
217 'changePasswordFormSafetyCheckboxLabel':"I understand that Clipperz will not be able to recover a lost passphrase.", 217 'changePasswordFormSafetyCheckboxLabel':"I understand that Clipperz will not be able to recover a lost passphrase.",
218 'changePasswordFormSubmitLabel': "Change passphrase", 218 'changePasswordFormSubmitLabel': "Change passphrase",
219 219
220 //Account panel - change passphrase - warning messages 220 //Account panel - change passphrase - warning messages
221 'changePasswordFormWrongUsernameWarning': "Wrong username", 221 'changePasswordFormWrongUsernameWarning': "Wrong username",
222 'changePasswordFormWrongPassphraseWarning': "Wrong passphrase", 222 'changePasswordFormWrongPassphraseWarning': "Wrong passphrase",
223 'changePasswordFormWrongRetypePassphraseWarning':"Your passphrases don't match, please re-type them.", 223 'changePasswordFormWrongRetypePassphraseWarning':"Your passphrases don't match, please re-type them.",
224 'changePasswordFormSafetyCheckWarning': "Please read and check the box below.", 224 'changePasswordFormSafetyCheckWarning': "Please read and check the box below.",
225 225
226 //Account panel - change passphrase - progress dialog 226 //Account panel - change passphrase - progress dialog
227 'changePasswordFormProgressDialogTitle': "Changing user credentials", 227 'changePasswordFormProgressDialogTitle': "Changing user credentials",
228 'changePasswordFormProgressDialogEmptyText': "---", 228 'changePasswordFormProgressDialogEmptyText': "---",
229 'changePasswordFormProgressDialogConnectedMessageTitle': "Connected", 229 'changePasswordFormProgressDialogConnectedMessageTitle': "Connected",
230 'changePasswordFormProgressDialogConnectedMessageText': "Done", 230 'changePasswordFormProgressDialogConnectedMessageText': "Done",
231 'changePasswordFormProgressDialogErrorMessageTitle': "Error", 231 'changePasswordFormProgressDialogErrorMessageTitle': "Error",
232 'changePasswordFormProgressDialogErrorMessageText': "Credentials change failed!", 232 'changePasswordFormProgressDialogErrorMessageText': "Credentials change failed!",
233 233
234 'changeCredentialsPanelEncryptingDataMessageTitle': "Changing your passphrase", 234 'changeCredentialsPanelEncryptingDataMessageTitle': "Changing your passphrase",
235 'changeCredentialsPanelEncryptingDataMessageText': "Local encryption of card headers", 235 'changeCredentialsPanelEncryptingDataMessageText': "Local encryption of card headers",
236 'changeCredentialsPanelCreatingNewCredentialsMessageTitle': "Changing your passphrase", 236 'changeCredentialsPanelCreatingNewCredentialsMessageTitle': "Changing your passphrase",
237 'changeCredentialsPanelCreatingNewCredentialsMessageText': "Updating your credentials", 237 'changeCredentialsPanelCreatingNewCredentialsMessageText': "Updating your credentials",
238 'changeCredentialsPanelSendingNewCredentialsToTheServerMessageTitle':"Changing your passphrase", 238 'changeCredentialsPanelSendingNewCredentialsToTheServerMessageTitle':"Changing your passphrase",
239 'changeCredentialsPanelSendingNewCredentialsToTheServerMessageText':"Uploading your encrypted credentials to Clipperz", 239 'changeCredentialsPanelSendingNewCredentialsToTheServerMessageText':"Uploading your encrypted credentials to Clipperz",
240 'changeCredentialsPanelDoneMessageTitle': "Changing your passphrase", 240 'changeCredentialsPanelDoneMessageTitle': "Changing your passphrase",
241 'changeCredentialsPanelDoneMessageText': "Done", 241 'changeCredentialsPanelDoneMessageText': "Done",
242 242
243 //Account panel - OTP 243 //Account panel - OTP
244 'manageOTPTabLabel': "Manage your one-time passphrases", 244 'manageOTPTabLabel': "Manage your one-time passphrases",
245 'manageOTPTabTitle': "Manage your one-time passphrases", 245 'manageOTPTabTitle': "Manage your one-time passphrases",
246 246
247 'manageOTPTabDescription':"\ 247 'manageOTPTabDescription':"\
248 <p>A one-time passphrase works like your regular passphrase, but can be used only once.</p>\ 248 <p>A one-time passphrase works like your regular passphrase, but can be used only once.</p>\
249 <p>If the same passphrase is used again at a later stage in a login attempt it will be rejected and the login process will fail.</p>\ 249 <p>If the same passphrase is used again at a later stage in a login attempt it will be rejected and the login process will fail.</p>\
250 <p>Immediately after a successful login, your one-time passphrase will be deleted preventing any fraudulent access.</p>\ 250 <p>Immediately after a successful login, your one-time passphrase will be deleted preventing any fraudulent access.</p>\
251 <p>One-time passphrases are an excellent choice if one is concerned about keyloggers or spyware infections that may be collecting data from compromised machines.</p>\ 251 <p>One-time passphrases are an excellent choice if one is concerned about keyloggers or spyware infections that may be collecting data from compromised machines.</p>\
252 <p><b>It's strongly advisable to use one-time passphrases when accessing Clipperz from public terminals, such as Internet cafes and libraries.</b></p>", 252 <p><b>It's strongly advisable to use one-time passphrases when accessing Clipperz from public terminals, such as Internet cafes and libraries.</b></p>",
253 253
diff --git a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js
index 06746d1..cd5faa6 100644
--- a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js
+++ b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js
@@ -62,193 +62,193 @@ Clipperz.PM.UI.Web.Components.NewUserCreationComponent = function(args) {
62//============================================================================= 62//=============================================================================
63 63
64Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.NewUserCreationComponent, Clipperz.PM.UI.Common.Components.TabPanelComponent, { 64Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.NewUserCreationComponent, Clipperz.PM.UI.Common.Components.TabPanelComponent, {
65 65
66 //------------------------------------------------------------------------- 66 //-------------------------------------------------------------------------
67 67
68 'toString': function () { 68 'toString': function () {
69 return "Clipperz.PM.UI.Web.Components.NewUserCreationComponent component"; 69 return "Clipperz.PM.UI.Web.Components.NewUserCreationComponent component";
70 }, 70 },
71 71
72 //========================================================================= 72 //=========================================================================
73 73
74 'disableAllPanels': function () { 74 'disableAllPanels': function () {
75 this.tabPanelController().selectTab(null); 75 this.tabPanelController().selectTab(null);
76 }, 76 },
77 77
78 //------------------------------------------------------------------------- 78 //-------------------------------------------------------------------------
79 79
80 'enableCredentialsPanel': function () { 80 'enableCredentialsPanel': function () {
81 this.tabPanelController().selectTab('CREDENTIALS'); 81 this.tabPanelController().selectTab('CREDENTIALS');
82 }, 82 },
83 83
84 'enableCheckCredentialsPanel': function () { 84 'enableCheckCredentialsPanel': function () {
85 this.tabPanelController().selectTab('CHECK_CREDENTIALS'); 85 this.tabPanelController().selectTab('CHECK_CREDENTIALS');
86 }, 86 },
87 87
88 'enableTermsOfServicePanel': function () { 88 'enableTermsOfServicePanel': function () {
89 this.tabPanelController().selectTab('TERMS_OF_SERVICE'); 89 this.tabPanelController().selectTab('TERMS_OF_SERVICE');
90 }, 90 },
91 91
92 'enableCreateUserPanel': function () { 92 'enableCreateUserPanel': function () {
93 this.tabPanelController().selectTab('CREATE_USER'); 93 this.tabPanelController().selectTab('CREATE_USER');
94 }, 94 },
95 95
96 //'enableLoginPanel': function () { 96 //'enableLoginPanel': function () {
97 // this.tabPanelController().selectTab('LOGIN'); 97 // this.tabPanelController().selectTab('LOGIN');
98 //}, 98 //},
99 99
100 //========================================================================= 100 //=========================================================================
101 101
102 'shouldShowElementWhileRendering': function() { 102 'shouldShowElementWhileRendering': function() {
103 return false; 103 return false;
104 }, 104 },
105 105
106 //========================================================================= 106 //=========================================================================
107 107
108 'tabPanelController': function () { 108 'tabPanelController': function () {
109 if (this._tabPanelController == null) { 109 if (this._tabPanelController == null) {
110 this._tabPanelController = new Clipperz.PM.UI.Common.Controllers.TabPanelController({ 110 this._tabPanelController = new Clipperz.PM.UI.Common.Controllers.TabPanelController({
111 component:this, 111 component:this,
112 configuration:this._tabPanelControllerConfiguration 112 configuration:this._tabPanelControllerConfiguration
113 }); 113 });
114 114
115 MochiKit.Signal.connect(this._tabPanelController, 'tabSelected', this, 'handleTabSelected') 115 MochiKit.Signal.connect(this._tabPanelController, 'tabSelected', this, 'handleTabSelected')
116 } 116 }
117 117
118 return this._tabPanelController; 118 return this._tabPanelController;
119 }, 119 },
120 120
121 //------------------------------------------------------------------------- 121 //-------------------------------------------------------------------------
122 122
123 'renderSelf': function() { 123 'renderSelf': function() {
124 this.append(this.element(), {tag:'div', cls:'NewUserCreation mainDialog', id:this.getId('panel'), children: [ 124 this.append(this.element(), {tag:'div', cls:'NewUserCreation mainDialog', id:this.getId('panel'), children: [
125 {tag:'form', id:this.getId('form'), cls:'newUserCreationForm', children:[ 125 {tag:'form', id:this.getId('form'), cls:'newUserCreationForm', children:[
126 {tag:'div', cls:'header', children:[ 126 {tag:'div', cls:'header', children:[
127 {tag:'div', cls:'title', children:[ 127 {tag:'div', cls:'title', children:[
128 {tag:'h3', id:this.getId('title'), html:"Create new user"} 128 {tag:'h3', id:this.getId('title'), html:"Create new user"}
129 ]} 129 ]}
130 ]}, 130 ]},
131 {tag:'div', id:this.getId('body'), cls:'body', children:[ 131 {tag:'div', id:this.getId('body'), cls:'body', children:[
132 {tag:'div', cls:'tabContainer', children:[ 132 {tag:'div', cls:'tabContainer', children:[
133 {tag:'ul', cls:'tabs', children:[ 133 {tag:'ul', cls:'tabs', children:[
134 {tag:'li', id:this.getId('credentialsTab'), children:[{tag:'span', html:"credentials"}]}, 134 {tag:'li', id:this.getId('credentialsTab'), children:[{tag:'span', html:"credentials"}]},
135 {tag:'li', id:this.getId('checkCredentialsTab'),children:[{tag:'span', html:"credentials check"}]}, 135 {tag:'li', id:this.getId('checkCredentialsTab'),children:[{tag:'span', html:"credentials check"}]},
136 {tag:'li', id:this.getId('termsOfServiceTab'), children:[{tag:'span', html:"terms of service"}]}, 136 {tag:'li', id:this.getId('termsOfServiceTab'), children:[{tag:'span', html:"terms of service"}]},
137 {tag:'li', id:this.getId('createUserTab'), children:[{tag:'span', html:"create user"}]}//, 137 {tag:'li', id:this.getId('createUserTab'), children:[{tag:'span', html:"create user"}]}//,
138 // {tag:'li', id:this.getId('loginTab'), children:[{tag:'span', html:"login"}]}, 138 // {tag:'li', id:this.getId('loginTab'), children:[{tag:'span', html:"login"}]},
139 ]}, 139 ]},
140 {tag:'ul', cls:'tabPanels', children:[ 140 {tag:'ul', cls:'tabPanels', children:[
141 {tag:'li', id:this.getId('credentialsTabpanel'), cls:'tabPanel credentials', children:[ 141 {tag:'li', id:this.getId('credentialsTabpanel'), cls:'tabPanel credentials', children:[
142 {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.CREDENTIALS.description')}]}, 142 {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.CREDENTIALS.description')}]},
143 {tag:'ul', cls:'credentials', children:[ 143 {tag:'ul', cls:'credentials', children:[
144 {tag:'li', children:[{tag:'span', cls:'label', html:"username"},{tag:'input', type:'text', id:this.getId('username')/*, value:'test'*/}]}, 144 {tag:'li', children:[{tag:'span', cls:'label', html:"username"},{tag:'input', type:'text', id:this.getId('username')/*, value:'test'*/}]},
145 {tag:'li', children:[{tag:'span', cls:'label', html:"passphrase"},{tag:'input', type:'password', id:this.getId('passphrase')/*, value:'test'*/}]} 145 {tag:'li', children:[{tag:'span', cls:'label', html:"passphrase"},{tag:'input', type:'password', id:this.getId('passphrase')/*, value:'test'*/}]}
146 ]} 146 ]}
147 ]}, 147 ]},
148 {tag:'li', id:this.getId('checkCredentialsTabpanel'), cls:'tabPanel checkCredentials', children:[ 148 {tag:'li', id:this.getId('checkCredentialsTabpanel'), cls:'tabPanel checkCredentials', children:[
149 {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.CHECK_CREDENTIALS.description')}]}, 149 {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.CHECK_CREDENTIALS.description')}]},
150 {tag:'ul', cls:'credentials', children:[ 150 {tag:'ul', cls:'credentials', children:[
151 {tag:'li', children:[{tag:'span', cls:'label', html:"re-passphrase"},{tag:'input', type:'password', id:this.getId('re-passphrase')/*, value:'test'*/}]} 151 {tag:'li', children:[{tag:'span', cls:'label', html:"re-passphrase"},{tag:'input', type:'password', id:this.getId('re-passphrase')/*, value:'test'*/}]}
152 ]} 152 ]}
153 ]}, 153 ]},
154 {tag:'li', id:this.getId('termsOfServiceTabpanel'), cls:'tabPanel termsOfService', children:[ 154 {tag:'li', id:this.getId('termsOfServiceTabpanel'), cls:'tabPanel termsOfService', children:[
155 {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.TERMS_OF_SERVICE.description')}]}, 155 {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.TERMS_OF_SERVICE.description')}]},
156 {tag:'ul', cls:'termsOfService', children:[ 156 {tag:'ul', cls:'termsOfService', children:[
157 {tag:'li', children:[{tag:'input', type:'checkbox', id:this.getId('awareOfUnrecoverablePassphrase')/*, checked:true*/}, {tag:'label', cls:'label', 'for':this.getId('awareOfUnrecoverablePassphrase'), html:"I understand that Clipperz will not be able to recover a lost passphrase."}]}, 157 {tag:'li', children:[{tag:'input', type:'checkbox', id:this.getId('awareOfUnrecoverablePassphrase')/*, checked:true*/}, {tag:'label', cls:'label', 'for':this.getId('awareOfUnrecoverablePassphrase'), html:"I understand that Clipperz will not be able to recover a lost passphrase."}]},
158 {tag:'li', children:[{tag:'input', type:'checkbox', id:this.getId('readTermsOfService')/*, checked:true*/}, {tag:'label', cls:'label', 'for':this.getId('readTermsOfService'), htmlString:"I have read and agreed to the <a href='http://www.clipperz.com/terms_of_service' target='_blank'>Terms of Service</a>."}]} 158 {tag:'li', children:[{tag:'input', type:'checkbox', id:this.getId('readTermsOfService')/*, checked:true*/}, {tag:'label', cls:'label', 'for':this.getId('readTermsOfService'), htmlString:"I have read and agreed to the <a href='https://www.clipperz.com/terms_service' target='_blank'>Terms of Service</a>."}]}
159 ]} 159 ]}
160 ]}, 160 ]},
161 {tag:'li', id:this.getId('createUserTabpanel'), cls:'tabPanel createUser', children:[ 161 {tag:'li', id:this.getId('createUserTabpanel'), cls:'tabPanel createUser', children:[
162 {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.CREATE_USER.description')}]}, 162 {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.CREATE_USER.description')}]},
163 {tag:'ul', cls:'createUserStates', children:[ 163 {tag:'ul', cls:'createUserStates', children:[
164 {tag:'li', cls:'creating', id:this.getId('creatingRegistering'), children:[{tag:'span', html:"registering user"}]}, 164 {tag:'li', cls:'creating', id:this.getId('creatingRegistering'), children:[{tag:'span', html:"registering user"}]},
165 {tag:'li', cls:'done', id:this.getId('creatingDone'), children:[{tag:'span', html:"done"}]}, 165 {tag:'li', cls:'done', id:this.getId('creatingDone'), children:[{tag:'span', html:"done"}]},
166 {tag:'li', cls:'fail', id:this.getId('creatingFailed'), children:[{tag:'span', html:"fail"}]} 166 {tag:'li', cls:'fail', id:this.getId('creatingFailed'), children:[{tag:'span', html:"fail"}]}
167 ]} 167 ]}
168 ]}//, 168 ]}//,
169 // {tag:'li', id:this.getId('loginTabpanel'), cls:'tabPanel login', children:[ 169 // {tag:'li', id:this.getId('loginTabpanel'), cls:'tabPanel login', children:[
170 // {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.LOGIN.description')}]}, 170 // {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.LOGIN.description')}]},
171 // ]} 171 // ]}
172 ]} 172 ]}
173 ]} 173 ]}
174 ]}, 174 ]},
175 {tag:'div', id:this.getId('footer'), cls:'footer', children:[ 175 {tag:'div', id:this.getId('footer'), cls:'footer', children:[
176 {tag:'div', cls:'buttonArea', children:[ 176 {tag:'div', cls:'buttonArea', children:[
177 // {tag:'div', cls:'cancel', id:this.getId('cancelButton'), html:"cancel"}, 177 // {tag:'div', cls:'cancel', id:this.getId('cancelButton'), html:"cancel"},
178 // {tag:'div', cls:'save disabled', id:this.getId('saveButton'), html:"save"} 178 // {tag:'div', cls:'save disabled', id:this.getId('saveButton'), html:"save"}
179 ]} 179 ]}
180 ]} 180 ]}
181 ]}, 181 ]},
182 {tag:'div', cls:'clear'} 182 {tag:'div', cls:'clear'}
183 ]}); 183 ]});
184 184
185 this.tabPanelController().setup(); 185 this.tabPanelController().setup();
186 // MochiKit.Signal.connect(this.getId('panel'), 'onkeydown', this, 'handleKeyEvent'); 186 // MochiKit.Signal.connect(this.getId('panel'), 'onkeydown', this, 'handleKeyEvent');
187 MochiKit.Signal.connect(MochiKit.DOM.currentDocument().body, 'onkeydown', this, 'handleKeyEvent'); 187 MochiKit.Signal.connect(MochiKit.DOM.currentDocument().body, 'onkeydown', this, 'handleKeyEvent');
188 MochiKit.Signal.connect(this.getId('awareOfUnrecoverablePassphrase'), 'onchange', this, 'handleTermsOfServiceCheckboxChange'); 188 MochiKit.Signal.connect(this.getId('awareOfUnrecoverablePassphrase'), 'onchange', this, 'handleTermsOfServiceCheckboxChange');
189 MochiKit.Signal.connect(this.getId('readTermsOfService'), 'onchange', this, 'handleTermsOfServiceCheckboxChange'); 189 MochiKit.Signal.connect(this.getId('readTermsOfService'), 'onchange', this, 'handleTermsOfServiceCheckboxChange');
190 }, 190 },
191 191
192 //------------------------------------------------------------------------- 192 //-------------------------------------------------------------------------
193/* 193/*
194 'resetContent': function () { 194 'resetContent': function () {
195 this.getElement('username').value = ''; 195 this.getElement('username').value = '';
196 this.getElement('passphrase').value = ''; 196 this.getElement('passphrase').value = '';
197 }, 197 },
198*/ 198*/
199 //------------------------------------------------------------------------- 199 //-------------------------------------------------------------------------
200 200
201 'displayElement': function() { 201 'displayElement': function() {
202 return this.getElement('panel'); 202 return this.getElement('panel');
203 }, 203 },
204 204
205 //------------------------------------------------------------------------- 205 //-------------------------------------------------------------------------
206 206
207 'handleTabSelected': function (aSelectedTab) { 207 'handleTabSelected': function (aSelectedTab) {
208/* 208/*
209 switch (aSelectedTab) { 209 switch (aSelectedTab) {
210 case 'DETAILS': 210 case 'DETAILS':
211 break; 211 break;
212 case 'DIRECT_LOGINS': 212 case 'DIRECT_LOGINS':
213 MochiKit.Style.hideElement(this.getElement('backToDirectLoginList')); 213 MochiKit.Style.hideElement(this.getElement('backToDirectLoginList'));
214 break; 214 break;
215 case 'SHARING': 215 case 'SHARING':
216 break; 216 break;
217 } 217 }
218*/ 218*/
219 }, 219 },
220 220
221 //========================================================================= 221 //=========================================================================
222 222
223 'username': function () { 223 'username': function () {
224 return this.getElement('username').value; 224 return this.getElement('username').value;
225 }, 225 },
226 226
227 'usernameElement': function () { 227 'usernameElement': function () {
228 return this.getElement('username'); 228 return this.getElement('username');
229 }, 229 },
230 230
231 'passphrase': function () { 231 'passphrase': function () {
232 return this.getElement('passphrase').value; 232 return this.getElement('passphrase').value;
233 }, 233 },
234 234
235 'rePassphrase': function () { 235 'rePassphrase': function () {
236 return this.getElement('re-passphrase').value; 236 return this.getElement('re-passphrase').value;
237 }, 237 },
238 238
239 'awareOfUnrecoverablePassphrase': function () { 239 'awareOfUnrecoverablePassphrase': function () {
240 return this.getElement('awareOfUnrecoverablePassphrase').value; 240 return this.getElement('awareOfUnrecoverablePassphrase').value;
241 }, 241 },
242 242
243 'readTermsOfService': function () { 243 'readTermsOfService': function () {
244 return this.getElement('readTermsOfService').value; 244 return this.getElement('readTermsOfService').value;
245 }, 245 },
246 246
247 //========================================================================= 247 //=========================================================================
248/* 248/*
249 'incrementUpdateFaviconCounter': function () { 249 'incrementUpdateFaviconCounter': function () {
250 this._updateFaviconCounter ++; 250 this._updateFaviconCounter ++;
251 }, 251 },
252 252
253 'decrementUpdateFaviconCounter': function () { 253 'decrementUpdateFaviconCounter': function () {
254 this._updateFaviconCounter --; 254 this._updateFaviconCounter --;
diff --git a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js
index df3ca0c..1f183dc 100644
--- a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js
+++ b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js
@@ -1,65 +1,65 @@
1/* 1/*
2 2
3Copyright 2008-2013 Clipperz Srl 3Copyright 2008-2013 Clipperz Srl
4 4
5This file is part of Clipperz, the online password manager. 5This file is part of Clipperz, the online password manager.
6For further information about its features and functionalities please 6For further information about its features and functionalities please
7refer to http://www.clipperz.com. 7refer to http://www.clipperz.com.
8 8
9* Clipperz is free software: you can redistribute it and/or modify it 9* Clipperz is free software: you can redistribute it and/or modify it
10 under the terms of the GNU Affero General Public License as published 10 under the terms of the GNU Affero General Public License as published
11 by the Free Software Foundation, either version 3 of the License, or 11 by the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version. 12 (at your option) any later version.
13 13
14* Clipperz is distributed in the hope that it will be useful, but 14* Clipperz is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of 15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 See the GNU Affero General Public License for more details. 17 See the GNU Affero General Public License for more details.
18 18
19* You should have received a copy of the GNU Affero General Public 19* You should have received a copy of the GNU Affero General Public
20 License along with Clipperz. If not, see http://www.gnu.org/licenses/. 20 License along with Clipperz. If not, see http://www.gnu.org/licenses/.
21 21
22*/ 22*/
23 23
24Clipperz.Base.module('Clipperz.PM.UI.Web.Components'); 24Clipperz.Base.module('Clipperz.PM.UI.Web.Components');
25 25
26Clipperz.PM.UI.Web.Components.PageFooter = function(args) { 26Clipperz.PM.UI.Web.Components.PageFooter = function(args) {
27 args = args || {}; 27 args = args || {};
28 28
29 Clipperz.PM.UI.Web.Components.PageFooter.superclass.constructor.apply(this, arguments); 29 Clipperz.PM.UI.Web.Components.PageFooter.superclass.constructor.apply(this, arguments);
30 30
31 return this; 31 return this;
32} 32}
33 33
34//============================================================================= 34//=============================================================================
35 35
36Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageFooter, Clipperz.PM.UI.Common.Components.BaseComponent, { 36Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageFooter, Clipperz.PM.UI.Common.Components.BaseComponent, {
37 37
38 //------------------------------------------------------------------------- 38 //-------------------------------------------------------------------------
39 39
40 'toString': function () { 40 'toString': function () {
41 return "Clipperz.PM.UI.Web.Components.PageFooter component"; 41 return "Clipperz.PM.UI.Web.Components.PageFooter component";
42 }, 42 },
43 43
44 //------------------------------------------------------------------------- 44 //-------------------------------------------------------------------------
45 45
46 'renderSelf': function(/*aContainer, aPosition*/) { 46 'renderSelf': function(/*aContainer, aPosition*/) {
47 this.append(this.element(), [ 47 this.append(this.element(), [
48 {tag:'div', cls:'footerWrapper', children:[ 48 {tag:'div', cls:'footerWrapper', children:[
49 {tag:'div', cls:'footerContent', children:[ 49 {tag:'div', cls:'footerContent', children:[
50 {tag:'canvas', id:this.getId('footerStarIcon'), cls:'footerStarIcon'}, 50 {tag:'canvas', id:this.getId('footerStarIcon'), cls:'footerStarIcon'},
51 {tag:'span', cls:'copyright', html:'Copyright &copy; 2009-2013 Clipperz Srl'}, 51 {tag:'span', cls:'copyright', html:'Copyright &copy; 2009-2013 Clipperz Srl'},
52 {tag:'a', href:'http://www.clipperz.com/terms_of_service',target:'_blank', html:'terms of service'}, 52 {tag:'a', href:'https://www.clipperz.com/terms_service',target:'_blank', html:'terms of service'},
53 {tag:'a', href:'http://www.clipperz.com/privacy_policy',target:'_blank', html:'privacy policy'}, 53 {tag:'a', href:'http://www.clipperz.com/privacy_policy',target:'_blank', html:'privacy policy'},
54 {tag:'div', cls:'applicationVersion', htmlString:'application version: <a href="https://github.com/clipperz/password-manager/tree/' + Clipperz_version + '" target="github">' + Clipperz_version + '</a>'} 54 {tag:'div', cls:'applicationVersion', htmlString:'application version: <a href="https://github.com/clipperz/password-manager/tree/' + Clipperz_version + '" target="github">' + Clipperz_version + '</a>'}
55 ]} 55 ]}
56 ]} 56 ]}
57 ]); 57 ]);
58 58
59 Clipperz.PM.UI.Canvas.star.normal(this.getElement('footerStarIcon'), "#7e7e7e"); 59 Clipperz.PM.UI.Canvas.star.normal(this.getElement('footerStarIcon'), "#7e7e7e");
60 }, 60 },
61 61
62 //------------------------------------------------------------------------- 62 //-------------------------------------------------------------------------
63 63
64 __syntaxFix__: "syntax fix" 64 __syntaxFix__: "syntax fix"
65}); 65});