Commit 4011e26be4a95a62e3fb306cf011b87183a82601
1 parent
d457ad87
Exists in
master
and in
2 other branches
Fix'd login buttons issue
Showing
1 changed file
with
8 additions
and
8 deletions
Show diff stats
users/templates/users/login.html
... | ... | @@ -59,14 +59,14 @@ |
59 | 59 | <div class="row"> |
60 | 60 | <div class="col-lg-10 col-md-10 col-sm-10 col-lg-offset-1 col-md-offset-1 col-sm-offset-1"> |
61 | 61 | {% if not deny_register %} |
62 | - <div class="col-md-6 col-xs-6 col-sm-6 col-lg-6 text-center"> | |
62 | + <div class="col-md-6 col-xs-12 col-sm-12 col-lg-6 text-center"> | |
63 | 63 | <button type="submit" class="btn btn-success btn-raised btn-block" form="form-login" style="position: initial;"> {% trans 'Log in' %} </button> |
64 | 64 | </div> |
65 | - <div class="col-md-6 col-xs-6 col-sm-6 col-lg-6 text-center"> | |
65 | + <div class="col-md-6 col-xs-12 col-sm-12 col-lg-6 text-center"> | |
66 | 66 | <a class="btn btn-default btn-raised btn-block" href="{% url 'users:signup' %}" formaction="#" style="position: initial;">{% trans 'Sign Up' %}</a> |
67 | 67 | </div> |
68 | 68 | {% else %} |
69 | - <div class="col-md-6 col-xs-6 col-sm-6 col-lg-6 col-lg-offset-3 col-md-offset-3 col-sm-offset-3 col-xs-offset-3 text-center"> | |
69 | + <div class="col-md-6 col-xs-12 col-sm-12 col-lg-6 col-lg-offset-3 col-md-offset-3 col-sm-offset-3 col-xs-offset-3 text-center"> | |
70 | 70 | <button type="submit" class="btn btn-success btn-raised btn-block" form="form-login" style="position: initial;"> {% trans 'Log in' %} </button> |
71 | 71 | </div> |
72 | 72 | {% endif %} |
... | ... | @@ -79,7 +79,7 @@ |
79 | 79 | <a class="pull-right" href="{% url 'users:forgot_pass' %}">{% trans 'Forgot your password?' %}</a> |
80 | 80 | <li class="dropdown language-selector pull-right " style="margin-top:1px;margin-right:10px;"> |
81 | 81 | {% get_current_language as LANGUAGE_CODE %} |
82 | - | |
82 | + | |
83 | 83 | <a href="#" class="dropdown-toggle hidden-sm hidden-xs" data-toggle="dropdown" data-close-others="true"> |
84 | 84 | <span >[{{LANGUAGE_CODE}}] </span> |
85 | 85 | </a> |
... | ... | @@ -87,7 +87,7 @@ |
87 | 87 | <ul class="dropdown-menu"> |
88 | 88 | {% get_available_languages as LANGUAGES %} |
89 | 89 | {% get_language_info_list for LANGUAGES as languages %} |
90 | - | |
90 | + | |
91 | 91 | {% for language in languages %} |
92 | 92 | <li {% if language.code == LANGUAGE_CODE %} |
93 | 93 | class="active" |
... | ... | @@ -139,14 +139,14 @@ |
139 | 139 | <a href="{% url 'users:forgot_pass' %}">{% trans 'Forgot your password?' %}</a> |
140 | 140 | </div> |
141 | 141 | </div> |
142 | - </div> | |
142 | + </div> | |
143 | 143 | </div> |
144 | 144 | <div class="row login_subcommands hidden-lg hidden-md"> |
145 | 145 | {% if not deny_register %} |
146 | 146 | <div class="col-sm-12 col-xs-12"> |
147 | 147 | <li class="dropdown language-selector "> |
148 | 148 | {% get_current_language as LANGUAGE_CODE %} |
149 | - | |
149 | + | |
150 | 150 | <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-close-others="true"> |
151 | 151 | <span >[{{LANGUAGE_CODE}}] </span> |
152 | 152 | </a> |
... | ... | @@ -154,7 +154,7 @@ |
154 | 154 | <ul class="dropdown-menu"> |
155 | 155 | {% get_available_languages as LANGUAGES %} |
156 | 156 | {% get_language_info_list for LANGUAGES as languages %} |
157 | - | |
157 | + | |
158 | 158 | {% for language in languages %} |
159 | 159 | <li {% if language.code == LANGUAGE_CODE %} |
160 | 160 | class="active" | ... | ... |