Project

General

Profile

« Previous | Next » 

Revision 1475

Added by Jing Tao almost 22 years ago

Add a login page which would not go to index.html

View differences:

lib/loginonly.html
1
<!--
2
  *  '$RCSfile$'
3
  *      Authors: Matt Jones
4
  *    Copyright: 2000 Regents of the University of California and the
5
  *               National Center for Ecological Analysis and Synthesis
6
  *  For Details: http://www.nceas.ucsb.edu/
7
  *
8
  *   '$Author$'
9
  *     '$Date$'
10
  * '$Revision$'
11
  * 
12
  * This is an HTML document for login to MetaCat
13
  *
14
  * This program is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License as published by
16
  * the Free Software Foundation; either version 2 of the License, or
17
  * (at your option) any later version.
18
  *
19
  * This program is distributed in the hope that it will be useful,
20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
  * GNU General Public License for more details.
23
  *
24
  * You should have received a copy of the GNU General Public License
25
  * along with this program; if not, write to the Free Software
26
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27
-->
28
<HTML>
29
<HEAD>
30
<TITLE>MetaCat</TITLE>
31
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
32
<script language="JavaScript">
33
   function PutFocus(theForm) {
34
	theForm.username.focus()
35
   }
36
</script>
37
</HEAD>
38
<BODY class="emlbody" onLoad="PutFocus(document.forms[0]);">
39

  
40
  <P>&nbsp;
41

  
42
  <FORM ACTION="@servlet-path@" METHOD="POST">
43
    <INPUT TYPE="hidden" NAME="action" VALUE="login">
44
    <INPUT TYPE="hidden" NAME="qformat" VALUE="xml">
45
    <P>Username &nbsp;&nbsp;&nbsp;
46
    <INPUT TYPE="text" NAME="username" SIZE="15">
47
    <P>Password &nbsp;&nbsp;&nbsp;
48
    <INPUT TYPE="password" NAME="password" SIZE="15">&nbsp;&nbsp;&nbsp;
49
    <INPUT TYPE="submit" VALUE=" Login ">
50
  </FORM>
51

  
52
</BODY>
53
</HTML>
0 54

  

Also available in: Unified diff