A semantic search engine for source code https://bitshift.benkurtovic.com/
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

index.html 3.0 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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/highlight.css") }}
  10. {{ assets.tag("index.css") }}
  11. <script>
  12. AUTOCOMPLETE_LANGUAGES = {{ autocomplete_languages | safe }};
  13. </script>
  14. = endblock
  15. = block body
  16. <div id="search-field" class="partly-visible">
  17. <a id="title" href="/">
  18. <div id="title">
  19. <span id="title-bit">bit</span
  20. ><span id="title-angle">&laquo;</span
  21. ><span id="title-shift">shift</span>
  22. </div>
  23. </a>
  24. <form id="search-bar">
  25. <input type="text" name="query"
  26. ><button id="advanced-search" title="advanced search" type="button">
  27. <img src="static/img/search_bar_magnifying_glass.png">
  28. </button>
  29. <div id="advanced-search">
  30. <div id="heading">
  31. <div id="col1">Fields</div
  32. ><div id="col2">Search groups</div>
  33. </div>
  34. <div id="sidebar">
  35. <ul>
  36. <li>
  37. <input type="checkbox" id="language" checked="true">
  38. <label for="language"><div>languages</div></label>
  39. </li>
  40. <li>
  41. <input type="checkbox" id="author">
  42. <label for="author"><div>authors</div></label>
  43. </li>
  44. <li>
  45. <input type="checkbox" id="date-last-modified">
  46. <label for="date-last-modified"><div>date last modified</div></label>
  47. </li>
  48. <li>
  49. <input type="checkbox" id="date-created">
  50. <label for="date-created"><div>date created</div></label>
  51. </li>
  52. <li>
  53. <input type="checkbox" id="symbol">
  54. <label for="symbol"><div>symbols</div></label>
  55. </li>
  56. <li>
  57. <input type="checkbox" id="function">
  58. <label for="function"><div>functions</div></label>
  59. </li>
  60. <li>
  61. <input type="checkbox" id="class">
  62. <label for="class"><div>classes</div></label>
  63. </li>
  64. <li>
  65. <input type="checkbox" id="variable">
  66. <label for="variable"><div>variables</div></label>
  67. </li>
  68. </ul>
  69. <button id="add-group">
  70. <div><span>+</span> Add</div>
  71. </button>
  72. <button id="remove-group">
  73. <div><span>-</span> Remove</div>
  74. </button>
  75. </div>
  76. <div id="search-groups">
  77. <div class="search-group" id="selected">
  78. <div id="language">
  79. <div class="name">language</div>
  80. <input id="autocomplete" class="language" name="language" type="text">
  81. <input type="checkbox" name="regex">
  82. <span class="regex">Regex</span>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </form>
  88. </div>
  89. <div id="results"></div>
  90. {{ assets.tag("index.js") }}
  91. {{ assets.tag("index.advanced-search-form.js") }}
  92. = endblock