Revision 3418
Added by ben leinfelder over 17 years ago
lib/style/skins/sanparks/SaeonUpload.jspx | ||
---|---|---|
35 | 35 |
<jsp:scriptlet> |
36 | 36 |
clientViewHelper = ClientViewHelper.clientViewHelperInstance(request); |
37 | 37 |
</jsp:scriptlet> |
38 |
<link href="sanparks.css" rel="stylesheet" type="text/css" /> |
|
38 | 39 |
</head> |
39 |
<body> |
|
40 |
<body style="background: #FFFFFF;">
|
|
40 | 41 |
<jsp:useBean id="clientViewBean" scope="session" class="edu.ucsb.nceas.metacat.clientview.ClientView"/> |
41 | 42 |
<jsp:setProperty name="clientViewBean" property="*"/> |
42 |
<p>Data Package Upload</p> |
|
43 |
<p> |
|
43 |
|
|
44 |
<h2>Data Package Upload</h2> |
|
45 |
|
|
46 |
<p class="regtext"> |
|
47 |
Spatial metadata files (FGDC-compliant) and associated shape or raster files can be uploaded to the repository. |
|
48 |
</p> |
|
49 |
|
|
44 | 50 |
<jsp:scriptlet> |
45 | 51 |
clientViewHelper.clientRequest(request, response); |
46 | 52 |
if (clientViewHelper.isLoggedIn()) { |
47 | 53 |
</jsp:scriptlet> |
54 |
|
|
55 |
<jsp:scriptlet> |
|
56 |
if ( clientViewBean.getMessage(ClientView.UPLOAD_MESSAGE) != null) { |
|
57 |
</jsp:scriptlet> |
|
58 |
<p class="emphasis"> |
|
59 |
<jsp:expression> |
|
60 |
clientViewBean.getMessage(ClientView.UPLOAD_MESSAGE) |
|
61 |
</jsp:expression> |
|
62 |
</p> |
|
63 |
<jsp:scriptlet> |
|
64 |
} |
|
65 |
</jsp:scriptlet> |
|
66 |
|
|
48 | 67 |
<form name="uploadForm" method="post" action="SaeonUpload.jspx" enctype="multipart/form-data" onsubmit="return allowUploadSubmit(this)"> |
49 | 68 |
<input name="returnfield" type="hidden" value="distinfo/stdorder/digform/digtopt/onlinopt/computer/networka/networkr"/> |
50 | 69 |
<input name="pathExpr" type="hidden" value="/metadata/distinfo/resdesc"/> |
... | ... | |
56 | 75 |
<jsp:attribute name="value"><jsp:getProperty name="clientViewBean" property="username"/></jsp:attribute> |
57 | 76 |
</jsp:element> |
58 | 77 |
|
59 |
<table bgcolor="WhiteSmoke"> |
|
78 |
|
|
79 |
<table> |
|
60 | 80 |
<tr> |
61 | 81 |
<td colspan="2"> |
62 |
<p class="regtext">Enter the Meta Data File (required)     |
|
82 |
<h3>Metadata File <span class="regtext">(required)</span></h3> |
|
83 |
<p class="regtext">Enter the Meta Data File (*.xml)     |
|
63 | 84 |
<input name="publicAccess" type="checkbox" checked=''/> Grant public read access |
64 | 85 |
</p> |
65 | 86 |
</td> |
66 | 87 |
</tr> |
67 | 88 |
<tr> |
68 |
<td> |
|
89 |
<td colspan="2" align="right">
|
|
69 | 90 |
<input name="metaFileName" accept="xml" type="file" size="60" value="" /> |
70 | 91 |
</td> |
71 | 92 |
</tr> |
72 | 93 |
<!-- Data fields --> |
73 | 94 |
<tr> |
74 | 95 |
<td colspan="2"> |
75 |
<p class="regtext">Enter Data File 1 (optional)</p>
|
|
96 |
<h3>Supporting Data Files <span class="regtext">(optional)</span></h3>
|
|
76 | 97 |
</td> |
77 | 98 |
</tr> |
78 | 99 |
<tr> |
79 | 100 |
<td colspan="2"> |
101 |
<p class="regtext">Enter Data File 1 (*.shp)</p> |
|
102 |
</td> |
|
103 |
</tr> |
|
104 |
<tr> |
|
105 |
<td colspan="2" align="right"> |
|
80 | 106 |
<input name="dataFileName" type="file" size="60" /> |
81 | 107 |
</td> |
82 | 108 |
</tr> |
83 | 109 |
<tr> |
84 | 110 |
<td colspan="2"> |
85 |
<p class="regtext">Enter Data File 2 (optional)</p>
|
|
111 |
<p class="regtext">Enter Data File 2 (*.dbf)</p>
|
|
86 | 112 |
</td> |
87 | 113 |
</tr> |
88 | 114 |
<tr> |
89 |
<td colspan="2"> |
|
115 |
<td colspan="2" align="right">
|
|
90 | 116 |
<input name="dataFileName" type="file" size="60" /> |
91 | 117 |
</td> |
92 | 118 |
</tr> |
93 | 119 |
<tr> |
94 | 120 |
<td colspan="2"> |
95 |
<p class="regtext">Enter Data File 3 (optional)</p>
|
|
121 |
<p class="regtext">Enter Data File 3 (*.sbx)</p>
|
|
96 | 122 |
</td> |
97 | 123 |
</tr> |
98 | 124 |
<tr> |
99 |
<td colspan="2"> |
|
125 |
<td colspan="2" align="right">
|
|
100 | 126 |
<input name="dataFileName" type="file" size="60" /> |
101 | 127 |
</td> |
102 | 128 |
</tr> |
103 | 129 |
<tr> |
104 | 130 |
<td colspan="2"> |
105 |
<p class="regtext">Enter Data File 4 (optional)</p>
|
|
131 |
<p class="regtext">Enter Data File 4 (*.idx)</p>
|
|
106 | 132 |
</td> |
107 | 133 |
</tr> |
108 | 134 |
<tr> |
109 |
<td colspan="2"> |
|
135 |
<td colspan="2" align="right">
|
|
110 | 136 |
<input name="dataFileName" type="file" size="60" /> |
111 | 137 |
</td> |
112 | 138 |
</tr> |
113 | 139 |
<tr> |
114 | 140 |
<td colspan="2"> |
115 |
<p class="regtext">Enter Data File 5 (optional)</p>
|
|
141 |
<p class="regtext">Enter Data File 5 (*.XXX)</p>
|
|
116 | 142 |
</td> |
117 | 143 |
</tr> |
118 | 144 |
<tr> |
119 |
<td colspan="2"> |
|
145 |
<td colspan="2" align="right">
|
|
120 | 146 |
<input name="dataFileName" type="file" size="60" /> |
121 | 147 |
</td> |
122 | 148 |
</tr> |
123 | 149 |
<tr> |
150 |
<td colspan="2" align="center"> |
|
151 |
<br/> |
|
152 |
</td> |
|
153 |
</tr> |
|
154 |
<tr> |
|
124 | 155 |
<td align="left"> |
125 |
<span class="regtext"><jsp:expression>clientViewBean.getMessage(ClientView.UPLOAD_MESSAGE)</jsp:expression></span> |
|
156 |
<span class="regtext"> |
|
157 |
<jsp:expression> |
|
158 |
clientViewBean.getMessage(ClientView.UPLOAD_MESSAGE) |
|
159 |
</jsp:expression> |
|
160 |
</span> |
|
126 | 161 |
</td> |
127 | 162 |
<td align="right"> |
128 | 163 |
<input name="action" value="Upload" type="submit" class="button_login"/> |
... | ... | |
134 | 169 |
<jsp:scriptlet> |
135 | 170 |
} else { |
136 | 171 |
</jsp:scriptlet> |
137 |
<span class="regtext"> |
|
172 |
|
|
173 |
<p class="emphasis"> |
|
138 | 174 |
You must be logged into your user account before uploading a data set. |
139 |
</span> |
|
175 |
</p> |
|
176 |
|
|
140 | 177 |
<jsp:scriptlet> |
141 | 178 |
} |
142 | 179 |
</jsp:scriptlet> |
180 |
|
|
143 | 181 |
<p class="regtext"> |
144 | 182 |
<form action="SaeonLogin.jspx"> |
145 | 183 |
<button name="action" type="submit" class="button_login"> |
146 |
<img alt="back" src="images/left_arrow.gif" align="middle"/>Back
|
|
184 |
< Back
|
|
147 | 185 |
</button> |
148 | 186 |
</form> |
149 | 187 |
</p> |
150 |
</p> |
|
151 | 188 |
</body> |
152 | 189 |
</html> |
153 | 190 |
</jsp:root> |
Also available in: Unified diff
changed to new sanparks L+F.
moved error/success msgs to top of screen