You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by tv...@apache.org on 2012/06/07 13:01:44 UTC
svn commit: r1347568 -
/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/js/tomee/view/ApplicationViewHome.js
Author: tveronezi
Date: Thu Jun 7 11:01:43 2012
New Revision: 1347568
URL: http://svn.apache.org/viewvc?rev=1347568&view=rev
Log:
https://issues.apache.org/jira/browse/TOMEE-205
* cosmetic
Modified:
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/js/tomee/view/ApplicationViewHome.js
Modified: openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/js/tomee/view/ApplicationViewHome.js
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/js/tomee/view/ApplicationViewHome.js?rev=1347568&r1=1347567&r2=1347568&view=diff
==============================================================================
--- openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/js/tomee/view/ApplicationViewHome.js (original)
+++ openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/js/tomee/view/ApplicationViewHome.js Thu Jun 7 11:01:43 2012
@@ -51,37 +51,6 @@ TOMEE.ApplicationViewHome = function (cf
}
]
});
- //position:absolute; top:50%;
-
- var elBottomBar = TOMEE.el.getElMap({
- elName:'main',
- tag:'form',
- cls: 'well form-inline',
- attributes:{
- style:'height: 27px;margin-bottom: 0px;padding-top: 1px;padding-left: 1px;padding-bottom: 1px;padding-right: 1px;'
- },
- children: [
- {
- tag:'select',
- children: [
- {
- tag:'option',
- html: 'Javascript'
- },
- {
- tag:'option',
- html: 'Groovy'
- }
- ]
- },
- {
- elName:'executeBtn',
- tag:'button',
- cls:'btn',
- html: 'execute'
- }
- ]
- });
var jndiPanel = (function () {
var jndi = TOMEE.components.Panel({
@@ -148,8 +117,46 @@ TOMEE.ApplicationViewHome = function (cf
}
});
+ var elText = TOMEE.el.getElMap({
+ elName:'main',
+ tag:'textarea',
+ attributes:{
+ style:'height: 469px; width: 100%;border: 0px;padding: 0px;margin: 0px;'
+ }
+ });
+
+ var elBottomBar = TOMEE.el.getElMap({
+ elName:'main',
+ tag:'form',
+ cls: 'well form-inline',
+ attributes:{
+ style:'height: 27px;margin-bottom: 0px;padding-top: 1px;padding-left: 1px;padding-bottom: 1px;padding-right: 1px;'
+ },
+ children: [
+ {
+ tag:'select',
+ children: [
+ {
+ tag:'option',
+ html: 'Javascript'
+ },
+ {
+ tag:'option',
+ html: 'Groovy'
+ }
+ ]
+ },
+ {
+ elName:'executeBtn',
+ tag:'button',
+ cls:'btn',
+ html: 'execute'
+ }
+ ]
+ });
+
var el = console.getContentEl();
- el.append('<textarea style="height: 469px; width: 100%;border: 0px;padding: 0px;margin: 0px;"></textarea>');
+ el.append(elText.main);
el.append(elBottomBar.main);