|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- = extends "layout.html"
-
- = block title
- Home
- = endblock
-
- = block head
- {{ assets.tag("lib/jqueryui.custom.min.css") }}
- {{ assets.tag("lib/jquery.min.js") }}
- {{ assets.tag("lib/jquery-ui.min.js") }}
- {{ assets.tag("lib/typeahead.bundle.min.js") }}
-
- {{ assets.tag("index.css") }}
-
- <script>
- TYPEAHEAD_LANGUAGES = {{ typeahead_languages | safe }};
- </script>
- = endblock
-
- = block body
- <div id="search-field">
- <div id="title">
- <span id="title-bit">bit</span
- ><span id="title-angle">«</span
- ><span id="title-shift">shift</span>
- </div>
-
- <form id="search-bar">
- <input type="text" name="query"
- ><button id="advanced-search">Advanced search</button>
-
- <div id="advanced-search">
- <!-- Tags are closed on the following line to remove whitespace between divs. -->
- <div id="col1">
- + Add group <!-- Placeholder. -->
- </div><div id="col2">
- <div id="upper-half">
- <div id="col1">
- <ul>
- <li>
- <label for="languages">Languages</label>
- <input class="typeahead" type="text" name="languages" id="languages"><br>
- </li>
-
- <li>
- <label for="authors">Authors</label>
- <input type="text" name="authors" id="authors"><br>
- </li>
- </ul>
- </div><div id="col2">
- <ul>
- <li>
- <label for="date-last-modified">Date last modified</label>
- <input type="text" name="date-last-modified" id="date-last-modified">
- </li>
-
- <li>
- <label for="date-created">Date created</label>
- <input type="text" name="date-created" id="date-created">
- </li>
- </ul>
- </div>
- </div>
-
- <div id="lower-half">
- <ul>
- <li>
- <label for="symbols">Symbols</label>
- <input class="typeahead" type="text" name="symbols" id="symbols"><br>
- </li>
-
- <li>
- <label for="functions">Functions</label>
- <input type="text" name="functions" id="functions"><br>
- </li>
-
- <li>
- <label for="classes">Classes</label>
- <input type="text" name="classes" id="classes"><br>
- </li>
-
- <li>
- <label for="variables">Variables</label>
- <input type="text" name="variables" id="variables"><br>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </form>
- </div>
-
- <div id="results"></div>
-
- {{ assets.tag("index.js") }}
- = endblock
|