improved view

This commit is contained in:
Alexandr Danilov 2015-08-12 20:27:30 +03:00
parent 06fdfd025e
commit 8ba913d87a
2 changed files with 17 additions and 13 deletions

View file

@ -23,19 +23,23 @@
<span class="black-text"><p>{{ flashMessage }}</p></span>
{% endfor %}
<div class="input-field s12">
<label for="username">{% trans %}Username{% endtrans %}</label>
<input type="text" id="username" name="_username" value="{{ last_username }}" />
</div>
<div class="row">
<div class="input-field s12">
<label for="password">{% trans %}Password{% endtrans %}</label>
<input type="password" id="password" name="_password" />
</div>
<div class="input-field col s12">
<label for="username">{% trans %}Username{% endtrans %}</label>
<input type="text" id="username" name="_username" value="{{ last_username }}" />
</div>
<div class="input-field col s12">
<label for="password">{% trans %}Password{% endtrans %}</label>
<input type="password" id="password" name="_password" />
</div>
<div class="input-field col s12">
<input type="checkbox" id="remember_me" name="_remember_me" checked />
<label for="remember_me">{% trans %}Keep me logged in{% endtrans %}</label>
</div>
<div class="input-field s12">
<input type="checkbox" id="remember_me" name="_remember_me" checked />
<label for="remember_me">{% trans %}Keep me logged in{% endtrans %}</label>
</div>
</div>

View file

@ -100,14 +100,14 @@ nav input {
white-space: nowrap;
}
.input-field input {
.nav-panels .input-field input {
display: block;
line-height: inherit;
padding-left: 4rem !important;
width: calc(100% - 8rem);
}
.input-field input:focus {
.nav-panels .input-field input:focus {
background-color: #fff;
border: 0;
box-shadow: none;