Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
oxigraph/cli/templates/query.html

27 lines
907 B

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Oxigraph server</title>
<link href="https://unpkg.com/@triply/yasgui@4/build/yasgui.min.css" rel="stylesheet" type="text/css" />
<script src="https://unpkg.com/@triply/yasgui@4/build/yasgui.min.js"></script>
<link rel="icon" type="image/svg+xml" href="/logo.svg">
</head>
<body>
<div id="yasgui"></div>
<script>
const url = window.location.href.endsWith('/') ? window.location.href.slice(0, -1) : window.location.href;
new Yasgui(document.getElementById("yasgui"), {
requestConfig: { endpoint: url + "/query" },
endpointCatalogueOptions: {
getData: function () {
return [
{ endpoint: url + "/query" },
{ endpoint: url + "/update" },
];
},
keys: [],
}
});
</script>
</body>