Primo tentativo di SPARQL query editor (Yasgui customizzato)

This commit is contained in:
Luca Trupiano 2024-05-06 20:20:26 +02:00
parent ec44747dc8
commit fa7a90bb47
5 changed files with 2568 additions and 0 deletions

87
yasgui/index.html Normal file
View File

@ -0,0 +1,87 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/css/bootstrap4-toggle.min.css">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css">
<link rel="stylesheet" id="style2-Boot" href="../css/bootstrap.min.lida2.css">
<link rel="stylesheet" id="style2-Custom" href="../css/custom2_4.3.css">
<link rel="stylesheet" href="../css/collapsemod.css">
<link href="yasgui.mio.css" rel="stylesheet" type="text/css" />
<script src="yasgui.min.js"></script>
</head>
<body class="body-vis">
<div class="h-100 container-fluid">
<div>
<nav
class="navbar border navbar-expand-lg navbar-light bg-light justify-content-between fixed-top">
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1"
aria-controls="bs-example-navbar-collapse-1" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand font-weight-bold" href="#">LiDa</a>
<span class="navbar-brand mb-0 h1"> - SPARQL query editor - </span>
<div class="collapse navbar-collapse"
id="bs-example-navbar-collapse-1">
<ul class="navbar-nav">
<li class="nav-item dropdown pt-1">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Info
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item disabled" href="#" id="visAiuto">Aiuto</a>
<a class="dropdown-item" href="#" id="visAbout">About</a>
</div>
</li>
</ul>
<ul class="navbar-nav ml-md-auto">
<li class="nav-item pt-2">
<div class="input-group input-group-sm">
<div class="input-group-prepend">
<label class="input-group-text border-right-0 border-secondary pr-0"><ion-icon
name="search-circle"></ion-icon></label> <label
class="input-group-text text-muted border-left-0 border-secondary"
for="searchToggle">Ricerca:</label>
</div>
<input id="searchToggle" type="checkbox" data-toggle="toggle0"
data-on="Avanzata" data-off="Semplice" data-size="small"
data-style="leftBorderRadiusZero" data-onstyle="success"
data-offstyle="secondary">
</div>
</li>
</ul>
</div>
</nav>
</div>
<div id="rigaContenuti" class="row no-gutters">
<div class="d-table w-100 tableMain">
<div id="colVisualizza" class="d-table-cell tableVis bg-lida-vis border-right border-bottom border-left align-top">
<div class="distanziatore">&nbsp;</div>
<div id="yasgui"></div>
</div>
</div>
</div>
</div>
<div id="yasgui"></div>
<script>
const yasgui = new Yasgui(document.getElementById("yasgui"), {
requestConfig: { endpoint: "https://hdnlab1.isti.cnr.it/fuseki/commedia/query" },
copyEndpointOnNewTab: false,
});
</script>
</body>
</html>

1
yasgui/yasgui.min.css vendored Normal file

File diff suppressed because one or more lines are too long

3
yasgui/yasgui.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
yasgui/yasgui.min.js.map Normal file

File diff suppressed because one or more lines are too long

2476
yasgui/yasgui.mio.css Normal file

File diff suppressed because it is too large Load Diff