[vlma-devel] commit: Auto redirect after having launched (VLC|Streaming) check. ( Adrien Grand )

git version control git at videolan.org
Sat Jun 28 22:51:01 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sat Jun 28 22:50:36 2008 +0200| [1b0f897f4dba73e7c41725e3762aa2a1a734c794]

Auto redirect after having launched (VLC|Streaming) check.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=1b0f897f4dba73e7c41725e3762aa2a1a734c794
---

 .../jsp/order/orderstartmonitoring_right.jsp       |    4 +++-
 .../jsp/server/serverstartcheckvlc_right.jsp       |    4 ++++
 vlma-webapp/src/main/webapp/js/utils.js            |    4 ++++
 3 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/vlma-webapp/src/main/webapp/WEB-INF/jsp/order/orderstartmonitoring_right.jsp b/vlma-webapp/src/main/webapp/WEB-INF/jsp/order/orderstartmonitoring_right.jsp
index 9ee5414..435f0b0 100644
--- a/vlma-webapp/src/main/webapp/WEB-INF/jsp/order/orderstartmonitoring_right.jsp
+++ b/vlma-webapp/src/main/webapp/WEB-INF/jsp/order/orderstartmonitoring_right.jsp
@@ -1,4 +1,3 @@
-
 <%@ include file="/WEB-INF/jsp/include.jsp" %>
 
 <h1><fmt:message key="orders.startmonitoring.page" /></h1>
@@ -7,3 +6,6 @@
     <fmt:message key="orders.startmonitoring.text" />
 </p>
 
+<script type="text/javascript">
+setTimeout('redirect("welcome.htm")', 2500)
+</script>
\ No newline at end of file
diff --git a/vlma-webapp/src/main/webapp/WEB-INF/jsp/server/serverstartcheckvlc_right.jsp b/vlma-webapp/src/main/webapp/WEB-INF/jsp/server/serverstartcheckvlc_right.jsp
index 138822c..b98e1ec 100644
--- a/vlma-webapp/src/main/webapp/WEB-INF/jsp/server/serverstartcheckvlc_right.jsp
+++ b/vlma-webapp/src/main/webapp/WEB-INF/jsp/server/serverstartcheckvlc_right.jsp
@@ -6,3 +6,7 @@
 <p>
     <fmt:message key="servers.startcheckvlc.text" />
 </p>
+
+<script type="text/javascript">
+setTimeout('redirect("serverlist.htm")', 2500)
+</script>
\ No newline at end of file
diff --git a/vlma-webapp/src/main/webapp/js/utils.js b/vlma-webapp/src/main/webapp/js/utils.js
index 7e39274..3a8217f 100644
--- a/vlma-webapp/src/main/webapp/js/utils.js
+++ b/vlma-webapp/src/main/webapp/js/utils.js
@@ -1,3 +1,7 @@
+function redirect(url) {
+    window.location = url;
+}
+
 // Function written by <laug (at) via.ecp.fr>
 // See http://www.via.ecp.fr/spamproof.js
 function spamproof() {



More information about the vlma-devel mailing list