A semantic search engine for source code https://bitshift.benkurtovic.com/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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/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" 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">
  27. <img src="static/img/search_bar_magnifying_glass.png">
  28. </button>
  29. <div id="advanced-search">
  30. <div id="sidebar">
  31. <div>
  32. Fields
  33. </div>
  34. <ul>
  35. <li>
  36. <input type="checkbox" id="language"/>
  37. <label for="language"><div>languages</div></label>
  38. </li>
  39. <li>
  40. <input type="checkbox" id="author"/>
  41. <label for="author"><div>authors</div></label>
  42. </li>
  43. <li>
  44. <input type="checkbox" id="modified"/>
  45. <label for="modified"><div>date last modified</div></label>
  46. </li>
  47. <li>
  48. <input type="checkbox" id="created"/>
  49. <label for="created"><div>date created</div></label>
  50. </li>
  51. <li>
  52. <input type="checkbox" id="symbol"/>
  53. <label for="symbol"><div>symbols</div></label>
  54. </li>
  55. <li>
  56. <input type="checkbox" id="function"/>
  57. <label for="function"><div>functions</div></label>
  58. </li>
  59. <li>
  60. <input type="checkbox" id="class"/>
  61. <label for="class"><div>classes</div></label>
  62. </li>
  63. <li>
  64. <input type="checkbox" id="variable"/>
  65. <label for="variable"><div>variables</div></label>
  66. </li>
  67. </ul>
  68. <button id="add-group">
  69. +
  70. </button>
  71. <div>
  72. </div>
  73. </div>
  74. <div id="search-groups">
  75. <div class="search-group">Hello, world.</div>
  76. <div class="search-group">Hello, world.</div>
  77. <div class="search-group">Hello, world.</div>
  78. <div class="search-group">Hello, world.</div>
  79. <div class="search-group">Hello, world.</div>
  80. <div class="search-group">Hello, world.</div>
  81. <div class="search-group">Hello, world.</div>
  82. <div class="search-group">Hello, world.</div>
  83. <div class="search-group">Hello, world.</div>
  84. <div class="search-group">Hello, world.</div>
  85. <div class="search-group">Hello, world.</div>
  86. </div>
  87. </div>
  88. </form>
  89. </div>
  90. <div id="results"></div>
  91. {{ assets.tag("index.js") }}
  92. = endblock