A semantic search engine for source code https://bitshift.benkurtovic.com/
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

97 righe
2.7 KiB

  1. = extends "layout.html"
  2. = block title
  3. Home
  4. = endblock
  5. = block head
  6. {{ assets.tag("lib/jqueryui.custom.min.css") }}
  7. {{ assets.tag("lib/jquery.min.js") }}
  8. {{ assets.tag("lib/jquery-ui.min.js") }}
  9. {{ assets.tag("lib/typeahead.bundle.min.js") }}
  10. {{ assets.tag("index.css") }}
  11. <script>
  12. TYPEAHEAD_LANGUAGES = {{ typeahead_languages | safe }};
  13. </script>
  14. = endblock
  15. = block body
  16. <div id="search-field">
  17. <div id="title">
  18. <span id="title-bit">bit</span
  19. ><span id="title-angle">&laquo;</span
  20. ><span id="title-shift">shift</span>
  21. </div>
  22. <form id="search-bar">
  23. <input type="text" name="query"
  24. ><button id="advanced-search">Advanced search</button>
  25. <div id="advanced-search">
  26. <!-- Tags are closed on the following line to remove whitespace between divs. -->
  27. <div id="col1">
  28. + Add group <!-- Placeholder. -->
  29. </div><div id="col2">
  30. <div id="upper-half">
  31. <div id="col1">
  32. <ul>
  33. <li>
  34. <label for="languages">Languages</label>
  35. <input class="typeahead" type="text" name="languages" id="languages"><br>
  36. </li>
  37. <li>
  38. <label for="authors">Authors</label>
  39. <input type="text" name="authors" id="authors"><br>
  40. </li>
  41. </ul>
  42. </div><div id="col2">
  43. <ul>
  44. <li>
  45. <label for="date-last-modified">Date last modified</label>
  46. <input type="text" name="date-last-modified" id="date-last-modified">
  47. </li>
  48. <li>
  49. <label for="date-created">Date created</label>
  50. <input type="text" name="date-created" id="date-created">
  51. </li>
  52. </ul>
  53. </div>
  54. </div>
  55. <div id="lower-half">
  56. <ul>
  57. <li>
  58. <label for="symbols">Symbols</label>
  59. <input class="typeahead" type="text" name="symbols" id="symbols"><br>
  60. </li>
  61. <li>
  62. <label for="functions">Functions</label>
  63. <input type="text" name="functions" id="functions"><br>
  64. </li>
  65. <li>
  66. <label for="classes">Classes</label>
  67. <input type="text" name="classes" id="classes"><br>
  68. </li>
  69. <li>
  70. <label for="variables">Variables</label>
  71. <input type="text" name="variables" id="variables"><br>
  72. </li>
  73. </ul>
  74. </div>
  75. </div>
  76. </div>
  77. </form>
  78. </div>
  79. <div id="results"></div>
  80. {{ assets.tag("index.js") }}
  81. = endblock