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 2014/06/18 20:22:50 UTC
svn commit: r1603564 - in
/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root: viz.html
viz.jsp
Author: degenaro
Date: Wed Jun 18 18:22:49 2014
New Revision: 1603564
URL: http://svn.apache.org/r1603564
Log:
UIMA-3900 DUCC Web Server (WS) add Viz support
html and jsp
Added:
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.html (with props)
uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.jsp (with props)
Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.html
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.html?rev=1603564&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.html (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.html Wed Jun 18 18:22:49 2014
@@ -0,0 +1,29 @@
+<!--
+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.
+-->
+<html>
+<head>
+<script language="javascript">
+<!--
+location.replace("viz.jsp"+location.search)
+//-->
+</script>
+</head>
+<body>
+</body>
+</html>
Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.jsp
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.jsp?rev=1603564&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.jsp (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.jsp Wed Jun 18 18:22:49 2014
@@ -0,0 +1,70 @@
+<!--
+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" %>
+</head>
+<body onload="ducc_init('viz');">
+<!-- ####################### 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-viz.jsp" %>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<%@ include file="$banner/c2-status-viz.jsp" %>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<%@ include file="$banner/c3-image-viz.jsp" %>
+</td>
+<!-- *********************** column ************************ -->
+<td valign="middle" align="center">
+<%@ include file="$banner/c4-ducc-mon.jsp" %>
+</td>
+</table>
+<!-- *********************** /table ************************ -->
+<!-- ####################### /common ####################### -->
+<span class="viz-nodes" id="viz-nodes"></span>
+ <script>
+ $.ajax({
+ url: "/ducc-servlet/viz-nodes",
+ success: function( data ) {
+ $("#viz-nodes").html(data);
+ }
+ });
+ </script>
+<script src="opensources/navigation/menu.js"></script>
+</body>
+</html>
Propchange: uima/sandbox/uima-ducc/trunk/uima-ducc-web/src/main/webapp/root/viz.jsp
------------------------------------------------------------------------------
svn:eol-style = native