]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/VersionInfo.js
utils: add custom validator for pmg-email-address
[pmg-gui.git] / js / VersionInfo.js
index 43042fbbe8f9fc4483d341dcaf1a5b475c8b873a..408a380c2d005fdfa409521ec0a46fea8fafbd8b 100644 (file)
@@ -1,19 +1,23 @@
-/*global Proxmox*/
-Ext.define('PMG.view.main.VersionInfo',{
+Ext.define('PMG.view.main.VersionInfo', {
     extend: 'Ext.Component',
     xtype: 'versioninfo',
 
     makeApiCall: true,
 
     data: {
-       version: false
+       version: false,
+    },
+
+    style: {
+       'font-size': '14px',
+       'line-height': '18px',
     },
 
     tpl: [
        'Mail Gateway',
        '<tpl if="version">',
        ' {version}',
-       '</tpl>'
+       '</tpl>',
     ],
 
     initComponent: function() {
@@ -26,8 +30,8 @@ Ext.define('PMG.view.main.VersionInfo',{
                method: 'GET',
                success: function(response) {
                    me.update(response.result.data);
-               }
+               },
            });
        }
-    }
+    },
 });