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/02/20 12:02:06 UTC

svn commit: r1291193 - in /openejb/trunk/openejb/tomee: build.xml tomee-webapp/src/main/webapp/staging/js/tomee/view/ApplicationJndiPanel.js

Author: tveronezi
Date: Mon Feb 20 11:02:05 2012
New Revision: 1291193

URL: http://svn.apache.org/viewvc?rev=1291193&view=rev
Log:
https://issues.apache.org/jira/browse/TOMEE-130

Creating a carousel to show jndi details.

Added:
    openejb/trunk/openejb/tomee/build.xml
Modified:
    openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/staging/js/tomee/view/ApplicationJndiPanel.js

Added: openejb/trunk/openejb/tomee/build.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/build.xml?rev=1291193&view=auto
==============================================================================
--- openejb/trunk/openejb/tomee/build.xml (added)
+++ openejb/trunk/openejb/tomee/build.xml Mon Feb 20 11:02:05 2012
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<project name="dev-helper" default="copy_static">
+
+    <target name="copy_static">
+        <copy verbose="true" todir="apache-tomee/target/apache-tomee-webprofile-1.0.0-beta-3-SNAPSHOT/webapps/tomee/staging">
+            <fileset dir="tomee-webapp/src/main/webapp/staging" includes="**"/>
+        </copy>
+    </target>
+
+</project>
\ No newline at end of file

Modified: openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/staging/js/tomee/view/ApplicationJndiPanel.js
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/staging/js/tomee/view/ApplicationJndiPanel.js?rev=1291193&r1=1291192&r2=1291193&view=diff
==============================================================================
--- openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/staging/js/tomee/view/ApplicationJndiPanel.js (original)
+++ openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/staging/js/tomee/view/ApplicationJndiPanel.js Mon Feb 20 11:02:05 2012
@@ -30,13 +30,13 @@ TOMEE.ApplicationJndiPanel = function (c
             '<div id="myCarousel" class="carousel slide">',
             '    <div class="carousel-inner">',
             '        <div class="item active">',
-            '<div style="overflow:auto; height: 200px">',
+            '<div style="overflow:auto; height: 300px">',
             '<table class="table table-striped table-bordered table-condensed">',
             '    <tbody id="' + tbodyUid + '"/>',
             '</table>',
             '</div>',
 
-            '<br/><br/><br/>',
+            '<br/><br/><br/><br/><br/><br/>',
             '            <div class="carousel-caption">',
             '                <h4>' + TOMEE.ApplicationI18N.get('app.home.menu.tools.jndi.browser') + '</h4>',
             '                <p>' + TOMEE.ApplicationI18N.get('app.home.menu.tools.jndi.browser.info') + '</p>',
@@ -64,7 +64,8 @@ TOMEE.ApplicationJndiPanel = function (c
     var addRow = function (bean) {
         var row = [
             '        <tr>',
-            '            <td>' + bean.name + '</td>',
+            '            <td><a href="#">' + bean.name + '</a></td>',
+            '            <td><i class="icon-chevron-right"></i></td>',
             '        </tr>'
         ].join('');
         elements.tbody.append($(row));