Showing
3 changed files
with
39 additions
and
7 deletions
| 1 | -<html> | 1 | +<html xmlns:npd="http://www.reportinghub.no/schema/npd#"> |
| 2 | <head> | 2 | <head> |
| 3 | <title>ReportingHub - Download DDR</title> | 3 | <title>ReportingHub - Download DDR</title> |
| 4 | <link rel="stylesheet" type="text/css" href="lib/rh/rh.css" /> | 4 | <link rel="stylesheet" type="text/css" href="lib/rh/rh.css" /> |
| ... | @@ -13,13 +13,44 @@ | ... | @@ -13,13 +13,44 @@ |
| 13 | <rhswp:Header /> | 13 | <rhswp:Header /> |
| 14 | 14 | ||
| 15 | <h3>Download a Daily Drilling Report</h3> | 15 | <h3>Download a Daily Drilling Report</h3> |
| 16 | - <p> | 16 | + <form action="ddrFileDownload"> |
| 17 | + | ||
| 18 | + Well Bore:<br /> | ||
| 19 | + <select size="15"> | ||
| 20 | + <ui:forEach ui:resultSet="{# | ||
| 21 | + SELECT ?well ?wellName | ||
| 22 | + WHERE { | ||
| 23 | + GRAPH <https://www.reportinghub.no/data/npd> { | ||
| 24 | + ?well a npd:Well . | ||
| 25 | + ?well npd:name ?wellName . | ||
| 26 | + } | ||
| 27 | + } ORDER BY ?wellName | ||
| 28 | + }"> | ||
| 29 | + <optgroup label="{= ?wellName }"> | ||
| 30 | + <ui:forEach ui:resultSet="{# | ||
| 31 | + SELECT ?wellBore ?wellBoreName | ||
| 32 | + WHERE { | ||
| 33 | + GRAPH <https://www.reportinghub.no/data/npd> { | ||
| 34 | + ?wellBore npd:partOfWell ?well . | ||
| 35 | + ?wellBore npd:name ?wellBoreName . | ||
| 36 | + } | ||
| 37 | + } ORDER By ?wellBoreName | ||
| 38 | + }"> | ||
| 39 | + <option value="{= xsd:string(?wellBore) }">{= ?wellBoreName }</option> | ||
| 40 | + </ui:forEach> | ||
| 41 | + </optgroup> | ||
| 42 | + </ui:forEach> | ||
| 43 | + </select> | ||
| 44 | + <br /><br /> | ||
| 45 | + | ||
| 17 | Date: <input type="text" id="datepicker" /> | 46 | Date: <input type="text" id="datepicker" /> |
| 18 | <script> | 47 | <script> |
| 19 | $(function() { | 48 | $(function() { |
| 20 | $("#datepicker").datepicker(); | 49 | $("#datepicker").datepicker(); |
| 21 | }); | 50 | }); |
| 22 | </script> | 51 | </script> |
| 23 | - </p> | 52 | + |
| 53 | + <input type="submit" value="Download" /> | ||
| 54 | + </form> | ||
| 24 | </body> | 55 | </body> |
| 25 | </html> | 56 | </html> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | -# Saved by TopBraid on Thu Jul 21 13:12:45 EST 2011 | 1 | +# Saved by TopBraid on Tue Jul 26 13:13:38 EST 2011 |
| 2 | # baseURI: http://www.reportinghub.no/spin/rh | 2 | # baseURI: http://www.reportinghub.no/spin/rh |
| 3 | +# imports: http://www.reportinghub.no/1.1,1/schema/ddr | ||
| 3 | # imports: http://spinrdf.org/spin | 4 | # imports: http://spinrdf.org/spin |
| 4 | 5 | ||
| 5 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| ... | @@ -13,8 +14,8 @@ | ... | @@ -13,8 +14,8 @@ |
| 13 | 14 | ||
| 14 | <http://www.reportinghub.no/spin/rh> | 15 | <http://www.reportinghub.no/spin/rh> |
| 15 | rdf:type owl:Ontology ; | 16 | rdf:type owl:Ontology ; |
| 16 | - rdfs:comment "A collection of SPIN functions to support working with the ReportingHub schemas."^^xsd:string ; | 17 | + rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ; |
| 17 | - owl:imports <http://spinrdf.org/spin> ; | 18 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/1.1,1/schema/ddr> ; |
| 18 | owl:versionInfo "0.1.0"^^xsd:string . | 19 | owl:versionInfo "0.1.0"^^xsd:string . |
| 19 | 20 | ||
| 20 | rhspin:userName | 21 | rhspin:userName | ... | ... |
| 1 | -# Saved by TopBraid on Thu Jul 21 13:12:45 EST 2011 | 1 | +# Saved by TopBraid on Tue Jul 26 13:13:38 EST 2011 |
| 2 | # baseURI: null | 2 | # baseURI: null |
| 3 | 3 | ||
| 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ... | ... |
-
Please register or login to post a comment