VoiceSearch.html 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <title>Restore - Ricerca</title>
  10. <link rel="icon" type="image/x-icon" href="img/icon.png">
  11. <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  12. <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
  13. <link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
  14. <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
  15. <script src="js/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  16. <script src="js/ajax/jQuery/jquery-3.2.1.min.js"></script>
  17. <script src="js/screensaver.js"></script>
  18. <script src="js/config.js"></script>
  19. <link href="css/landing-page.css" rel="stylesheet">
  20. <link href="css/styles.min.css" rel="stylesheet">
  21. <link href="css/search.css" rel="stylesheet">
  22. <script src="js/voiceSearch.js"></script>
  23. </style>
  24. </head>
  25. <body>
  26. <header class="sticky-top">
  27. <nav class="navbar navbar-expand-lg navbar-light bg-white">
  28. <div class="container-fluid">
  29. <div class="navbar-brand">
  30. <a href="index.html"><img src="img/Logo.png" width="100" alt="Restore" /></a>
  31. </div>
  32. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
  33. <span class="navbar-toggler-icon"></span>
  34. </button>
  35. <div class="collapse navbar-collapse justify-content-end" id="navbarNavDropdown">
  36. <ul id="navbar_elements" class="navbar-nav">
  37. </ul>
  38. </div>
  39. </div>
  40. </nav>
  41. </header>
  42. <div id="screensaver"></div>
  43. <main>
  44. <section id="search" class="masthead">
  45. <div class="overlay"></div>
  46. <div id="search-options" class="container">
  47. <div id="advSearch">
  48. <a href="ricerca_avanzata.html">Ricerca avanzata</a>
  49. </div>
  50. <div>
  51. <div class="input-group">
  52. <input type="text" name="TextArea1" id="TextArea1" class="form-control" placeholder="Cosa stai cercando?" aria-label="Cosa stai cercando?" aria-describedby="ClipArt1">
  53. <div class="input-group-append">
  54. <button class="btn btn-theme-primary" type="button" id="ClipArt1">
  55. <span class="fas fa-search"></span>
  56. </button>
  57. <button class="btn btn-theme-primary" type="button" id="btnVoice">
  58. <span href="#" id="start_button" onclick="startDictation(event)"><i class="fa fa-microphone" aria-hidden="true"></i></span>
  59. </button>
  60. <!--<div id="btnVoice">
  61. <a href="#" id="start_button" onclick="startDictation(event)"><i class="fa fa-microphone fa-border" aria-hidden="true"></i></a>
  62. </div>-->
  63. </div>
  64. </div>
  65. <div class="form-select-container">
  66. <div>
  67. <label for="graph_selector" class="sr-only">Example select</label>
  68. <select id="graph_selector" class="form-select">
  69. <option value="">Tutte le Risorse</option>
  70. <option value="ASPO">Archivio di Stato di Prato</option>
  71. <option value="MPP">Museo di Palazzo Pretorio di Prato</option>
  72. <option value="OVI">Opera del Vocabolario Italiano</option>
  73. </select>
  74. </div>
  75. </div>
  76. <div class="form-select-container">
  77. <div>
  78. <label for="graph_selector2" class="sr-only">Example select</label>
  79. <select id="graph_selector2" class="form-select" style="display:none;">
  80. <option selected value="">Tutte le Risorse</option>
  81. </select>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </section>
  87. <div id="results">
  88. <span style="display: none;" id="final_span" class="final"></span>
  89. <span style="display: none;" id="interim_span" class="interim"></span>
  90. </div>
  91. <section id="wb_Image1">
  92. <div class="container">
  93. <div id="wb_intro" class="section-small">
  94. <h2>Avvia la ricerca</h2>
  95. <p>Per avviare una ricerca è sufficiente inserire uno o più termini nella barra di ricerca e cliccare sul pulsante di avvio.
  96. La ricerca riguarderà l’intero dataset delle risorse (l’opzione inserita di default è "Tutte le collezioni").
  97. Chi è interessato alle risorse afferenti a una singola collezione può selezionare l’opzione di interesse utilizzando i relativi menù a tendina.
  98. Al momento le collezioni presenti nel dataset sono Archivio di Stato di Prato (ASPO), Museo di Palazzo Pretorio (MPP) e Opera del Vocabolario Italiano (OVI-CNR).
  99. I risultati appariranno suddivisi in quattro blocchi: oggetti fisici, testi collegati alle risorse, protagonisti e toponimi.
  100. </p>
  101. <p>Per ogni risultato sono disponibili dei pulsanti che permettono di approfondire l'informazione sulla risorsa.
  102. Se nessuna risorsa corrisponde ai criteri di ricerca apparirà un messaggio di errore che inviterà a modificare i criteri di ricerca.
  103. </p>
  104. </div>
  105. </div>
  106. </section>
  107. <section class="w-content section-small">
  108. <div class="container-fluid">
  109. <!-- Scheda -->
  110. <div id="myTab" class="tab"></div>
  111. <!-- Oggetti fisici -->
  112. <div class="table results container-fluid">
  113. <div class="row section_title">
  114. <div class="col">
  115. <span class="section_type">Oggetti fisici</span><br />
  116. <span class="section_desc">Documenti d'archivio, reperti museali</span>
  117. </div>
  118. <div class="col num_res">
  119. <p><span id="n_mmo"></span> Risultati</p>
  120. </div>
  121. </div>
  122. <div class="row res_list">
  123. <div class="container-fluid" id="Man-Made_Object">
  124. </div>
  125. </div>
  126. <div id="mmoLoader" class="search-loader load_small" style="display:block;"></div>
  127. </div>
  128. <!-- Oggetti informativi -->
  129. <div class="table results container-fluid">
  130. <div class="row section_title">
  131. <div class="col">
  132. <span class="section_type">Testi</span><br />
  133. <span class="section_desc">Ricerca libera sui testi</span>
  134. </div>
  135. <div class="col num_res">
  136. <p><span id="n_io"></span> Risultati</p>
  137. </div>
  138. </div>
  139. <div class="row res_list">
  140. <div class="col" id="Information_Object">
  141. </div>
  142. </div>
  143. <div id="infLoader" class="search-loader load_small" style="display:block;"></div>
  144. </div>
  145. <!-- Persone -->
  146. <div class="table results container-fluid">
  147. <div class="row section_title">
  148. <div class="col">
  149. <span class="section_type">Protagonisti</span><br />
  150. <span class="section_desc"></span>
  151. </div>
  152. <div class="col num_res">
  153. <p><span id="n_ps"></span> Risultati</p>
  154. </div>
  155. </div>
  156. <div class="row res_list">
  157. <div class="col" id="Person">
  158. </div>
  159. </div>
  160. <div id="perLoader" class="search-loader load_small" style="display:block;"></div>
  161. </div>
  162. <!-- Luoghi -->
  163. <div class="table results container-fluid">
  164. <div class="row section_title">
  165. <div class="col">
  166. <span class="section_type">Luoghi</span><br />
  167. <span class="section_desc"></span>
  168. </div>
  169. <div class="col num_res">
  170. <p><span id="n_pl"></span> Risultati</p>
  171. </div>
  172. </div>
  173. <div class="row res_list">
  174. <div class="col" id="Place">
  175. </div>
  176. </div>
  177. <div id="lgLoader" class="search-loader load_small" style="display:block;"></div>
  178. </div>
  179. <div id="wb_Text1" style="position:fixed;">
  180. <span id="wb_uid0"></span><span id="wb_uid1"><br></span>
  181. </div>
  182. <table id="wb_Shape1" class="table table-hover"></table>
  183. <div class="text-center" id="licenza" style="display:none">
  184. <img src="img/licenze/cc-zero.png" />
  185. </div>
  186. </div>
  187. </section>
  188. </main>
  189. <!-- Modal -->
  190. <div id="myModal" class="modal"></div>
  191. <footer id="footer" class="footer">
  192. </footer>
  193. <!-- Bootstrap core JavaScript -->
  194. <!-- <script src="js/query/queryMMO.js"></script>-->
  195. <script src="js/query/managerQuery.js"></script>
  196. <script src="vendor/jquery/jquery.min.js"></script>
  197. <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  198. </body>
  199. </html>