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.
|
- = 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" title="advanced search">
- <img src="static/img/search_bar_magnifying_glass.png">
- </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
|