4 files changed, 5 insertions, 5 deletions
diff --git a/frontend/gamma/html/index_template.html b/frontend/gamma/html/index_template.html index ba7c311..b80a34f 100644 --- a/frontend/gamma/html/index_template.html +++ b/frontend/gamma/html/index_template.html | |||
@@ -1,79 +1,79 @@ | |||
1 | <html> | 1 | <html> |
2 | <head> | 2 | <head> |
3 | <title>@page.title@</title> | 3 | <title>@page.title@</title> |
4 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | 4 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
5 | <!-- | 5 | <!-- |
6 | @copyright@ | 6 | @copyright@ |
7 | --> | 7 | --> |
8 | 8 | ||
9 | @css@ | 9 | @css@ |
10 | 10 | ||
11 | <link rel="shortcut icon" href="./clipperz.ico" /> | 11 | <link rel="shortcut icon" href="./clipperz.ico" /> |
12 | 12 | ||
13 | <meta name="description" content="Login to your web accounts with just one click. Never type a password again! Use multiple complex passwords and forget them. A password manager that enhances your online security." /> | 13 | <meta name="description" content="Login to your web accounts with just one click. Never type a password again! Use multiple complex passwords and forget them. A password manager that enhances your online security." /> |
14 | <meta name="keywords" content="password manager,gestor de contraseñas,gerenciador de senhas,Kennwortmanager,passwords,security,privacy,cryptography" /> | 14 | <meta name="keywords" content="password manager,gestor de contraseñas,gerenciador de senhas,Kennwortmanager,passwords,security,privacy,cryptography" /> |
15 | <script> | 15 | <script> |
16 | Clipperz_IEisBroken = false; | 16 | Clipperz_IEisBroken = false; |
17 | Clipperz_normalizedNewLine = '\n'; | 17 | Clipperz_normalizedNewLine = '\n'; |
18 | Clipperz_dumpUrl = "/../dump/"; | 18 | Clipperz_dumpUrl = "@dump.path@"; |
19 | Clipperz_version = "@application.version@"; | 19 | Clipperz_version = "@application.version@"; |
20 | "use strict"; | 20 | "use strict"; |
21 | </script> | 21 | </script> |
22 | 22 | ||
23 | <!--[if IE]><script> | 23 | <!--[if IE]><script> |
24 | Clipperz_IEisBroken = true; | 24 | Clipperz_IEisBroken = true; |
25 | Clipperz_normalizedNewLine = '\x0d\x0a'; | 25 | Clipperz_normalizedNewLine = '\x0d\x0a'; |
26 | </script><![endif]--> | 26 | </script><![endif]--> |
27 | 27 | ||
28 | @js_LINKED@ | 28 | @js_LINKED@ |
29 | 29 | ||
30 | </head> | 30 | </head> |
31 | <body> | 31 | <body> |
32 | <div id="mainDiv"> | 32 | <div id="mainDiv"> |
33 | <div id="loading"> | 33 | <div id="loading"> |
34 | <div> | 34 | <div> |
35 | <!-- a href="http://www.clipperz.com" target="_blank"><div id="logo"></div></a --> | 35 | <!-- a href="http://www.clipperz.com" target="_blank"><div id="logo"></div></a --> |
36 | <h1>clipperz</h1> | 36 | <h1>clipperz</h1> |
37 | <h3 class="clipperzPayoff">keep it to yourself!</h3> | 37 | <h3 class="clipperzPayoff">keep it to yourself!</h3> |
38 | <!-- h5>loading ...</h5 --> | 38 | <!-- h5>loading ...</h5 --> |
39 | </div> | 39 | </div> |
40 | </div> | 40 | </div> |
41 | 41 | ||
42 | @js_EMBEDDED@ | 42 | @js_EMBEDDED@ |
43 | 43 | ||
44 | </div> | 44 | </div> |
45 | <!-- div id="applicationVersionType" class="@application.version.type@"></div --> | 45 | <!-- div id="applicationVersionType" class="@application.version.type@"></div --> |
46 | 46 | ||
47 | <script> | 47 | <script> |
48 | Clipperz.PM.Proxy.defaultProxy = new Clipperz.PM.Proxy.JSON({'url':'@request.path@', 'shouldPayTolls':@should.pay.toll@}); | 48 | Clipperz.PM.Proxy.defaultProxy = new Clipperz.PM.Proxy.JSON({'url':'@request.path@', 'shouldPayTolls':@should.pay.toll@}); |
49 | /*offline_data_placeholder*/ | 49 | /*offline_data_placeholder*/ |
50 | 50 | ||
51 | /* * / | 51 | /* * / |
52 | MochiKit.DOM.addLoadEvent(function () { | 52 | MochiKit.DOM.addLoadEvent(function () { |
53 | Clipperz.Crypto.PRNG.defaultRandomGenerator().fastEntropyAccumulationForTestingPurpose(); | 53 | Clipperz.Crypto.PRNG.defaultRandomGenerator().fastEntropyAccumulationForTestingPurpose(); |
54 | MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'doLogin', {username:'j', passphrase:'j'}); | 54 | // MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'doLogin', {username:'joe', passphrase:'clipperz'}); |
55 | }); | 55 | }); |
56 | / * */ | 56 | / * */ |
57 | </script> | 57 | </script> |
58 | 58 | ||
59 | <!-- --> | 59 | <!-- --> |
60 | <!-- div id="javaScriptAlert"> | 60 | <!-- div id="javaScriptAlert"> |
61 | <div class="mask"></div> | 61 | <div class="mask"></div> |
62 | <div class="message"> | 62 | <div class="message"> |
63 | <div class="header"></div> | 63 | <div class="header"></div> |
64 | <div class="body"> | 64 | <div class="body"> |
65 | <div class="alertLogo"></div> | 65 | <div class="alertLogo"></div> |
66 | <div class="alert"> | 66 | <div class="alert"> |
67 | <h1>Attention!</h1> | 67 | <h1>Attention!</h1> |
68 | <p>If you can read this message, the chances are that your browser does not properly support JavaScript? or you have disabled this functionality yourself.</p> | 68 | <p>If you can read this message, the chances are that your browser does not properly support JavaScript? or you have disabled this functionality yourself.</p> |
69 | <h3>Javascript is required to access Clipperz.</h3> | 69 | <h3>Javascript is required to access Clipperz.</h3> |
70 | <h5>Please enable scripting or upgrade your browser.</h5> | 70 | <h5>Please enable scripting or upgrade your browser.</h5> |
71 | </div> | 71 | </div> |
72 | </div> | 72 | </div> |
73 | <div class="footer"></div> | 73 | <div class="footer"></div> |
74 | </div> | 74 | </div> |
75 | </div --> | 75 | </div --> |
76 | <!-- --> | 76 | <!-- --> |
77 | 77 | ||
78 | </body> | 78 | </body> |
79 | </html> | 79 | </html> |
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 | |||
@@ -125,65 +125,65 @@ Clipperz.PM.Strings.Languages['en-us'] = { | |||
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", |
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 | |||
@@ -126,65 +126,65 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.NewUserCreationComponent, Cli | |||
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 | }, |
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 | |||
@@ -20,46 +20,46 @@ refer to http://www.clipperz.com. | |||
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 | ||
24 | Clipperz.Base.module('Clipperz.PM.UI.Web.Components'); | 24 | Clipperz.Base.module('Clipperz.PM.UI.Web.Components'); |
25 | 25 | ||
26 | Clipperz.PM.UI.Web.Components.PageFooter = function(args) { | 26 | Clipperz.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 | ||
36 | Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageFooter, Clipperz.PM.UI.Common.Components.BaseComponent, { | 36 | Clipperz.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 © 2009-2013 Clipperz Srl'}, | 51 | {tag:'span', cls:'copyright', html:'Copyright © 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 | }); |