Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 24 additions & 17 deletions iqps/static/assets/formpage.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,41 +21,41 @@ html, body{
flex-direction: column;
justify-content: center;

background-color: white;
background-color:#5eff9d;

border-color: black;
border-width: 2px;
border-color: #d9d8d8;
border-width: 0px;
border-style: solid;

padding-left: 30px;
padding-right: 30px;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 14px;
padding-right: 14px;
padding-top: 36px;
padding-bottom: 35px;

}

.submit-btn{
margin-top: 5px;
margin-top: 5px;
background-color: rgb(16, 165, 224);
color: rgb(210, 224, 16);
margin-top: 20px;
margin-bottom: 17px;
background-color: #0062cc;
color: rgb(255, 255, 255);
font-weight: bold;
display: block;
padding-top: 5px;
padding-bottom: 5px;
width: max-content;
margin-left: auto;
margin-right: auto;
border-width: 1px;
border-color: rgb(36, 7, 250);
border-width: 0px;
border-color: #0062cc;
outline: 0;
}

label, small, .errorlist{
font-family: Monospace;
color: red;
padding-top: 5px;
padding-bottom: 5px;
color: black;
padding-top: 12px;
padding-bottom: 18px;

list-style-type: none;
}
Expand All @@ -69,7 +69,7 @@ input{
border-width: 1px;
border-style: solid;
border-color: black;
padding-bottom: 5px;
padding-bottom: 12px;
}

.helptext{
Expand All @@ -81,3 +81,10 @@ input{
width: max-content;
margin: auto;
}

.header {
text-align: center;
}
.stext {
text-align: center;
}
5 changes: 2 additions & 3 deletions iqps/static/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ body{
margin: auto;
border-width: 2px;
border-style: solid;
border-color: rgb(8, 5, 37);
border-color: rgb(200, 200, 200);

font-size: 22px;
padding: 8px;
overflow: hidden;
Expand Down Expand Up @@ -109,5 +110,3 @@ body{
font-family: monospace;
color: navy;
}


2 changes: 1 addition & 1 deletion iqps/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>

<body>
{% block content %}{% endblock %}
{% block content %}{% endblock %}
</body>
</html>

4 changes: 2 additions & 2 deletions iqps/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
{% block content %}
{% include 'navbar.html' %}
<div class="form-group">
<h2>Login to iQPS</h2>
<h2 class="header">Login to iQPS</h2>
<form method="POST">
{% csrf_token %}
{{ form }}
<button type="submit" class="submit-btn">Login</button>
<small>Don't have an account? <a href="/accounts/register/">Register!</a></small>
<small class="stext">Don't have an account? <a href="/accounts/register/">Register!</a></small>
</form>
</div>
{% endblock %}
4 changes: 2 additions & 2 deletions iqps/templates/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
{% block content %}
{% include 'navbar.html' %}
<div class="form-group">
<h2>Register in iQPS</h2>
<h2 class="header">Register in iQPS</h2>

<form method="POST">
{% csrf_token %}
{{ form }}
<button type="submit" class="submit-btn">Register</button>
<small>Already have an account? <a href="/accounts/login/">Login</a>
<small class="stext">Already have an account? <a href="/accounts/login/">Login</a>
</form>
</div>
{% endblock %}