Skip to content

Commit

Permalink
обновил readme
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrNazarov committed Dec 18, 2023
1 parent 691263d commit 5ebd0e7
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 26 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,19 @@ pre-commit install


Далее при каждом коммите у вас будет происходить автоматическая проверка

линтером, а так же будет происходить автоматическое приведение к единому стилю.


Возможен запукс Pre-commit вручную, без коммита:



```shell

pre-commit run --all-files

```

</details>


Expand Down
25 changes: 12 additions & 13 deletions adaptive_hockey_federation/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ html {
height: 159px;
font-size: 40px;
margin-left: -60px

}

.btns {
Expand Down Expand Up @@ -82,7 +82,7 @@ html {
color: #fff;
text-decoration: none;
}

}

.open-button {
Expand All @@ -99,7 +99,7 @@ html {
right: -30px;
width: 180px;
}

.form-popup {
position: fixed;
top: 50%;
Expand All @@ -109,28 +109,28 @@ html {
transform: translate(-50%, -50%);
display: none;
z-index: 999;
border-radius: 10px;
border-radius: 10px;
}

.form-container_reset {
width: 700px;
height: 400px;
padding: 10px;
background-image: url("img/forma.jpg");
justify-content: center;
text-align: center;

}

.form-container_reset input[type=text] {
width: 40%;
padding: 15px;
margin: 5px 0 22px 0;
border: none;
background: #f1f1f1;

}

.form-container_reset input[type=text]:focus {
background-color: #803e3e;
outline: none;
Expand All @@ -148,8 +148,8 @@ html {
font-size: 15px;
font-weight: bold;
display: inline;


}


Expand All @@ -159,7 +159,7 @@ html {
.form-container_reset_reset .cancel {
background-color: #64C2D1;
}

.form-container_reset .btn:hover, .open-button:hover {
opacity: 4;
}
Expand All @@ -176,4 +176,3 @@ html {
.text_inbox {
text-align: center;
}

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% if form.errors %}
{% for field in form %}
{% for error in field.errors %}
{% for field in form %}
{% for error in field.errors %}
<div class="alert alert-danger">
{{ error|escape }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion adaptive_hockey_federation/templates/main/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
{% endblock %}
{% block content %}
Главная страница
{% endblock %}
{% endblock %}
2 changes: 1 addition & 1 deletion adaptive_hockey_federation/templates/users/logged_out.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
</a>
</div>
</div>
{% endblock %}
{% endblock %}
16 changes: 8 additions & 8 deletions adaptive_hockey_federation/templates/users/login.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="ru">
<!DOCTYPE html>
<html lang="ru">
<head>
{% load static %}
{% load user_filters %}
Expand All @@ -8,7 +8,7 @@
<link rel ="stylesheet" href="{% static 'css/style.css' %}">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<script src="{% static 'js/windows.js' %}"></script>
<title> Логин</title>
<title> Логин</title>
</head>
<body>
<div class='header'>
Expand All @@ -29,7 +29,7 @@
</div>
</div>
<div class='registration-form'>
<div class="container">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-3 p-5">
{% include 'includes/forms_errors.html' %}
Expand Down Expand Up @@ -76,13 +76,13 @@ <h1>Обновить пароль</h1>
{% csrf_token %}
{% for field in form %}
<div class="form-group row my-3"
{% if field.field.required %}
{% if field.field.required %}
aria-required="true"
{% else %}
aria-required="false"
{% endif %}
>
{{ field|addclass:'form-control' }}
{{ field|addclass:'form-control' }}
</div>
{% endfor %}
<div class="btns">
Expand All @@ -92,7 +92,7 @@ <h1>Обновить пароль</h1>
<button class="open-button" type="button" onclick="openForm()">Забыли пароль</button>
</div>
</form>
</div>
</div>
<div class='btn_back'>
<button class="button_out" type="button">
<a class='text' href="https://paraicehockey.ru/">На сайт</a>
Expand All @@ -104,4 +104,4 @@ <h1>Обновить пароль</h1>
</div>
</div>
</body>
</html>
</html>

0 comments on commit 5ebd0e7

Please sign in to comment.