fix(web): breadcrumb on 404, field placeholders
This commit is contained in:
parent
78d6f425e3
commit
634fc2c7c1
2 changed files with 4 additions and 3 deletions
|
@ -85,6 +85,7 @@ pub fn App() -> impl IntoView {
|
||||||
<Router // TODO maybe set base="/web" ?
|
<Router // TODO maybe set base="/web" ?
|
||||||
trailing_slash=TrailingSlash::Redirect
|
trailing_slash=TrailingSlash::Redirect
|
||||||
fallback=move || view! {
|
fallback=move || view! {
|
||||||
|
<Breadcrumb back=true >404</Breadcrumb>
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<h3>nothing to see here!</h3>
|
<h3>nothing to see here!</h3>
|
||||||
<p><a href="/web"><button type="button">back to root</button></a></p>
|
<p><a href="/web"><button type="button">back to root</button></a></p>
|
||||||
|
|
|
@ -12,7 +12,7 @@ pub fn Navigator() -> impl IntoView {
|
||||||
<table class="align">
|
<table class="align">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="w-100">
|
<td class="w-100">
|
||||||
<input type="text" class="w-100" on:input=move |ev| {
|
<input type="text" placeholder="search" class="w-100" on:input=move |ev| {
|
||||||
set_query.set(event_target_value(&ev))
|
set_query.set(event_target_value(&ev))
|
||||||
} />
|
} />
|
||||||
</td>
|
</td>
|
||||||
|
@ -90,12 +90,12 @@ pub fn PostBox(advanced: WriteSignal<bool>) -> impl IntoView {
|
||||||
}
|
}
|
||||||
<table class="align w-100">
|
<table class="align w-100">
|
||||||
<tr>
|
<tr>
|
||||||
<td><input type="checkbox" on:input=move |ev| advanced.set(event_target_checked(&ev)) title="advanced" /></td>
|
<td><input type="checkbox" on:input=move |ev| advanced.set(event_target_checked(&ev)) title="toggle advanced controls" /></td>
|
||||||
<td class="w-100"><input class="w-100" type="text" node_ref=summary_ref title="summary" /></td>
|
<td class="w-100"><input class="w-100" type="text" node_ref=summary_ref title="summary" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<textarea rows="6" class="w-100" node_ref=content_ref title="content" ></textarea>
|
<textarea rows="6" class="w-100" node_ref=content_ref title="content" placeholder="\n look at nothing\n what do you see?" ></textarea>
|
||||||
|
|
||||||
<table class="align rev w-100">
|
<table class="align rev w-100">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in a new issue