Project

General

Profile

« Previous | Next » 

Revision 7957

clean up delete data page with new style. Not sure if this is even accessible in the UI, but worth having it match the look and feel just in case.

View differences:

lib/style/common/templates/metacatui/deleteData.tmpl
13 13
				<p>
14 14
					Please enter your username, organization, and password to delete this document.
15 15
				</p>
16
			</div>	
16
			</div>
17
			
18
			<div class="row-fluid">
17 19

  
18
<form action="[% cgiPrefix %]/register-dataset.cgi" method="post">
19
  <input type="hidden" name="cfg" value="[% cfg %]">
20
  <input type="hidden" name="docid" value="[% docid %]">
21
  <input type="hidden" name="stage" value="delete_confirm"> 
22
    <table cellspacing="0" border="0" cellpadding="9" width="350" align="left">
23
        <tr class="sectbody">
24
	  <td>
25
	    <font size="-1"><b>
26
	      Username: 
27
	    </b></font></td>
28
         <td>
29
	    <input type="TEXT" name="username">
30
	  </td></tr>
31
	<tr class="sectbody">
32
	  <td>
33
	    <font size="-1"><b> 	
34
	      Organization: 
35
	    </b></font></td>
36
	  <td>
37
	    <select name="organization">
38
                <option value="NCEAS">NCEAS</option>
39
                <option value="KU">KU</option>
40
                <option value="LTER">LTER</option>
41
                <option value="OBFS">OBFS</option>
42
                <option value="OSUSB">OSUSB</option>
43
                <option value="PARC">PARC</option>
44
                <option value="PISCO">PISCO</option>
45
                <option value="SDSC">SDSC</option>
46
                <option value="UCNRS">UCNRS</option>
47
                <option value="unaffiliated">unaffiliated</option>
48
	    </select></td></tr>
49
	<tr class="sectbody">
50
	  <td>
51
	    <font size="-1"><b> 	
52
	      Password: 
53
	    </b></font>
54
          </td>
55
	  <td>
56
	    <input type="PASSWORD" name="password">
57
	  </td></tr>
58
      </table>
59
</td></tr></table>
60
<p>
61
<hr>
62
</p>
63
<table class="intro" cellspacing="0" border="0" cellpadding="9">
64
  <tr> 
65
    <td> 
66
      <font size="-1"><b>Are you sure you want to delete this document?</b></font> 
67
      <p> 
68
        <input type="SUBMIT" value="Delete document" name="deleteData">
69
        <input type="SUBMIT" value="   Cancel  " name="cancelData">
70
      </p>
71
    </td>
72
  </tr>
73
</table>
74
</form>
20
				<form action="[% cgiPrefix %]/register-dataset.cgi" method="post">
21
					<input type="hidden" name="cfg" value="[% cfg %]">
22
					<input type="hidden" name="docid" value="[% docid %]">
23
					<input type="hidden" name="stage" value="delete_confirm">
24
					
25
		    		<div class="row-fluid">
26
						<div class="span2 text-left">Username</div>
27
						<div class="span4 text-left"><input name="uid" type="text" value=""></div>
28
					</div>
29
					<div class="row-fluid">
30
						<div class="span2 text-left">Organization</div>
31
						<div class="span4 text-left">
32
							<select name="organization">
33
								<option value="" selected>&#8212; choose one &#8212;</option>
34
								<option value="NCEAS">NCEAS</option>
35
								<option value="LTER">LTER</option>
36
								<option value="KU">KU</option>
37
								<option value="OBFS">OBFS</option>
38
								<option value="OSUSB">OSUSB</option>
39
								<option value="PARC">PARC</option>
40
								<option value="PISCO">PISCO</option>
41
								<option value="SAEON">SAEON</option>
42
								<option value="SANParks">SANParks</option>
43
								<option value="SDSC">SDSC</option>
44
								<option value="UCNRS">UCNRS</option>
45
								<option value="unaffiliated">unaffiliated</option>
46
							</select>
47
						</div>
48
					</div>
49
					<div class="row-fluid">
50
						<div class="span2 text-left">Password</div>
51
						<div class="span4 text-left"><input name="password" type="password" maxlength="50"
52
							value=""></div>
53
					</div>
54
					<div class="row-fluid">
55
						<p>Are you sure you want to delete this document?</p> 
56
				        <input type="SUBMIT" value="Delete document" name="deleteData">
57
				        <input type="SUBMIT" value="   Cancel  " name="cancelData">
58
				    </div>
59
				    
60
				</form>
61
				    
62
			</div>				        
75 63

  
76 64
		</div>
77 65
	</article>

Also available in: Unified diff