~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to local/in/dhis-web-ga/DValidationScreen.jsp

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<%@ page contentType="text/html ; charset=UTF-8"%>
 
3
 
 
4
<%@ page import="java.sql.*,java.util.*" %>
 
5
<%@ page session="true"%>
 
6
 
 
7
<!-- Bean Specification -->
 
8
<jsp:useBean id="AudioAction" scope="session" class="org.hisp.gtool.action.AudioAction" />
 
9
 
 
10
<%
 
11
// To Play Audio
 
12
String muteOpt = (String) session.getAttribute("muteOpt");
 
13
if(muteOpt != null && muteOpt.equals("OFF"))
 
14
{
 
15
        AudioAction.stopAudio();
 
16
        AudioAction.playAudio("t9.wav");
 
17
}       
 
18
%> 
 
19
<html>
 
20
        <head>
 
21
                <title>Graphical Analyser</title>
 
22
                <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
 
23
        <meta http-equiv="description" content="this is my page">
 
24
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
 
25
                
 
26
                <script>
 
27
                    function DVAddFunction()
 
28
                    {
 
29
                        location.href="DValidationAdd.jsp";
 
30
                    } // DVAddFunction end
 
31
                    
 
32
                    function infoBoxCloseFunction()
 
33
                        {
 
34
                                infoBox.innerHTML="";
 
35
                        }//infoBoxCloseFunction
 
36
                        
 
37
                        function DVViewFunction()
 
38
                        {
 
39
                                location.href="DVViewScreen.jsp";
 
40
                        } // DVViewFunction end
 
41
                        
 
42
                        function onloadFunction()
 
43
                        {
 
44
                                infoBox.innerHTML = ""; 
 
45
                        }
 
46
                </script>
 
47
        </head>
 
48
        <body onload="onloadFunction()" >
 
49
                <table width="100%" height="100%">
 
50
                        <tr>
 
51
                                <td width="70%">
 
52
                                        <div align="right">
 
53
                                                <input type="button" id="AddValiation" name="AddValiation" value="Add" onclick="DVAddFunction()" />
 
54
                                                <input type="button" id="ViewValiation" name="ViewValiation" value="View" onclick="DVViewFunction()" />
 
55
                                        </div>                                  
 
56
                                </td>
 
57
                                <td width="30%" style="vertical-align:top">
 
58
                                </td>
 
59
                        </tr>
 
60
                        <tr>
 
61
                                <td width="70%">
 
62
                                        <iframe name="DVListPane" id="DVListPane" src="DValidationList.jsp" scrolling=auto frameborder="0" width="100%" height="100%"></iframe>
 
63
                                </td>
 
64
                                <td width="30%" style="vertical-align:top"><p id="infoBox" name="infoBox">&nbsp;</p>
 
65
                                </td>
 
66
                        </tr>
 
67
                </table>        
 
68
        </body>
 
69
</html>
 
 
b'\\ No newline at end of file'