diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-02-22 21:56:19 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-02-22 21:56:19 +0100 |
commit | d32c2ad1b916dc1dcb4703433d70f822d67f6f9d (patch) | |
tree | 376f242d716912bd9878654f73e846fee2555022 /templates | |
parent | 5bc5f638680a9faae2f1bc3309b0b0f998e6884d (diff) |
prepare account support
Diffstat (limited to 'templates')
-rw-r--r-- | templates/login.html.ep | 18 | ||||
-rw-r--r-- | templates/register.html.ep | 38 |
2 files changed, 56 insertions, 0 deletions
diff --git a/templates/login.html.ep b/templates/login.html.ep new file mode 100644 index 0000000..b9b79eb --- /dev/null +++ b/templates/login.html.ep @@ -0,0 +1,18 @@ +<div class="row"> + <form class="col s12"> + <div class="row"> + <div class="input-field col s12"> + <i class="material-icons prefix">account_circle</i> + <input id="user" type="text" class="validate"> + <label for="user">User</label> + </div> + </div> + <div class="row"> + <div class="input-field col s12"> + <i class="material-icons prefix">lock</i> + <input id="password" type="password" class="validate"> + <label for="password">Password</label> + </div> + </div> + </form> +</div> diff --git a/templates/register.html.ep b/templates/register.html.ep new file mode 100644 index 0000000..4431330 --- /dev/null +++ b/templates/register.html.ep @@ -0,0 +1,38 @@ +<div class="row"> + %= form_for '/x/register' => (class => 'col s12', method => 'POST') => begin + <div class="row"> + <div class="input-field col l6 m12 s12"> + <i class="material-icons prefix">account_circle</i> + <input id="account" type="text" class="validate"> + <label for="account">Name</label> + </div> + <div class="input-field col l6 m12 s12"> + <i class="material-icons prefix">email</i> + <input id="email" type="email" class="validate"> + <label for="email">Mail-Adresse</label> + </div> + <div class="input-field col l6 m12 s12"> + <i class="material-icons prefix">lock</i> + <input id="password" type="password" class="validate"> + <label for="password">Passwort</label> + </div> + <div class="input-field col l6 m12 s12"> + <i class="material-icons prefix">lock</i> + <input id="password2" type="password" class="validate"> + <label for="password2">Passwort wiederholen</label> + </div> + </div> + <div class="row"> + <div class="col s3 m3 l3"> + </div> + <div class="col s6 m6 l6 center-align"> + <button class="btn waves-effect waves-light" type="submit" name="action" value="register"> + Registrieren + <i class="material-icons right">send</i> + </button> + </div> + <div class="col s3 m3 l3"> + </div> + </div> + %= end +</div> |