index.html 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="unicode">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>SEARCH PROGETTO 2023</title>
  8. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  9. <link rel="stylesheet" href="css/mystyle.css">
  10. <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
  11. <script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  12. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  13. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  14. <header>
  15. <!-- Navbar -->
  16. <nav class="navbar navbar-expand-lg navbar-light bg-white">
  17. <div class="container-fluid">
  18. <button class="navbar-toggler" type="button" data-mdb-toggle="collapse" data-mdb-target="#navbarExample01"
  19. aria-controls="navbarExample01" aria-expanded="false" aria-label="Toggle navigation">
  20. <i class="fas fa-bars"></i>
  21. </button>
  22. <div class="collapse navbar-collapse" id="navbarExample01">
  23. <ul class="navbar-nav me-auto mb-2 mb-lg-0">
  24. <li class="nav-item active">
  25. <a class="nav-link" aria-current="page" href="#">Home</a>
  26. </li>
  27. <li class="nav-item">
  28. <a class="nav-link" href="#">Il progetto 2023</a>
  29. </li>
  30. <li class="nav-item">
  31. <a class="nav-link" href="http://dariah.cnr.it/">DARIAH-IT</a>
  32. </li>
  33. <li class="nav-item">
  34. <a class="nav-link" href="http://www.ovi.cnr.it/">CNR OVI</a>
  35. </li>
  36. </ul>
  37. </div>
  38. </div>
  39. </nav>
  40. <!-- Navbar -->
  41. </header>
  42. <body>
  43. <!--<script type="text/javascript" src="js/ricerca.js"></script>-->
  44. <script type="module" src="js/index.js"></script>
  45. <div class="container">
  46. <div id="title" class="row justify-content-center align-items-center">
  47. <img id="logo" src="img/TIgrO icon.png" />
  48. <h1>Progetto 2023</h1>
  49. </div>
  50. <div id="search_form">
  51. <div id="occ_0" class="row height d-flex justify-content-center align-items-center">
  52. <div class="col search_params">
  53. <div class="row choose_param">
  54. <div class="col-5">
  55. <div class="input-group form-check">
  56. <input class="barraDiRicerca form-control" type="text" aria-label="Text input with dropdown button">
  57. <select class="flViewBy">
  58. <option value="forma" selected="selected">Forma</option>
  59. <option value="lemma">Lemma</option>
  60. </select>
  61. </div>
  62. </div>
  63. <div class="col-2">
  64. <div class="form-check">
  65. <input class="ricercaEx form-check-input" value="ricerca_espansa" type="checkbox" name="espansa" >
  66. <label class="form-check-label" for="checkbox1">
  67. Ricerca espansa
  68. </label>
  69. </div>
  70. </div>
  71. <div class="col-2">
  72. <div class="form-check">
  73. <input class="raddoppiata form-check-input" value="raddoppiata" type="checkbox" name="raddoppiata">
  74. <label class="form-check-label" for="checkbox2">
  75. Iniziale raddoppiata
  76. </label>
  77. </div>
  78. </div>
  79. <div id="mostra_altro" class="col-2">
  80. <div id="inner_altro" class="form-check">
  81. <input class="showOther form-check-input" value="mostra" type="checkbox" name="altro">
  82. <label class="form-check-label" for="showOther">
  83. Mostra <span id="mostraFormaLemma">lemmi</span>
  84. </label>
  85. </div>
  86. <div id="inner_lemmatizzato" class="form-check" style="display:none;">
  87. <input class="showLem form-check-input lemmatizzata" value="lemmatizzata" type="checkbox" name="lemmatizzata" disabled="true">
  88. <label class="form-check-label" for="showLem">
  89. Cerca solo lemmatizzate
  90. </label>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. <div id="cooccorrenze" class="row">
  98. <div class="col">
  99. <div class="input-group">
  100. <div class="input-group-prepend">
  101. <div class="btn btn-outline-secondary" id="btnGroupAddon">&#43</div>
  102. </div>
  103. <div id="add_cc">Aggiungi cooccorrenza</div>
  104. </div>
  105. </div>
  106. </div>
  107. <div id="cooccorrenze_options" class="row" style="display:none;">
  108. <div class="col">
  109. <div class="form-check">
  110. <div class="input-group mb-3">
  111. <span class="input-group-text" id="distanza_label">Distanza</span>
  112. <input type="number" id="distanza" value="10" class="form-control" id="basic-url" aria-describedby="distanza">
  113. </div>
  114. </div>
  115. </div>
  116. <div class="col">
  117. <div class="form-check">
  118. <input id="periodo" value="periodo" class="form-check-input" type="checkbox" name="periodo">
  119. <label class="form-check-label" for="periodo">
  120. Stesso periodo
  121. </label>
  122. </div>
  123. </div>
  124. <div class="col">
  125. <div class="form-check">
  126. <input id="ordinate" value="ordinate" class="form-check-input" type="checkbox" name="ordinate">
  127. <label class="form-check-label" for="ordinate">
  128. Ordinate
  129. </label>
  130. </div>
  131. </div>
  132. </div>
  133. <div id="searchBar" class="row">
  134. <!--<button id="lauchSearch" class="btn btn-primary" onclick="funzioneRicerca()">Cerca</button>-->
  135. <button id="lauchSearch" class="btn btn-primary">Cerca</button>
  136. </div>
  137. <span id="params"></span><br />
  138. <div class="row">
  139. <div id="result" class="col"></div>
  140. <div id="single-context-box" class="col-4" style="display: none;">
  141. <div class="row box" id="context-title">
  142. </div>
  143. <div class="row box addin_box" id="additional_info" style="display: none;"></div>
  144. <div class="row box" id="context-box">
  145. <div class="box-label">
  146. <h3>Contesto</h3>
  147. </div>
  148. <div class="box-text">
  149. <div id="context-text"></div>
  150. </div>
  151. </div>
  152. <div class="row box" id="notes_box" style="display: none;">
  153. <div class="box-label">
  154. <h3>Note</h3>
  155. </div>
  156. <div class="box-text">
  157. <p id="notes-text"></p>
  158. </div>
  159. </div>
  160. <div class="row box" id="associated-text-box" style="display: none;">
  161. <div class="box-label">
  162. <h3>Testi associati</h3>
  163. </div>
  164. <div class="box-text">
  165. <p id="associated-text"></p>
  166. </div>
  167. </div>
  168. </div>
  169. </div>
  170. <div class="row">
  171. <div id="navPagination"></div>
  172. </div>
  173. <!--<button id="lauchSearchContext" class="btn btn-primary" style="display:none;" onclick="checkContext()">Vai ai contesti</button>-->
  174. <button id="lauchSearchContext" class="btn btn-primary" style="display:none;">Vai ai contesti</button>
  175. </div>
  176. <div id="loader" class="loader" style="display:none;"></div>
  177. <footer>
  178. <div>
  179. <img src="img/dariah-logo.png" />
  180. </div>
  181. </footer>
  182. <script src="vendor/jquery/jquery.min.js"></script>
  183. </body>
  184. </html>