Project

General

Profile

« Previous | Next » 

Revision 7895

use login section from login page on the data confirmation stage (even though I don't believe we allow you to enter metadata before logging in any more) . https://projects.ecoinformatics.org/ecoinfo/issues/5951

View differences:

lib/style/common/templates/metacatui/confirmData.tmpl
1 1
[% INCLUDE $templates.header %]
2 2

  
3
<!-- CONTENT SECTION
3
	<!-- CONTENT SECTION
4 4
    ======================================================================= -->
5 5
	<article id="EntryReview">
6 6
		<div class="container">
......
13 13
				<p>
14 14
					Please review the information that you've entered. To make changes, click on the edit button <a href="#buttons">at the bottom of the page</a>.
15 15
				</p>
16
			</div>	
16
			</div>
17 17

  
18 18
<table class="intro" cellpadding="3" cellspacing="0">
19 19
<tr><td align="left">
......
558 558
</td><tr></table>
559 559

  
560 560
[% IF userLoggedIn != 'true' %]
561
<table class="intro" cellspacing="0" border="0" cellpadding="9">
562
  <tr><td class="sectbody"><span class="sectionnames">SIGN IN</span></td></tr>
563
  <tr><td class="sectbody"><span class="label"><u>NOTE:</u> You must enter your username
564
      and password. This is for the protection of your metadata. The
565
      username and password will prevent any unauthorized person from
566
      modifying your metadata. If you do not have an account, click <a
567
      target="ldap" href="[% cgiPrefix %]/ldapweb.cgi?cfg=[% cfg %]">here</a>. 
568
      If you don't remember your password, you can
569
      have it reset and e-mailed to you by clicking <a target="ldap"
570
      href="[% cgiPrefix %]/ldapweb.cgi?stage=initresetpass&cfg=[% cfg %]">here</a>. If you want to 
571
      change your password, click <a target="ldap"
572
      href="[% cgiPrefix %]/ldapweb.cgi?stage=initchangepass&cfg=[% cfg %]">here</a>.
573
      </span>
574
      <table cellspacing="0" border="0" cellpadding="9" width="360" align="left">
575
        <tr>
576
	  <td>
577
	    <span class="label">
578
	      Username: 
579
	    </span></td>
580
	  <td>
581
	    <input type="TEXT" name="username"></td></tr>
582
	<tr>
583
	  <td>
584
	    <span class="label"> 	
585
	      Organization: 
586
	    </span></td>
587
	  <td>
588
	    <select name="organization">
589
	    	<option value="NCEAS">NCEAS</option>
590
	    	<option value="KU">KU</option>
591
	    	<option value="LTER">LTER</option>
592
	    	<option value="OBFS">OBFS</option>
593
	    	<option value="OSUSB">OSUSB</option>
594
	    	<option value="PARC">PARC</option>
595
	    	<option value="PISCO">PISCO</option>
596
	    	<option value="SDSC">SDSC</option>
597
	    	<option value="UCNRS">UCNRS</option>
598
	    	<option value="unaffiliated">unaffiliated</option>
599
	    </select></td></tr>
600
	<tr>
601
	  <td>
602
	    <span class="label"> 	
603
	      Password: 
604
	    </span></td>
605
	  <td>
606
	    <input type="PASSWORD" name="password">
607
	  </td></tr>
608
      </table>
609
    </td></tr>
610
</table>
611
<p>&nbsp;</p>
561

  
562
			<div class="row-fluid">
563
				<div class="span6 pagination-left">
564
					<h2>Login</h2>
565
					<p class="lead">
566
						<em>NOTE:</em> You must enter your username and password. 
567
					</p>
568
					<p>	
569
						This is for the protection of your metadata. 
570
						The username and password will prevent any unauthorized person from
571
						modifying your metadata.
572
					</p>
573
  
574
					<form method="post" action="[% cgiPrefix %]/register-dataset.cgi" onsubmit="return submitform(this);" >
575
						<input type="hidden" name="stage" value="login"> 
576
						<input type="hidden" name="username" value=""> 
577
						<input type="hidden" name="cfg" value="[%cfg%]"> 
578
					
579
						<div>
580
							<div class="row-fluid">
581
								<div class="span2 text-left">Username</div>
582
								<div class="span4 text-left"><input name="uid" type="text" value=""></div>
583
							</div>
584
							<div class="row-fluid">
585
								<div class="span2 text-left">Organization</div>
586
								<div class="span4 text-left"><select name="organization">
587
										<option value="" selected>&#8212; choose one &#8212;</option>
588
										<option value="NCEAS">NCEAS</option>
589
										<option value="LTER">LTER</option>
590
										<option value="KU">KU</option>
591
										<option value="OBFS">OBFS</option>
592
										<option value="OSUSB">OSUSB</option>
593
										<option value="PARC">PARC</option>
594
										<option value="PISCO">PISCO</option>
595
										<option value="SAEON">SAEON</option>
596
										<option value="SANParks">SANParks</option>
597
										<option value="SDSC">SDSC</option>
598
										<option value="UCNRS">UCNRS</option>
599
										<option value="unaffiliated">unaffiliated</option>
600
								</select></div>
601
							</div>
602
							<div class="row-fluid">
603
								<div class="span2 text-left">Password</div>
604
								<div class="span4 text-left"><input name="password" type="password" maxlength="50"
605
									value=""></div>
606
							</div>
607
							<div class="row-fluid">
608
								<div class="offset2 span4 text-left">
609
									<input type="submit" name="loginAction" value="Login">
610
								</div>
611
							</div>
612
						</div>
613
						
614
					</form>
615
				</div>
616
				
617
				<div class="span6 pagination-left">
618
					
619
					<div class="row-fluid">
620
						<div class="span6 text-left">
621
							<p>Don't have an account yet?</p>
622
						</div>
623
						<div class="span6 text-left">
624
							<a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]">
625
								<i class="icon-user"></i>
626
								Create a new account
627
							</a>
628
						</div>
629
					</div>
630
					
631
					<div class="row-fluid">
632
						<div class="span6 text-left">
633
							<p>Forgot your password?</p>
634
						</div>
635
						<div class="span6 text-left">							
636
							<a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">
637
								<i class="icon-key"></i>
638
								Reset your password
639
							</a>
640
						</div>
641
					</div>
642
						
643
				</div>
644
				
645
			</div>
646

  
612 647
[% END %]
613 648

  
614
<a name="buttons"></a>
615
<table class="intro" cellspacing="0" cellpadding="3" >
616
  <tr><td align="left">
617
  <p><span class="label">Is the information above correct?</span></p> 
618
      <p> 
619
        <input type="SUBMIT" value="     Yes, submit    " name="dataCorrect">
620
        <input type="SUBMIT" value="No, go back to editing" name="dataWrong">
621
      </p>
622
    </td></tr>
623
</table>
649
	<!-- form submission -->
650
	<a name="buttons"></a>
651
	<p><span class="label">Is the information above correct?</span></p> 
652
	<input type="SUBMIT" value="     Yes, submit    " name="dataCorrect">
653
	<input type="SUBMIT" value="No, go back to editing" name="dataWrong">
654

  
624 655
</form>
625 656

  
626 657
		</div>

Also available in: Unified diff