Skip to content

Commit 51ac2fd

Browse files
committed
add important test data
1 parent a556178 commit 51ac2fd

File tree

1 file changed

+353
-0
lines changed

1 file changed

+353
-0
lines changed
Lines changed: 353 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,353 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5+
<title>Alma Request Handler - Request Details</title>
6+
<link href="/rh/css/jquery-ui.css" rel="stylesheet" type="text/css" />
7+
8+
<link href="/rh/css/ngrh.css" rel="stylesheet" type="text/css" />
9+
<link href="/rh/css/Almangrh.css" rel="stylesheet" type="text/css" />
10+
<link rel="shortcut icon" href="/rh/images/AlmaFavicon.ico" />
11+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
12+
<!-- script src="//code.jquery.com/jquery-migrate-1.2.1.js"></script -->
13+
14+
<script type="text/javascript" language="JavaScript" src="/rh/javascript/RequestDetails.js"></script>
15+
<script type="text/javascript" language="JavaScript" src="/rh/javascript/jquery-ui-1.11.1.js"></script>
16+
<script type="text/javascript" language="JavaScript" src="https://www.java.com/js/deployJava.js"></script>
17+
<script type="text/javascript" language="JavaScript" src="/rh/javascript/jquery.jeditable.mini.js"></script>
18+
<script type="text/javascript" language="JavaScript" src="/rh/javascript/jquery.popupoverlay.js"></script>
19+
<script type="text/javascript" language="JavaScript" src="/rh/javascript/requestHandler.js"></script>
20+
<script type="text/javascript" language="JavaScript" src="/rh/javascript/jquery.cookie.js"></script>
21+
22+
<script type="text/javascript" language="JavaScript">
23+
$(document).ready(function() {
24+
try {
25+
RequestDetails.init();
26+
}
27+
catch (exception) {
28+
alert(exception);
29+
}
30+
31+
// get initial state of request as delivered from view
32+
var requestState = $('#requestState').text()
33+
if ((requestState == 'READYTOWRITE') || (requestState == 'WRITINGMEDIA')) {
34+
$('#ajaxState')
35+
$('#ajaxInfo').html('Your request is being handled by our Operations team')
36+
}
37+
else if ( (requestState != 'COMPLETE') && (requestState != 'ERROR') && (requestState != 'CANCELLED')
38+
&& (requestState != 'ERRORONNOTIFY') && (requestState != 'READYFORDELIVERY') && (requestState != 'WRITINGERROR') ) {
39+
// only if initial state is not terminal, refresh state
40+
var message=''
41+
$('#ajaxInfo').html(message + 'page refreshes automatically when request is completed')
42+
$('#ajaxState').html('<img src="/rh/images/smallheart.png" />')
43+
// wait a little then refresh state using AJAX call
44+
setTimeout( "getRequestState('/rh','anonymous','801926122')", 2000)
45+
}
46+
47+
48+
// initialize edit-in-place for request description
49+
$('.inPlaceEdit').editable('/rh/requests/anonymous/801926122', {
50+
indicator : 'Saving ...',
51+
tooltip : 'Click to edit ...',
52+
submit : 'OK',
53+
cssclass : 'editable'
54+
});
55+
56+
});
57+
</script>
58+
</head>
59+
60+
<body>
61+
<div id="wrapper">
62+
<!-- header -->
63+
64+
<div id="portal-header-row">
65+
<a id="portal-header-logo" href="/rh" class="main-background-color">
66+
<img alt="ALMA" title="ASA HOME" src="/rh/images/almalogo.png" width="500" height="115" />
67+
</a>
68+
69+
<ul class="portal-siteactions left" >
70+
<li><a href="/rh/requests" class="current">Request Handler</a></li>
71+
</ul>
72+
<ul class="portal-siteactions right">
73+
<li>
74+
75+
76+
<a href="/rh/login?redirectUrl=/requests/anonymous/801926122">
77+
78+
Login</a>
79+
80+
</li>
81+
</ul>
82+
</div>
83+
84+
85+
86+
<!-- menu -->
87+
88+
<!-- breadcrump -->
89+
<div id="portal-submenu">
90+
<ul class="sub">
91+
<li>
92+
<a onfocus="this.blur()" href="/rh/requests/anonymous/recentRequests">Archive Requests</a>
93+
</li>
94+
95+
96+
<li><a onfocus="this.blur()" href="/rh/requests/anonymous/801926122">Req #801,926,122</a>
97+
98+
</li>
99+
100+
</ul>
101+
</div>
102+
103+
104+
105+
106+
<!-- END - #menu -->
107+
108+
109+
<!-- content -->
110+
<div id="content">
111+
<!-- requests details -->
112+
<h1>Request #801926122 by Anonymous User
113+
114+
<img src="/rh/images/state_complete.png" alt="COMPLETE" title="Completed"></img>
115+
116+
</h1>
117+
<div id="requestDescription" class="inPlaceEdit">ALMA </div>
118+
119+
<!-- ajax request state update info -->
120+
<span style="height:30px;width:30px;" id="ajaxState"></span>
121+
<span style="height:30px;" id="ajaxInfo"></span>
122+
<!-- hidden span to support ajax refresh -->
123+
<span id="requestState" style="display:none;">COMPLETE</span>
124+
125+
<!-- pagination -->
126+
<div id="pagination">
127+
128+
129+
</div>
130+
<!-- END #pagination -->
131+
132+
133+
<form id="fileSelectionForm" action="https://almascience.eso.org/rh/requests/anonymous/801926122/downloadFile" method="post" name="fileSelectForm">
134+
<!-- alma download type is replacing the old buttons with name downloadType
135+
Value will be set in javascript depnding on which button was pressed to select the download method
136+
-->
137+
<input type="hidden" id="downloadType" name="downloadType" />
138+
<div class="buttons">
139+
140+
<input type="checkbox" id="asdmCheckbox" onClick="checkUncheckAsdms();" /><label for="asdmCheckbox"><b><i>Include raw</i></b></label>
141+
<input id="selectAllButton" class="button" type="button" value="Select All" />
142+
<input id="deselectAllButton" class="button" type="button" value="Deselect All" />
143+
<button type="button" id="downloadButton" class="button" disabled="disabled">Download Selected</button>
144+
145+
146+
147+
</div>
148+
149+
<!-- data entities & aux files -->
150+
<table class="list" id="report" >
151+
<thead>
152+
<tr>
153+
<th colspan="5"><h2>Requested Projects / OUSets / Executionblocks</h2></th>
154+
</tr>
155+
156+
<tr>
157+
<td class="caption" colspan="3">Data entities 1-1 of 1</td>
158+
<td class="caption" colspan="3"></td>
159+
</tr>
160+
161+
<tr class="header">
162+
<th class="left">Project / OUSet / Executionblock</th>
163+
<th class="left">File</th>
164+
<th class="right">Size</th>
165+
<th>Access</th>
166+
</tr>
167+
</thead>
168+
169+
170+
<!-- list of data entities -->
171+
<tbody>
172+
173+
174+
175+
<!-- data entity hierarchy recursive display macro-->
176+
<!-- recursive_display -->
177+
178+
<!-- display start -->
179+
180+
181+
<!-- the first line contains the data entity name and the following ones file names -->
182+
<tr id="row_801927885" class="Level_0">
183+
<td width="43%" style="padding-left:0em;text-align:left" >
184+
185+
<img src="/rh/images/plus.gif" style="cursor:pointer;" onClick="expandCollapseAlma(801927885, '/rh');" />
186+
187+
188+
<input type="checkbox" id="CB_row_801927885" name="dataEntityId" onClick="checkUncheckDE(801927885);" value="801927885" />
189+
190+
<!-- data entity type if available + name without namespace -->
191+
192+
Asdm
193+
194+
uid___A002_X47bd4d_X4c7
195+
</td>
196+
<td width="36%"></td>
197+
<td width="12%"></td>
198+
<td width="9%">
199+
</td>
200+
</tr>
201+
202+
203+
<tr class="fileRow" style="display: none" >
204+
205+
<td width="43%">&nbsp;</td>
206+
207+
<td width="36%" class="left">
208+
209+
uid___A002_X47bd4d_X4c7.asdm.sdm.tar
210+
211+
</td>
212+
<td width="12%" class="right">-</td>
213+
<td width="9%" >
214+
215+
<img src="/rh/images/access_authorized.png" alt="Authorized" title="Authorized"></img>
216+
217+
</td>
218+
</tr>
219+
<!-- HIDDEN condition -->
220+
<!-- files -->
221+
222+
<!-- data entities -->
223+
224+
<!-- data entities -->
225+
226+
227+
<tr>
228+
229+
<!-- information on data entities range is indicated only if there are some data entities to be displayed. It may happen that
230+
the page only contain auxiliary files -->
231+
<td class="caption" colspan="3">Data entities 1-1 of 1</td>
232+
<td class="caption right">-</td>
233+
<td class="caption"></td>
234+
235+
</tr>
236+
</tbody>
237+
<!-- list aux files, if any -->
238+
239+
</table>
240+
</form>
241+
</div>
242+
<!-- footer -->
243+
<!-- footer -->
244+
245+
<div id="portal-footer">
246+
<table id="portal-footer-links">
247+
<tr><td>&nbsp;</td></tr>
248+
<tr><td>Copyright &copy; 2011 ALMA</td></tr>
249+
</table>
250+
<div id="portal-footer-logos">
251+
<div>ALMA, a worldwide collaboration</div>
252+
<a href="http://www.eso.org"><img src="/rh/images/alma_eso.png" alt="ESO" title="ESO" width="43" height="57" /></a>
253+
<a href="http://alma.mtk.nao.ac.jp/e/"><img src="/rh/images/alma_naoj.png" alt="NAOJ" title="NAOJ" width="85" height="57" /></a>
254+
<a href="http://www.nrao.edu"><img src="/rh/images/alma_nrao.png" alt="NRAO" title="NRAO" width="44" height="57" /></a>
255+
</div>
256+
</div>
257+
258+
259+
260+
<!-- END #footer -->
261+
262+
263+
</div>
264+
<div id="popup" class="dialogue">
265+
<button type='button' id='closeDialogueButton' class='closeButton'><img src="/rh/images/dialog-close.png"/></button>
266+
<div class="content">
267+
<h1>Choose one of the following download methods:</h1>
268+
<div>
269+
<button type="button" id="downloadScriptButton">Download Script</button>
270+
<div id="scriptExplanation">
271+
The downloads are scripted for you. You just need to execute the script
272+
from the command line. <a href="/rh/help/DownloadScript">Help</a>
273+
</div>
274+
</div>
275+
<div>
276+
<button type="button" id="downloadManagerButton">Download Manager</button>
277+
<div class="appletExplanation">
278+
ALMA's download manager is launched as a browser applet. This is a simpler, more
279+
user-friendly way to download files in parallel, allowing you to pause and resume.
280+
</div>
281+
<div class="noJavaExplanation" style="display: none;">
282+
The Java plugin is required. Either use the scripts, a third-party download manager,
283+
or install the Java plugin in your browser and reload this page.
284+
Get Java here: <a href="https://java.com/en/download/">https://java.com</a>
285+
</div>
286+
<div class="noJavaWinExplanation" style="display: none;">
287+
The appropriate Java plugin is required. Please note, Firefox requires 32-bit Java whereas
288+
for Chrome it depends which Chrome version you installed (32-bit or 64-bit). IE is not supported.
289+
Get Java here: <a href="https://java.com/en/download/">https://java.com</a>
290+
</div>
291+
<div class="oldJavaExplanation" style="display: none;">
292+
Your java version is extremely old. Not only is this a security risk, it also means
293+
that you can't use ALMA's download manager. Either use the scripts, a third-party download manager,
294+
or update the Java plugin in your browser and reload this page.
295+
Get Java here: <a href="https://java.com/en/download/">https://java.com</a>
296+
</div>
297+
<div class="safariJavaExplanation" style="display: none;">
298+
Due to security restrictions Apple has built into OSX, downloading files
299+
to your disk using the ALMA download manager with Safari or Chrome is not possible.
300+
Instead we recommend that you use Firefox or the the scripts option.
301+
</div>
302+
<div class="winChromeExplanation" style="display: none;">
303+
Using the ALMA download manager with Chrome under Windows is currently not possible.
304+
Instead we recommend that you use Firefox or the the scripts option.
305+
</div>
306+
</div>
307+
<div>
308+
<button type="button" id="downloadManagerJnlpButton">Web Start Download Manager</button>
309+
<div class="webstartExplanation">
310+
ALMA's download manager is launched as a desktop application via Java Web Start. It will
311+
not stop if you close your browser.
312+
</div>
313+
<div class="noJavaExplanation" style="display: none;">
314+
The Java plugin is required. Either use the scripts, a third-party download manager,
315+
or install the Java plugin in your browser and reload this page.
316+
Get Java here: <a href="https://java.com/en/download/">https://java.com</a>
317+
</div>
318+
<div class="noJavaWinExplanation" style="display: none;">
319+
The appropriate Java plugin is required. Please note, Firefox requires 32-bit Java whereas
320+
for Chrome it depends which Chrome version you installed (32-bit or 64-bit). IE is not supported.
321+
Get Java here: <a href="https://java.com/en/download/">https://java.com</a>
322+
</div>
323+
</div>
324+
<div>
325+
<button type="button" id="downloadFileListButton">File List</button>
326+
<div>
327+
View a text file containing a list of URLs. This is useful for using third-party download
328+
manager's such as <em>DownThemAll</em>.
329+
</div>
330+
</div>
331+
</div>
332+
</div>
333+
<div id="safariWebstartPopup" class="dialogue">
334+
<button type='button' id='closeSafariWebstartButton' class='closeButton'><img src="/rh/images/dialog-close.png"/></button>
335+
<div class="content" style="width: 60em;">
336+
<h1>Java Webstart with Safari</h1>
337+
<p style="margin-top: 1em; margin-bottom: 1em;">
338+
Due to security restrictions Apple has built into OSX, Java Web Start
339+
cannot be started automatically when used from Safari or Chrome.
340+
We recommend that you use Firefox or the scripts option instead.
341+
</p>
342+
<p style="margin-top: 1em; margin-bottom: 1em;">
343+
However, it's still possible to use our download manager by starting it
344+
from the command line and manually adding the URLs to download. Open a
345+
terminal and paste the following command:
346+
</p>
347+
<textarea readonly="true" style="padding: 1em; background-color: #eef3f5; font-family: 'Lucida Console'; width: 90%;">javaws https://almascience.eso.org/rh/jar/2015.1/EsoDownloadManager.jnlp</textarea>
348+
<br/>
349+
<button type="button" id="okSafariWebstart" style="margin-top: 2em; margin-bottom: 1em;">OK</button>
350+
</div>
351+
</div>
352+
</body>
353+
</html>

0 commit comments

Comments
 (0)