|
| 1 | +{{/* Search palette: workshop pages from /index.json, then virtualflybrain.org's |
| 2 | + pages from its own index (what its /search/ runs over), then VFB anatomy terms live |
| 3 | + from the same SOLR core the 3D browser uses (opened there). Same engine as |
| 4 | + virtualflybrain.org (themes/vfb-nova/assets/js/app.js in VFB2); the index |
| 5 | + URL carries the build time so a cached copy never outlives a rebuild. */}} |
| 6 | +<div class="palette" hidden role="dialog" aria-modal="true" aria-label="Search" |
| 7 | + data-index="{{ "/index.json" | relURL }}?v={{ now.Format "20060102150405" }}" |
| 8 | + data-remote-index="https://www.virtualflybrain.org/index.json" |
| 9 | + data-remote-base="https://www.virtualflybrain.org" |
| 10 | + data-remote-label="virtualflybrain.org" |
| 11 | + data-solr="https://solr.virtualflybrain.org/solr/ontology/select" |
| 12 | + data-browser="https://v2.virtualflybrain.org/org.geppetto.frontend/geppetto"> |
| 13 | + <div class="palette__box"> |
| 14 | + <div class="palette__field"> |
| 15 | + <i class="fas fa-magnifying-glass"></i> |
| 16 | + <input id="palette-input" type="search" autocomplete="off" spellcheck="false" |
| 17 | + placeholder="Search the workshop — sessions, setup, neurons, brain regions…" aria-label="Search query"> |
| 18 | + <kbd class="js-close-palette" role="button" tabindex="0">esc</kbd> |
| 19 | + </div> |
| 20 | + <ul class="palette__results" id="palette-results"></ul> |
| 21 | + <div class="palette__foot"> |
| 22 | + <span><kbd>↑</kbd><kbd>↓</kbd> navigate</span> |
| 23 | + <span><kbd>↵</kbd> open</span> |
| 24 | + <span style="margin-left:auto">Anatomy terms open in the <a href="https://v2.virtualflybrain.org/" target="_blank" rel="noopener">3D browser</a></span> |
| 25 | + </div> |
| 26 | + </div> |
| 27 | +</div> |
0 commit comments