A semantic search engine for source code https://bitshift.benkurtovic.com/
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

index.html 2.8 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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" title="advanced search">
  25. <img src="static/img/search_bar_magnifying_glass.png">
  26. </button>
  27. <div id="advanced-search">
  28. <!-- Tags are closed on the following line to remove whitespace between divs. -->
  29. <div id="col1">
  30. + Add group <!-- Placeholder. -->
  31. </div><div id="col2">
  32. <div id="upper-half">
  33. <div id="col1">
  34. <ul>
  35. <li>
  36. <label for="languages">Languages</label>
  37. <input class="typeahead" type="text" name="languages" id="languages"><br>
  38. </li>
  39. <li>
  40. <label for="authors">Authors</label>
  41. <input type="text" name="authors" id="authors"><br>
  42. </li>
  43. </ul>
  44. </div><div id="col2">
  45. <ul>
  46. <li>
  47. <label for="date-last-modified">Date last modified</label>
  48. <input type="text" name="date-last-modified" id="date-last-modified">
  49. </li>
  50. <li>
  51. <label for="date-created">Date created</label>
  52. <input type="text" name="date-created" id="date-created">
  53. </li>
  54. </ul>
  55. </div>
  56. </div>
  57. <div id="lower-half">
  58. <ul>
  59. <li>
  60. <label for="symbols">Symbols</label>
  61. <input class="typeahead" type="text" name="symbols" id="symbols"><br>
  62. </li>
  63. <li>
  64. <label for="functions">Functions</label>
  65. <input type="text" name="functions" id="functions"><br>
  66. </li>
  67. <li>
  68. <label for="classes">Classes</label>
  69. <input type="text" name="classes" id="classes"><br>
  70. </li>
  71. <li>
  72. <label for="variables">Variables</label>
  73. <input type="text" name="variables" id="variables"><br>
  74. </li>
  75. </ul>
  76. </div>
  77. </div>
  78. </div>
  79. </form>
  80. </div>
  81. <div id="results"></div>
  82. {{ assets.tag("index.js") }}
  83. = endblock