[Webflysuesk-commits] r69 - in webflysuesk/branches/openlayers-integration: . webflys/src/main/webapp/pages
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 16 12:20:16 CEST 2009
Author: iweinzierl
Date: 2009-07-16 12:20:13 +0200 (Thu, 16 Jul 2009)
New Revision: 69
Modified:
webflysuesk/branches/openlayers-integration/ChangeLog.txt
webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/app.jsp
webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/karte.js
Log:
Each job in the resultPanel became a link showing detailed information about it.
Modified: webflysuesk/branches/openlayers-integration/ChangeLog.txt
===================================================================
--- webflysuesk/branches/openlayers-integration/ChangeLog.txt 2009-07-16 09:52:59 UTC (rev 68)
+++ webflysuesk/branches/openlayers-integration/ChangeLog.txt 2009-07-16 10:20:13 UTC (rev 69)
@@ -1,5 +1,11 @@
2009-07-16 Ingo Weinzierl <ingo.weinzierl at intevation.de>
+ * webflys/src/main/webapp/pages/karte.js,
+ webflys/src/main/webapp/pages/app.jsp: Each job in the resultPanel became
+ a link showing detailed information about it.
+
+2009-07-16 Ingo Weinzierl <ingo.weinzierl at intevation.de>
+
* webflys/src/main/webapp/pages/entrance.jsp: Adjusted the css class of the
bubmit button.
Modified: webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/app.jsp
===================================================================
--- webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/app.jsp 2009-07-16 09:52:59 UTC (rev 68)
+++ webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/app.jsp 2009-07-16 10:20:13 UTC (rev 69)
@@ -165,7 +165,9 @@
</div>
<div class="link_menu" id="link_menu">
- <a onClick="window.open('http://beige.rgb:8880/list-html?user_id='+getUserId());">[Zeige Jobs des Nutzers]</a>
+ <div style="cursor: pointer;" onClick="window.open('http://beige.rgb:8880/list-html?user_id='+getUserId());">
+ [Zeige Jobs des Nutzers]
+ </div>
</div>
<%-- webflys parameter panel --%>
@@ -200,7 +202,7 @@
<input type="button" value="<bean:message key='wsplgen.refresh.button'/>" onClick="resultPanel();" class="button">
<br>
<bean:message key="wsplgen.result.title"/>
- <div id="results"></div>
+ <div id="results" style="cursor: pointer;"></div>
</div>
<span style="overflow: hidden; background-color: darkblue; display: block; height: 1px; font-size: 1px; margin-left: 1px; margin-right: 0px; border-left-width: 0px; border-right-width: 0px; opacity: 0.8;"></span>
Modified: webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/karte.js
===================================================================
--- webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/karte.js 2009-07-16 09:52:59 UTC (rev 68)
+++ webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/karte.js 2009-07-16 10:20:13 UTC (rev 69)
@@ -12,6 +12,8 @@
displayClass: "olControlPanel"
});
+var scheduler_url = 'http://beige.rgb:8880';
+
/**
* Method: createMapForRiver
* Fetch the BoundingBox of a river in the ServletContext from Servlet and
@@ -473,8 +475,10 @@
// add new job to the result panel
if($j.inArray(job, usedJobId) == '-1') {
var content = '<input type="radio" name="job" value="'+job+'">';
+ content += '<a onClick="showJob('+job+');" style="cursor: pointer;">';
content += job;
content += '- '+ des;
+ content += '</a>';
/*
content += '- '+ des + ' ';
content += '(' + sta + ')';
@@ -542,4 +546,9 @@
// load the job selected by the radio button
fetchUserResults(addResults, jobId, uid, gew);
}
+
+function showJob(job_id) {
+ var url = scheduler_url+'/info?job_ids='+job_id;
+ window.open(url);
+}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8:
More information about the Webflysuesk-commits
mailing list