﻿Ext.namespace('Root.Theme');

Root.Theme.Bottom = Ext.extend(Ext.Container,
{
    siteRoot: undefined,
        
    // Constructor
    initComponent: function()
    {
        
        
        Ext.apply(this,
	    {
            layout:
            {
                type: 'vbox',
                align: 'stretch'
            },
            items:
            [
                { xtype: 'spacer', cls: 'bottomSpacer', height: 10 },
                {
                    id: 'bottomToolbar',
                    xtype: 'toolbar',
                    border: false,
                    height: 60,
                    items:
                    [
                        { xtype:'container', html:'<a href="http://www.ypes.gr">Υπουργείο Εσωτερικών</a>',  tooltip: 'Υπουργείο Εσωτερικών' },
                        '->',
                        Root.Helper.hotImage('http://www.singularlogic.eu', 'images/singular.png')
                    ]
                }
            ]
        });
        
        // Call parent
        Root.Theme.Bottom.superclass.initComponent.apply(this, arguments);
    }
});

// Register xtype
Ext.reg('Root-Theme-Bottom', Root.Theme.Bottom);
