Changeset 27984
- Timestamp:
- 2013-08-06T13:06:43+12:00 (11 years ago)
- Location:
- gs2-extensions/afrepo/trunk/src/src/html
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/afrepo/trunk/src/src/html/css/core-style.css
r27943 r27984 33 33 34 34 background: #e0e0e0; 35 font: 14px/1.6 verdana, sans-serif;35 font: 14px/1.6 arial, verdana, sans-serif; 36 36 37 37 … … 168 168 } 169 169 170 #content pre { 171 line-height: 1.1; 172 background-color: #eeeeee; 173 padding: 5px; 174 } 175 170 176 171 177 #section-navigation ul -
gs2-extensions/afrepo/trunk/src/src/html/index.php
r27943 r27984 33 33 <li class="selected"><a href="#">Home</a></li> 34 34 <li><a href="sparql.php">SPARQL</a></li> 35 <li><a href="examples.php">Examples</a></li> 35 36 <li><a href="contact.php">Contact</a></li> 36 37 </ul> -
gs2-extensions/afrepo/trunk/src/src/html/sparql.php
r27943 r27984 26 26 type: "GET", 27 27 28 /* 28 29 beforeSend: function (request) { 29 30 //request.setRequestHeader("Authority", authorizationToken); 30 31 //request.setRequestHeader("origin", "http://nema.lis.illinois.edu"); 31 32 }, 32 33 url: "<?php echo $repo->getSparqlEndpoint();?>", 34 data: { "query": $('#rdf-query').val(), "output": $('#rdf-output').val() }, 35 //processData: false, 33 */ 34 35 url: "<?php echo $repo->getSparqlEndpoint();?>", 36 data: { "query": $('#rdf-query').val(), "output": $('#rdf-output').val(), "soft-limit": $('#rdf-soft-limit').val() }, 37 //processData: false, 38 36 39 37 40 /* … … 56 59 57 60 error: function(err) { 58 alert(err.toString()); 59 if (err.status == 200) { 60 ParseResult(err); 61 } 62 else { alert('Error:' + err.responseText + ' Status: ' + err.status); } 61 //alert(err.toString()); 62 //if (err.status == 200) { 63 // ParseResult(err); 64 //} 65 //else { } 66 67 alert('Error:' + err.responseText + ' Status: ' + err.status); 63 68 } 64 69 65 70 }); 71 66 72 67 73 return false; … … 88 94 <li><a href="index.php">Home</a></li> 89 95 <li class="selected"><a href="#">SPARQL</a></li> 96 <li><a href="examples.php">Examples</a></li> 90 97 <li><a href="contact.php">Contact</a></li> 91 98 </ul> … … 110 117 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 111 118 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 119 PREFIX mo: <http://purl.org/ontology/mo/> 120 PREFIX salami: <http://nema.lis.illinois.edu/salamiEndpoint/> 112 121 113 122 SELECT * WHERE { 114 ?s ?p ?o 115 } LIMIT 10123 ?s ?p ?o. 124 } 116 125 </textarea> 117 126 <br/> … … 128 137 <span style="margin: 5px 20px 5px 20px;"> 129 138 Maximum results returned: 130 <select name="soft-limit" >139 <select name="soft-limit" id="rdf-soft-limit"> 131 140 <option>10</option> 132 141 <option>100</option> 133 142 <option>1000</option> 143 <option>10000</option> 144 <option>50000</option> 134 145 </select> 135 146 </span>
Note:
See TracChangeset
for help on using the changeset viewer.