/*
 * Copyright (c) 2009 The Olympos Development Team.
 * 
 * http://sourceforge.net/projects/olympos/
 * 
 * All rights reserved. This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html. If redistributing this code, this
 * entire header must remain intact.
 */
Ext.namespace("cwe.dashboard");

/**
 * @class The main Workbench (perspective).
 * 
 * @constructor
 * @extends Ext.Viewport
 * @param {Object}
 *            config The configuration object.
 */
cwe.dashboard.WelcomePortlet = function(config) {
	cwe.dashboard.WelcomePortlet.superclass.constructor.call(this, Ext.apply(this, {
	    title : chi.Dict.translate("Greeting Message"),
	    iconCls : "cweLogoIcon",
	    bodyStyle : "padding: 5px;",
	    html : "<h1>" + chi.Dict.translate("Welcome to Chronos Web Editor!") + "</h1><p style='text-align: center;'><img src='img/logo.png' alt='Logo' /></p>"
	}, config));
};

Ext.extend(cwe.dashboard.WelcomePortlet, Ext.ux.Portlet);

