download-ddr.swp
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<html xmlns:npd="http://www.reportinghub.no/schema/npd#">
<head>
<title>ReportingHub - Download DDR</title>
<link rel="stylesheet" type="text/css" href="lib/rh/rh.css" />
<link rel="stylesheet" type="text/css" href="lib/rh/jquery/jquery-ui.css" />
<script type="text/javascript" src="lib/rh/jquery/jquery.js"></script>
<script type="text/javascript" src="lib/rh/jquery/jquery-ui.js"></script>
</head>
<body>
<rhswp:Header />
<h3>Download a Daily Drilling Report</h3>
<form action="ddrFileDownload">
Well Bore:<br />
<select size="15">
<ui:forEach ui:resultSet="{#
SELECT ?well ?wellName
WHERE {
GRAPH <https://www.reportinghub.no/data/npd> {
?well a npd:Well .
?well npd:name ?wellName .
}
} ORDER BY ?wellName
}">
<optgroup label="{= ?wellName }">
<ui:forEach ui:resultSet="{#
SELECT ?wellBore ?wellBoreName
WHERE {
GRAPH <https://www.reportinghub.no/data/npd> {
?wellBore npd:partOfWell ?well .
?wellBore npd:name ?wellBoreName .
}
} ORDER By ?wellBoreName
}">
<option value="{= xsd:string(?wellBore) }">{= ?wellBoreName }</option>
</ui:forEach>
</optgroup>
</ui:forEach>
</select>
<br /><br />
Date: <input type="text" id="datepicker" />
<script>
$(function() {
$("#datepicker").datepicker();
});
</script>
<input type="submit" value="Download" />
</form>
</body>
</html>