2019-09-08 22:04:26 +02:00
|
|
|
import html from 'choo/html';
|
|
|
|
|
2019-09-09 05:56:36 +02:00
|
|
|
export const loginView = (state, emit) => {
|
2019-09-08 22:04:26 +02:00
|
|
|
return html`<section>
|
|
|
|
|
|
|
|
<article class="card">
|
|
|
|
<div class="container wide">
|
|
|
|
<label>
|
|
|
|
<span>Email</span>
|
|
|
|
<input type="email" name="email">
|
|
|
|
</label>
|
|
|
|
<label>
|
|
|
|
<span>Password</span>
|
|
|
|
<input type="password" name="password">
|
|
|
|
</label>
|
|
|
|
<input type="submit" value="Log In!">
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
</section>`;
|
|
|
|
}
|