|
- = 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" class="partly-visible">
- <a id="title" href="/">
- <div id="title">
- <span id="title-bit">bit</span
- ><span id="title-angle">«</span
- ><span id="title-shift">shift</span>
- </div>
- </a>
-
- <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">
- <div id="sidebar">
- <div>Fields</div>
- <ul>
- <li><button id="language">languages</button></li>
- <li><button id="author">authors</button></li>
- <li><button id="modified">date last modified</button></li>
- <li><button id="created">date created</button></li>
- <li><button id="symbol">symbols</button></li>
- <li><button id="function">functions</button></li>
- <li><button id="class">classes</button></li>
- <li><button id="variable">variables</button></li>
- </ul>
- <button id="add-group">
- Add group.
- </button>
- </div>
- <div id="search-groups">
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- <div class="search-group">Hello, world.</div>
- </div>
- </div>
- </form>
- </div>
-
- <div id="results"></div>
-
- {{ assets.tag("index.js") }}
- = endblock
|