ricerca_avanzata.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Restore - Ricerca avanzata</title>
  6. <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  7. <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
  8. <link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
  9. <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
  10. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  11. <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.2.1.min.js"></script>
  12. <link href="css/landing-page.css" rel="stylesheet">
  13. <link href="css/advanced-search.css" rel="stylesheet">
  14. <link href="css/styles.min.css" rel="stylesheet">
  15. <link href="css/search.css" rel="stylesheet">
  16. <script src="js\advanced_search.js"></script>
  17. </head>
  18. <body>
  19. <header class="sticky-top">
  20. <nav class="navbar navbar-expand-lg navbar-light bg-white">
  21. <div class="container-fluid">
  22. <div class="navbar-brand">
  23. <img src="img/Logo.png" width="100" alt="Restore" />
  24. </div>
  25. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  26. <span class="navbar-toggler-icon"></span>
  27. </button>
  28. <div class="collapse navbar-collapse justify-content-end" id="navbarNavDropdown">
  29. <ul class="navbar-nav">
  30. <li class="nav-item">
  31. <a class="nav-link" href="index.html">Home</a>
  32. </li>
  33. <li class="nav-item">
  34. <a class="nav-link" href="progetto.html">Progetto</a>
  35. </li>
  36. <li class="nav-item active">
  37. <a class="nav-link" href="ricerca.html">Ricerca</a>
  38. </li>
  39. <!--<li class="nav-item">
  40. <a class="nav-link" href="#">Indici</a>
  41. </li>
  42. <li class="nav-item">
  43. <a class="nav-link" href="#">Percorsi</a>
  44. </li>-->
  45. <li class="nav-item">
  46. <a class="nav-link" href="standard.html">Standard</a>
  47. </li>
  48. <li class="nav-item dropdown">
  49. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Open Data</a>
  50. <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
  51. <a class="dropdown-item" href="http://dev.restore.ovi.cnr.it:8890/sparql/">Endpoint Sparql</a>
  52. <a class="dropdown-item" href="sparql.html">Query</a>
  53. </div>
  54. </li>
  55. <!--<li class="nav-item">
  56. <a class="nav-link" href="download.html">Download</a>
  57. </li>-->
  58. <li class="nav-item dropdown">
  59. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Collegamenti esterni</a>
  60. <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink1">
  61. <a class="dropdown-item" href="http://ckan.restore.ovi.cnr.it/" target="_blank">CKAN</a>
  62. <a class="dropdown-item" href="http://dev.restore.ovi.cnr.it/lodlive/" target="_blank">LOD</a>
  63. </div>
  64. </li>
  65. </ul>
  66. </div>
  67. </div>
  68. </nav>
  69. </header>
  70. <main>
  71. <section id="advanced_search_intro">
  72. <div class="container">
  73. <div class="section-small">
  74. <h1>Ricerca avanzata</h1>
  75. <p>Questa è l'interfaccia per la ricerca avanzata, dedicata a coloro i quali hanno già familiarità con i dataset del progetto e desiderano cercare una risorsa specifica.
  76. Per utilizzare al meglio la ricerca avanzata:
  77. <ul>
  78. <li><b>Seleziona la categoria della risorsa che stai cercando</b> (in caso contrario la ricerca non verrà eseguita)</li>
  79. <li>Compila sempre almeno un parametro</li>
  80. <li>Per selezionare le risorse in base alla fonte originale seleziona una collezione dall'apposito menù a tendina</li>
  81. </ul>
  82. La ricerca avanzata simula un costruttore di query. Si può selezionare un numero a scelta di parametri, allo stesso
  83. tempo più parametri si selezionano più la ricerca verrà raffinata rispetto ai risultati.
  84. </p>
  85. </div>
  86. </div>
  87. </section>
  88. <section id="advanced_search" class="masthead text-center">
  89. <div class="overlay"></div>
  90. <div id="advanced_search-options" class="container">
  91. <div id="question">
  92. <p><b>Cosa stai cercando?</b></p>
  93. </div>
  94. <div class="container-fluid">
  95. <div class="row main-search-container">
  96. <div class="col">
  97. <select id="type_selector" class="category-form-select form-control" aria-label="Tutte le Categorie">
  98. <option selected value="General">Tutte le Categorie</option>
  99. </select>
  100. </div>
  101. <div class="col">
  102. <select id="collection_selector" class="collection-form-select form-control" aria-label="Tutte le Collezioni">
  103. <option selected value="">Tutte le Collezioni</option>
  104. </select>
  105. </div>
  106. <div class="col-auto">
  107. <div id="wb_ClipArt1">
  108. <button class="btn btn-outline-light" onclick="getParameters()" type="button" id="ClipArt1" style="height:100%;">
  109. <i class="fa fa-search mr-2" aria-hidden="true"></i>
  110. Esegui la query
  111. </button>
  112. </div>
  113. </div>
  114. </div>
  115. <div class="mt-3">
  116. <div id="search-option-area">
  117. <div id="search-option-general" class="box General">
  118. <div id="drop-down-content"></div>
  119. <div>
  120. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToList()">
  121. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  122. Aggiungi parametro
  123. </button>
  124. </div>
  125. </div>
  126. <div id="search-option-person" class="box Person">
  127. <div id="drop-down-content-Person"></div>
  128. <div>
  129. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListPerson()">
  130. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  131. Aggiungi parametro
  132. </button>
  133. </div>
  134. </div>
  135. <div id="search-option-OA" class="box OA">
  136. <div id="drop-down-content-OA"></div>
  137. <div>
  138. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListOA()">
  139. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  140. Aggiungi parametro
  141. </button>
  142. </div>
  143. </div>
  144. <div id="search-option-letter" class="box Letter">
  145. <div id="drop-down-content-Letter"></div>
  146. <div>
  147. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListLetter()">
  148. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  149. Aggiungi parametro
  150. </button>
  151. </div>
  152. </div>
  153. <div id="search-option-object" class="box Object">
  154. <div id="drop-down-content-Object"></div>
  155. <div>
  156. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListObject()">
  157. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  158. Aggiungi parametro
  159. </button>
  160. </div>
  161. </div>
  162. <div id="search-option-place" class="box Place">
  163. <div id="drop-down-content-place"></div>
  164. <div>
  165. <button type="button" id="aggiungi" class="btn btn-link add" onclick="addToListPlace()">
  166. <i class="fa fa-plus mr-2" aria-hidden="true"></i>
  167. Aggiungi parametro
  168. </button>
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. </section>
  176. <section>
  177. <div class="container">
  178. <div class="section-small">
  179. <div id="box_results">
  180. <h2><span id="n_res"></span> Risultati</h2>
  181. <div class="query-results-container">
  182. <div id="Loader" class="search-loader load_small" style="display:none;"></div>
  183. <div id="query_results"></div>
  184. </div>
  185. </div>
  186. <div id="btn_dowload">
  187. <button onclick="download_table_as_csv();" class="btn btn-outline-dark"><i class="fa fa-download"></i> Download</button>
  188. </div>
  189. </div>
  190. </div>
  191. </section>
  192. </main>
  193. <footer id="footer" class="footer">
  194. <div class="container">
  195. <div class="row">
  196. <div class="col-lg-7 h-100 text-center text-lg-left my-auto">
  197. <ul class="list-inline mb-2">
  198. <li class="list-inline-item">
  199. <a href="about.html">About</a>
  200. </li>
  201. <li class="list-inline-item">&sdot;</li>
  202. <li class="list-inline-item">
  203. <a href="contatti.html">Contatti</a>
  204. </li>
  205. <li class="list-inline-item">&sdot;</li>
  206. <li class="list-inline-item">
  207. <a href="termini.html">Termini e Condizioni</a>
  208. </li>
  209. </ul>
  210. <p class="small mb-4 mb-lg-0">&copy; RESTORE 2022. All Rights Reserved.</p>
  211. </div>
  212. <div class="col-lg-5 h-100 text-center my-auto">
  213. <ul class="partner-list list-inline mb-0">
  214. <li class="list-inline-item mr-3">
  215. <a href="https://www.cnr.it/">
  216. <img class="img-logo" src="img/CNR.png" />
  217. </a>
  218. </li>
  219. <li class="list-inline-item mr-3">
  220. <a href="https://www.regione.toscana.it/">
  221. <img class="img-logo" src="img/RegioneToscana.jpg" />
  222. </a>
  223. </li>
  224. <li class="list-inline-item mr-3">
  225. <a href="https://europa.eu/">
  226. <img class="img-logo" src="img/European-Union.png" />
  227. </a>
  228. </li>
  229. <li class="list-inline-item mr-3">
  230. <a href="http://www.governo.it/">
  231. <img class="img-logo" src="img/RepubblicaItaliana.png" />
  232. </a>
  233. </li>
  234. <li class="list-inline-item mr-3">
  235. <a href="https://www.regione.toscana.it/por-fse-2014-2020">
  236. <img class="img-logo" src="img/POR-FSE-Regione-Toscana.png" />
  237. </a>
  238. </li>
  239. <li class="list-inline-item">
  240. <a href="https://giovanisi.it/">
  241. <img class="img-logo" src="img/GiovaniSi.png" />
  242. </a>
  243. </li>
  244. </ul>
  245. </div>
  246. </div>
  247. </div>
  248. </footer>
  249. <!-- Bootstrap core JavaScript -->
  250. <script src="js/utilities.js"></script>
  251. <script src="vendor/jquery/jquery.min.js"></script>
  252. <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  253. </body>
  254. </html>