Skip to content

Commit

Permalink
login page change #2
Browse files Browse the repository at this point in the history
  • Loading branch information
gmltnz committed Dec 4, 2017
1 parent 0a05aa1 commit 9667be9
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 49 deletions.
77 changes: 34 additions & 43 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions TwisWeb/static/css/login_register.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ div .form-set {
font-weight: normal;
}
.form-login-register .form-control {
position: relative;
height: auto;
width: auto;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 10px;
Expand All @@ -39,14 +39,13 @@ div .form-set {
}
.form-login-register .input_ID {
margin-bottom: -1px;
width: auto;
width: 70%;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.form-login-register .input_password {
margin-bottom: 10px;
margin-left: 10px;
width: auto;
width: 70%;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
4 changes: 2 additions & 2 deletions TwisWeb/templates/registration/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ <h2 class="form-login-register-heading">Please sign in</h2>

{% load widget_tweaks %}
<fieldset class="aligned">
<div class="form-login-register">
<div class="form-control">
{{ form.username.label_tag }}
{{ form.username|add_class:"input_ID" }}
</div>
<div class="form-login-register ">
<div class="form-control ">
{{ form.password.label_tag }}
{{ form.password|add_class:"input_password" }}
</div>
Expand Down

0 comments on commit 9667be9

Please sign in to comment.