Author: burn
Date: Thu Sep 26 14:55:47 2019
New Revision: 1867580

URL: http://svn.apache.org/viewvc?rev=1867580&view=rev
Log:
UIMA-6114 Right justify 3 columns for the scrollable Experiments page

Modified:
    uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/experiments.jsp
    uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp

Modified: 
uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/experiments.jsp
URL: 
http://svn.apache.org/viewvc/uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/experiments.jsp?rev=1867580&r1=1867579&r2=1867580&view=diff
==============================================================================
--- uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/experiments.jsp 
(original)
+++ uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/experiments.jsp Thu 
Sep 26 14:55:47 2019
@@ -31,6 +31,7 @@ if (table_style.equals("scroll")) {
        var oTable;
        $(document).ready(function() {
                oTable = $('#experiments-table').dataTable( {
+                dom: 'C<"clear">lfrtip',
                        "bProcessing": true,
                        "bPaginate": false,
                        "bFilter": true,
@@ -41,6 +42,10 @@ if (table_style.equals("scroll")) {
                        "aaSorting": [],
                        "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 
] } ],
                        "fnRowCallback"  : function(nRow,aData,iDisplayIndex) {
+                                        // right align the Termina-button, 
Duration & Tasks
+                                       $('td:eq(0)', nRow).css( "text-align", 
"right" );
+                                       $('td:eq(2)', nRow).css( "text-align", 
"right" );
+                                       $('td:eq(4)', nRow).css( "text-align", 
"right" );
                                        return nRow;
                        },
                } );
@@ -91,8 +96,10 @@ if (table_style.equals("scroll")) {
 <%
 if (table_style.equals("scroll")) {
 %>
-       <table id="experiments-table" width="100%">
+       <table width="100%">
        <caption title="Hint: use Preferences -> Table Style to alter 
format"><b>Experiments List</b><br><i><small>click column heading to 
sort</small></i></caption>
+       </table>
+       <table id="experiments-table" width="100%">
        <thead>
        <tr class="ducc-header">
        <th class="ducc-col-terminate"></th>

Modified: uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp
URL: 
http://svn.apache.org/viewvc/uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp?rev=1867580&r1=1867579&r2=1867580&view=diff
==============================================================================
--- uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp (original)
+++ uima/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/jobs.jsp Thu Sep 26 
14:55:47 2019
@@ -41,7 +41,7 @@ if (table_style.equals("scroll")) {
                        "aaSorting": [],
                        "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 
] } ],
                        "fnRowCallback"  : function(nRow,aData,iDisplayIndex) {
-                                                                       
$('td:eq(0)', nRow).css( "text-align", "right" );
+                                       $('td:eq(0)', nRow).css( "text-align", 
"right" );
                                        $('td:eq(1)', nRow).css( "text-align", 
"right" );
                                        $('td:eq(3)', nRow).css( "text-align", 
"right" );
                                        $('td:eq(8)', nRow).css( "text-align", 
"right" );


Reply via email to