Expanded search text strings (#380)
This commit is contained in:
parent
ec4b9d5067
commit
fefb189056
|
@ -6,22 +6,22 @@
|
|||
@:base(ctx, "Search", {}, {}, {
|
||||
<h1>@i18n!(ctx.1, "Search")</h1>
|
||||
<form method="get" id="form">
|
||||
<input id="q" name="q" placeholder="Your query" type="search">
|
||||
<input id="q" name="q" placeholder="Your search query" type="search">
|
||||
<br/>
|
||||
<details>
|
||||
<summary>Advanced search</summary>
|
||||
@input!(ctx.1, title (text), "Title matching these words", "placeholder=\"Title\"")
|
||||
@input!(ctx.1, subtitle (text), "Subtitle matching these words", "placeholder=\"Subtitle\"")
|
||||
@input!(ctx.1, content (text), "Content matching these words", "placeholder=\"Content\"")
|
||||
@input!(ctx.1, title (text), "Article title matching these words", "placeholder=\"Title\"")
|
||||
@input!(ctx.1, subtitle (text), "Subtitle matching these words", "placeholder=\"Subtitle - byline\"")
|
||||
@input!(ctx.1, content (text), "Content matching these words", "placeholder=\"Body content\"")
|
||||
@input!(ctx.1, after (date), "From this date", &format!("max={}", now))
|
||||
@input!(ctx.1, before (date), "To this date", &format!("max={}", now))
|
||||
|
||||
@input!(ctx.1, tag (text), "Containing these tags", "placeholder=\"Tags\"")
|
||||
@input!(ctx.1, instance (text), "Posted in one of these instances", "placeholder=\"Instance domain\"")
|
||||
@input!(ctx.1, instance (text), "Posted on one of these instances", "placeholder=\"Instance domain\"")
|
||||
@input!(ctx.1, author (text), "Posted by one of these authors", "placeholder=\"Authors\"")
|
||||
@input!(ctx.1, blog (text), "Posted in one of these blogs", "placeholder=\"Blog title\"")
|
||||
@input!(ctx.1, lang (text), "Wrote in this language", "placeholder=\"Language\"")
|
||||
@input!(ctx.1, license (text), "Using this license", "placeholder=\"License\"")
|
||||
@input!(ctx.1, blog (text), "Posted on one of these blogs", "placeholder=\"Blog title\"")
|
||||
@input!(ctx.1, lang (text), "Written in this language", "placeholder=\"Language\"")
|
||||
@input!(ctx.1, license (text), "Published under this license", "placeholder=\"Article License\"")
|
||||
</details>
|
||||
<input type="submit" value="Search"/>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue