aboutsummaryrefslogtreecommitdiff
path: root/web/Login.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-02-03 12:11:21 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-02-03 12:11:21 +1300
commit0b166ca5fc20f7b857b214209df2ce8c23eb168c (patch)
treee3fb767807c57fed490fb8967a310921217ba5a8 /web/Login.js
parentb79c04d23c386198a5b62a9dc0f874f9c2d05d02 (diff)
downloadtrackermap-server-0b166ca5fc20f7b857b214209df2ce8c23eb168c.tar.gz
trackermap-server-0b166ca5fc20f7b857b214209df2ce8c23eb168c.tar.bz2
trackermap-server-0b166ca5fc20f7b857b214209df2ce8c23eb168c.zip
Use static Ext classes
Diffstat (limited to 'web/Login.js')
-rw-r--r--web/Login.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/Login.js b/web/Login.js
index d06506480..6c42d7ddb 100644
--- a/web/Login.js
+++ b/web/Login.js
@@ -19,31 +19,31 @@ Ext.define('LoginForm', {
xtype: 'login-form',
defaultType: 'textfield',
- bodyPadding: styles.panel_padding,
+ bodyPadding: Styles.panel_padding,
defaults: { anchor: '100%' },
items: [{
allowBlank: false,
- fieldLabel: strings.login_user,
+ fieldLabel: Strings.login_user,
name: 'user'
}, {
allowBlank: false,
- fieldLabel: strings.login_password,
+ fieldLabel: Strings.login_password,
name: 'password',
inputType: 'password'
}],
buttons: [
- { text: strings.login_register },
- { text: strings.login_login }
+ { text: Strings.login_register },
+ { text: Strings.login_login }
]
});
Ext.define('Login', {
extend: 'Ext.window.Window',
- title: strings.login_title,
+ title: Strings.login_title,
items: [{ xtype: 'login-form' }]
});