Commit fa3a81e3 authored by Théo Labetowiez's avatar Théo Labetowiez

[CORE] - Making some front fix

parent c2b28c30
Pipeline #2033 passed with stage
in 25 minutes and 15 seconds
......@@ -1541,7 +1541,7 @@ textarea {
text-align: center;
input {
text-decoration: none;
background-color: #aed6f1;
background-color: #e6e6e6;
padding: 15px;
float: none;
color: darkslategray;
......@@ -1550,14 +1550,19 @@ textarea {
transition-duration: 0.3s;
cursor: pointer;
&:hover {
background-color: #3498DB;
background-color: #c9c9c9;
}
&:disabled {
background-color: #c9c9c9;
color: slategray;
&.current {
background-color: rgb(82, 186, 255);
}
}
}
.current {
background-color: #3498DB;
}
}
/*--------------------------------FOOTER-------------------------------*/
footer {
......
......@@ -124,7 +124,7 @@
{% endif %}
{% for i in paginator.page_range %}
{% if page_obj.number == i %}
<input type="button" value="{{ i }}" class="current" disabled>
<input type="button" value="{{ i }}" disabled class="current">
{% elif (i <= 2 + page_obj.number and i >= page_obj.number - 2) or paginator.num_pages == i or i == 1 %}
<input type="button" value="{{ i }}" onclick="window.location.href='?page={{ i }}'" >
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment