A semantic search engine for source code https://bitshift.benkurtovic.com/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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