You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by de...@apache.org on 2013/02/14 22:17:22 UTC

svn commit: r1446330 [2/2] - in /uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main: java/org/apache/uima/ducc/ws/server/ webapp/root/ webapp/root/$banner/ webapp/root/js/

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.jsp?rev=1446330&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.jsp (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/services.jsp Thu Feb 14 21:17:21 2013
@@ -0,0 +1,169 @@
+<!--
+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.
+-->
+<%@ page language="java" %>
+<html>
+<head>
+  <link rel="shortcut icon" href="uima.ico" />
+  <title>ducc-mon</title>
+  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
+  <%@ include file="$imports.jsp" %>
+  <script type="text/javascript">
+	$(function() {
+		$("#tabs").tabs();
+	});
+  </script>
+<%
+if (table_style.equals("scroll")) {
+%>  
+  <script type="text/javascript" charset="utf-8">
+	var oTable;
+	$(document).ready(function() {
+		oTable = $('#services-table').dataTable( {
+			"bProcessing": true,
+			"bPaginate": false,
+			"bFilter": true,
+			"sScrollX": "100%",
+			"sScrollY": "600px",
+       		"bInfo": false,
+			"sAjaxSource": "ducc-servlet/json-format-aaData-services",
+			"aaSorting": [],
+			"fnRowCallback"  : function(nRow,aData,iDisplayIndex) {
+                             		$('td:eq(0)', nRow).css( "text-align", "right" );
+                             		$('td:eq(2)', nRow).css( "text-align", "right" );
+                             		$('td:eq(3)', nRow).css( "text-align", "right" );
+                             		$('td:eq(6)', nRow).css( "text-align", "right" );
+                             		return nRow;
+			},
+		} );
+	} );
+  </script>
+<%
+}
+%>	
+</head>
+<body onload="ducc_init('services');" onResize="window.location.href = window.location.href;">
+
+<!-- ####################### common ######################## -->
+<div class="flex-page">
+<!-- *********************** table ************************* -->
+<table class="flex-heading">
+<!-- *********************** row *************************** -->
+<tr class="heading">
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<%@ include file="$banner/c0-menu.jsp" %>
+</td>
+<!-- *********************** column ************************ -->
+<%@ include file="$banner/$runmode.jsp" %>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<%@ include file="$banner/c1-refresh-services.jsp" %>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<%@ include file="$banner/c2-status-services.jsp" %>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<%@ include file="$banner/c3-image-services.jsp" %>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<%@ include file="$banner/c4-ducc-mon.jsp" %>
+</td>
+</table>
+<!-- *********************** /table ************************ -->
+<!-- ####################### /common ####################### -->
+<!-- @@@@@@@@@@@@@@@@@@@@@@@ unique @@@@@@@@@@@@@@@@@@@@@@@@ -->
+<%
+if (table_style.equals("scroll")) {
+%>
+<!--
+	<table id="services-table" width="100%">
+   	    <caption><b>Services Definitions List</b><br><i><small>click column heading to sort</small></i></caption>
+			<thead>
+			<tr class="ducc-header">
+			<th title="The service Id">Id</th>
+			<th title="The service name">Name</th>
+			<th title="The service number of instances">Instances</th>
+			<th title="The service number of deployments">Deployments</th>
+			<th class="ducc-no-filter" id="user_column_heading" title="The service owning user">User</th>
+			<th title="The service scheduling class">Class</th>
+			<th title="The service process memory size (GB)">Size</th>
+			<th title="The service description">Description</th>
+			</tr>
+			</thead>
+			<tbody id="services_list_area">
+   	  		</tbody>
+   	</table>
+-->   	
+	<table id="services-table" width="100%">
+	<caption><b>Services Definitions List</b><br><i><small>click column heading to sort</small></i></caption>
+	<thead>
+	<tr class="ducc-header">
+		<th title="The service Id">Id</th>
+		<th title="The service name">Name</th>
+		<th title="The service number of instances">Instances</th>
+		<th title="The service number of deployments">Deployments</th>
+		<th class="ducc-no-filter" id="user_column_heading" title="The service owning user">User</th>
+		<th title="The service scheduling class">Class</th>
+		<th title="The service process memory size (GB)">Size</th>
+		<th title="The service description">Description</th>
+	</tr>
+	</thead>
+	<tbody id="services_list_area">
+	</tbody>
+	</table>
+<%
+}
+%>	
+<%
+if (table_style.equals("classic")) {
+%>
+	<table width="100%">
+   	<caption><b>Services Definitions List</b><br><i><small>click column heading to sort</small></i></caption>
+   	<tr>
+    <td>
+      <table class="sortable">
+		<thead>
+		<tr class="ducc-head">
+		<th title="The service Id">Id</th>
+		<th title="The service name">Name</th>
+		<th title="The service number of instances">Instances</th>
+		<th title="The service number of deployments">Deployments</th>
+		<th class="ducc-no-filter" id="user_column_heading" title="The service owning user">User</th>
+		<th title="The service scheduling class">Class</th>
+		<th title="The service process memory size (GB)">Size</th>
+		<th title="The service description">Description</th>
+		</tr>
+		</thead>
+		<tbody id="services_list_area">
+   		</tbody>
+	  </table>
+   	</table>
+<%
+}
+%>	    
+<!-- @@@@@@@@@@@@@@@@@@@@@@@ /unique @@@@@@@@@@@@@@@@@@@@@@@@ -->
+<!-- ####################### common ######################### -->
+</div>
+		
+<script src="opensources/navigation/menu.js"></script>
+</body>
+</html>