aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAlexandr Danilov <bitbucket@modos189.ru>2015-08-12 20:27:30 +0300
committerAlexandr Danilov <bitbucket@modos189.ru>2015-08-12 20:27:30 +0300
commit8ba913d87a1e7f5223080c4e422301561fa74467 (patch)
tree2cafbeff31751137d5b50ea725b244403190e5ad /src
parent06fdfd025ec7f81e11e22f8596752296c0105143 (diff)
downloadwallabag-8ba913d87a1e7f5223080c4e422301561fa74467.tar.gz
wallabag-8ba913d87a1e7f5223080c4e422301561fa74467.tar.zst
wallabag-8ba913d87a1e7f5223080c4e422301561fa74467.zip
improved view
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig26
-rwxr-xr-xsrc/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css4
2 files changed, 17 insertions, 13 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig
index 73abc3f8..2c513ffe 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig
@@ -23,19 +23,23 @@
23 <span class="black-text"><p>{{ flashMessage }}</p></span> 23 <span class="black-text"><p>{{ flashMessage }}</p></span>
24 {% endfor %} 24 {% endfor %}
25 25
26 <div class="input-field s12"> 26 <div class="row">
27 <label for="username">{% trans %}Username{% endtrans %}</label>
28 <input type="text" id="username" name="_username" value="{{ last_username }}" />
29 </div>
30 27
31 <div class="input-field s12"> 28 <div class="input-field col s12">
32 <label for="password">{% trans %}Password{% endtrans %}</label> 29 <label for="username">{% trans %}Username{% endtrans %}</label>
33 <input type="password" id="password" name="_password" /> 30 <input type="text" id="username" name="_username" value="{{ last_username }}" />
34 </div> 31 </div>
32
33 <div class="input-field col s12">
34 <label for="password">{% trans %}Password{% endtrans %}</label>
35 <input type="password" id="password" name="_password" />
36 </div>
37
38 <div class="input-field col s12">
39 <input type="checkbox" id="remember_me" name="_remember_me" checked />
40 <label for="remember_me">{% trans %}Keep me logged in{% endtrans %}</label>
41 </div>
35 42
36 <div class="input-field s12">
37 <input type="checkbox" id="remember_me" name="_remember_me" checked />
38 <label for="remember_me">{% trans %}Keep me logged in{% endtrans %}</label>
39 </div> 43 </div>
40 44
41 </div> 45 </div>
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css
index 9650a12b..6dd6ed55 100755
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css
@@ -100,14 +100,14 @@ nav input {
100 white-space: nowrap; 100 white-space: nowrap;
101} 101}
102 102
103.input-field input { 103.nav-panels .input-field input {
104 display: block; 104 display: block;
105 line-height: inherit; 105 line-height: inherit;
106 padding-left: 4rem !important; 106 padding-left: 4rem !important;
107 width: calc(100% - 8rem); 107 width: calc(100% - 8rem);
108} 108}
109 109
110.input-field input:focus { 110.nav-panels .input-field input:focus {
111 background-color: #fff; 111 background-color: #fff;
112 border: 0; 112 border: 0;
113 box-shadow: none; 113 box-shadow: none;