1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-24 13:26:08 +03:00
guide/templates/search.widget
Artyom c72815c436 Big switch to Mustache (only half-done)
* Render some elements of some pages with Mustache
* Switch to Stack
* Add a bit of tests
* Turn the project into a library
2016-08-17 11:18:57 +03:00

31 lines
486 B
Plaintext

Description
============================================================
The search bar that is shown on the top of all pages.
HTML
============================================================
<form action="/haskell">
<input
type="text"
name="q"
id="search"
placeholder="search"
value="{{query}}">
</form>
CSS
============================================================
#search {
font-size: 200%;
border: 1px solid #d0d0d0;
padding: 3px 10px;
width: 100%;
}