[cig-commits] r8968 - cs/portal/trunk/magportal/MagWebPortal/templates/MagWebPortal

wei at geodynamics.org wei at geodynamics.org
Fri Dec 21 12:34:03 PST 2007


Author: wei
Date: 2007-12-21 12:34:00 -0800 (Fri, 21 Dec 2007)
New Revision: 8968

Modified:
   cs/portal/trunk/magportal/MagWebPortal/templates/MagWebPortal/simulation_detail.html
Log:
added auto refresh which updates the job status on screen every 20 seconds.


Modified: cs/portal/trunk/magportal/MagWebPortal/templates/MagWebPortal/simulation_detail.html
===================================================================
--- cs/portal/trunk/magportal/MagWebPortal/templates/MagWebPortal/simulation_detail.html	2007-12-21 18:12:27 UTC (rev 8967)
+++ cs/portal/trunk/magportal/MagWebPortal/templates/MagWebPortal/simulation_detail.html	2007-12-21 20:34:00 UTC (rev 8968)
@@ -10,6 +10,7 @@
 {% endif %}
 
 <div class=toolbar>
+
     <form action="edit/" method="get"><input type="submit" value="Edit..." /></form>
 
     <form action="run/" method="post">
@@ -25,6 +26,7 @@
 
 <h3>runs</h3>
 
+
 {% if object.run_set.count %}
 
 <table rules=groups>
@@ -57,6 +59,7 @@
 
 </table>
 
+
 {% else %}
 
 <p>This simulation has never been run.</p>
@@ -73,7 +76,7 @@
     </div>
 
     <div class=box>
-    <h3>general information</h3>
+    <h3>general job information</h3>
 
     <dl>
         <dt>name</dt><dd>{{ object.name }}</dd>
@@ -82,5 +85,12 @@
         <dt>Input File</dt><dd><a href="../../inputdatafiles/{{ object.InputdataFile.id }}/">{{ object.InputdataFile.name }}</a></dd>
     </dl>
     </div>
+    
+</div>
+<h4>Notes to Users</h4>
+<dl class=help><dt><font size="-1">The browser updates the run status every 20 senconds. Depending on the input parameters, 
+your mag job could run for some time. When the job finishes, portal will send you an email notice.</font></dt></dl>
 
+<meta http-equiv="refresh" content="20; URL=/magwebportal/simulations/{{object.id}}">
+
 {% endblock %}



More information about the cig-commits mailing list