commit 8c9bb98674ed56254f8dcca60f8f33f1b80e89bc
parent 96e0d7b8210148d5f3714cc1962169f475d6b0c8
Author: Felicitus <felicitus@felicitus.org>
Date: Sun, 15 Mar 2015 15:31:56 +0100
ExtJS5 adjustments, added FontAwesome glyphs
Diffstat:
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Auth/LoginDialog.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Auth/LoginDialog.js
@@ -3,21 +3,21 @@
*/
Ext.define('PartKeepr.LoginDialog', {
extend: 'Ext.Window',
- /* Various style settings */
+
title: i18n("PartKeepr: Login"),
- width: 400,
- height: 125,
-
+ maxWidth: 400,
+
modal: true,
resizable: false,
layout: 'anchor',
-
bodyStyle: 'padding: 5px;',
/**
- * Initializes the login dialog component
+ * Initializes the login dialog component
+ *
+ * @todo Get rid of this stuff and implement it ExtJS5 (modern style)
*/
initComponent: function () {
@@ -51,12 +51,12 @@ Ext.define('PartKeepr.LoginDialog', {
items: [
{
text: i18n("Connect"),
- icon: 'resources/silkicons/connect.png',
+ glyph: 0xf090,
handler: Ext.bind(this.login, this)
},{
text: i18n("Close"),
- handler: Ext.bind(this.close, this),
- icon: 'resources/silkicons/cancel.png'
+ glyph: 0xf00d,
+ handler: Ext.bind(this.close, this)
}]
}]
});