Project

General

Profile

« Previous | Next » 

Revision 8376

Added by Jing Tao about 11 years ago

Use java script in the index.html to create the page. So the account skin doesn't involve any java classes.

View differences:

index.html
1
<!-- *  Does a redirect to jsp index page * -->
2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1

  
2
<!--
3
/**
4
 *  '$RCSfile$'
5
 *    Copyright: 2004 Regents of the University of California and the
6
 *               National Center for Ecological Analysis and Synthesis
7
 *  For Details: http://www.nceas.ucsb.edu/
8
 *
9
 *   '$Author: daigle $'
10
 *     '$Date: 2008-07-06 21:25:34 -0700 (Sun, 06 Jul 2008) $'
11
 * '$Revision: 4080 $'
12
 * 
13
 * This is an HTML document for displaying metadata catalog tools
14
 *
15
 * This program is free software; you can redistribute it and/or modify
16
 * it under the terms of the GNU General Public License as published by
17
 * the Free Software Foundation; either version 2 of the License, or
18
 * (at your option) any later version.
19
 *
20
 * This program is distributed in the hope that it will be useful,
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 * GNU General Public License for more details.
24
 *
25
 * You should have received a copy of the GNU General Public License
26
 * along with this program; if not, write to the Free Software
27
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
 */
29
-->
30

  
31

  
32
   
33
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 34
<html>
4 35
<head>
5
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6
    <script language="JavaScript">
7
        function doRedirectWithParams() {   
8
                   document.location.href="./index.jsp";
9
                       }
10
  </script>
11
  </head>
12
  <body>
13
    <script language="JavaScript">doRedirectWithParams()</script></body></html>
36
<title>Account Management</title>
37
  <link rel="stylesheet" type="text/css" 
38
        href="account.css"></link>
39
  <script language="JavaScript" type="text/JavaScript"
40
          src="account.js"></script>
41
  <script language="JavaScript" type="text/JavaScript"
42
          src="../../common/branding.js"></script>
43
</head>
44
<body>
45
      <script language="JavaScript">
46
          insertTemplateOpening(CONTEXT_URL);
47
      </script>
48
<table width="760" border="0" cellspacing="0" cellpadding="0">
49
  <tr><td colspan="5">
50

  
51
<p>The <b>Account Manager</b> is used to manage your preferences regarding your
52
NCEAS account. Currently you can create a new account, lookup your account if your have
53
forgotten your account name, change your password if you
54
know your previous password, and if you have forgotten your password,
55
you can reset it to a new value that will be emailed to the address on 
56
record for the account.</p>
57

  
58

  
59
<br><br>
60
<tr><td colspan="5">
61
<b>Choose an action:</b>
62

  
63
    <ul>
64
        <li><script type="text/javascript">document.write('<a href="'+CGI_URL+'/ldapweb.cgi?cfg=account">Create a new account</a>');</script>
65
        <li><script type="text/javascript">document.write('<a href="'+CGI_URL+'/ldapweb.cgi?cfg=account&amp;stage=lookupname">Lookup your account</a>');</script>
66
        <li><script type="text/javascript">document.write('<a href="'+CGI_URL+'/ldapweb.cgi?cfg=account&amp;stage=changepass">Change your password</a>');</script>
67
        <li><script type="text/javascript">document.write('<a href="'+CGI_URL+'/ldapweb.cgi?cfg=account&amp;stage=resetpass">Reset your password</a>');</script>
68
    </ul>
69
</td>
70
</tr>
71
</table>
72

  
73
<script language="JavaScript">          
74
    insertTemplateClosing(CONTEXT_URL);
75
</script>
76
</body>
77
</html>

Also available in: Unified diff