A semantic search engine for source code https://bitshift.benkurtovic.com/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

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