source: EWD/ewdapps/so/pages/index.ewd@ 1304

Last change on this file since 1304 was 1284, checked in by Sam Habiel, 13 years ago

Added Sign-On Project, Bed Board, Tutorial, and Roll-and-Scroll emulator

File size: 2.1 KB
Line 
1<ewd:comment>
2(C) Sam Habiel 2011
3License: Inherits EWD License, whatever it is.
4</ewd:comment>
5
6<ewd:config isFirstPage="true" prePageScript="SETUP^ewdu">
7<!DOCTYPE html>
8<html>
9 <head>
10 <title>VISTA Sign-On</title>
11
12 <!-- Redirect Javascript for EWD Errors -->
13 <script type="text/javascript">
14 var VISTA = {}; // Mi Casa
15 VISTA.redirectEWDErrorToDiv = function () {
16 EWD.page.errorMessage = function (msg) {
17 if (msg !== '')
18 {
19 var errDiv = document.getElementById('error');
20 errDiv.innerHTML = msg;
21 }
22 };
23 };
24 </script>
25 <!-- End -->
26
27 </head>
28 <body onload="VISTA.redirectEWDErrorToDiv()">
29 <form id="login" method="post" action="ewd">
30 <h1>Sign On to VISTA</h1>
31 <div id="intro">
32 <p>
33 <ewd:forEach sessionName="introtxt" index="$n" return="$line">
34 <?= $line ?> <br />
35 </ewd:forEach>
36 </p>
37 </div>
38 <fieldset id="inputs">
39 <table>
40 <tr>
41 <td valign="middle"><label for="ac">Access Code</label></td>
42 <td valign="middle"><input id="ac" type="password" placeholder="Access Code" autofocus required></td>
43 </tr>
44 <tr>
45 <td valign="middle"><label for="vc">Verify Code</label></td>
46 <td valign="middle"><input id="vc" type="password" placeholder="Verify Code" required></td>
47 </tr>
48 <tr>
49 <td>&nbsp;</td>
50 <td><label for="cvc">Change Verify Code</label><input id="cvc" value="cvc" type="checkbox"></td>
51 </tr>
52 </table>
53 </fieldset>
54 <div id="error">
55 </div>
56 <fieldset id="actions">
57 <input type="submit" name="submit" id="submit" value="Sign On" action="so^ewdu" nextpage="menu">
58 <a href="">Help</a>
59 </fieldset>
60 </form>
61 </body>
62</html>
Note: See TracBrowser for help on using the repository browser.