mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-22 16:16:51 +00:00
Make search results look more like /list
This commit is contained in:
parent
938a9e832d
commit
e7a53dbc22
@ -11,10 +11,10 @@
|
|||||||
.modal__title_small { font-size: 1.5rem; }
|
.modal__title_small { font-size: 1.5rem; }
|
||||||
.modal__confirmation-msg { margin: 0 0 .5rem 0; }
|
.modal__confirmation-msg { margin: 0 0 .5rem 0; }
|
||||||
|
|
||||||
.hypha-list { padding-left: 0; }
|
.hypha-list, .primitive-search__results { padding-left: 0; }
|
||||||
.hypha-list__entry { list-style-type: none; }
|
.hypha-list__entry, .primitive-search__entry { list-style-type: none; }
|
||||||
.hypha-list__link { text-decoration: none; display: inline-block; padding: .25rem; }
|
.hypha-list__link, .primitive-search__link { text-decoration: none; display: inline-block; padding: .25rem; }
|
||||||
.hypha-list__link:hover { text-decoration: underline; }
|
.hypha-list__link:hover, .primitive-search__link:hover { text-decoration: underline; }
|
||||||
.hypha-list__amnt-type { font-size: smaller; color: #999; }
|
.hypha-list__amnt-type { font-size: smaller; color: #999; }
|
||||||
|
|
||||||
/* General element positions, from small to big */
|
/* General element positions, from small to big */
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
<ul class="primitive-search__results">
|
<ul class="primitive-search__results">
|
||||||
{% for hyphaName := range generator(query) %}
|
{% for hyphaName := range generator(query) %}
|
||||||
<li class="primitive-search__entry">
|
<li class="primitive-search__entry">
|
||||||
<a class="primitive-search__link wikilink" href="/hypha/{%s hyphaName %}">{%s hyphaName %}</a>
|
<a class="primitive-search__link wikilink" href="/hypha/{%s hyphaName %}">{%s util.BeautifulName(hyphaName) %}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</main>
|
</main>
|
||||||
|
@ -160,7 +160,7 @@ func StreamPrimitiveSearchHTML(qw422016 *qt422016.Writer, query string, generato
|
|||||||
//line views/stuff.qtpl:53
|
//line views/stuff.qtpl:53
|
||||||
qw422016.N().S(`">`)
|
qw422016.N().S(`">`)
|
||||||
//line views/stuff.qtpl:53
|
//line views/stuff.qtpl:53
|
||||||
qw422016.E().S(hyphaName)
|
qw422016.E().S(util.BeautifulName(hyphaName))
|
||||||
//line views/stuff.qtpl:53
|
//line views/stuff.qtpl:53
|
||||||
qw422016.N().S(`</a>
|
qw422016.N().S(`</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user