diff --git a/filme/templates/criarconta.html b/filme/templates/criarconta.html index 173c2f8..d1d7daf 100644 --- a/filme/templates/criarconta.html +++ b/filme/templates/criarconta.html @@ -37,8 +37,17 @@ <small>{{form.email.help_text }}</small> </div> <div class="form-group"> - <input type="password" name="{{ form.password1.name }}" placeholder="Senha" required> - <small>{{form.password1.help_text }}</small> + {% if form.password1.errors %} + <input type="password" class="is-invalid" name="{{ form.password1.name }}" placeholder="Confirmação de Senha" required> + <div class="invalid-feedback"> + {% for erro in form.password1.errors %} + {{ erro }} + {% endfor %} + </div> + {% else %} + <input type="password" name="{{ form.password1.name }}" placeholder="Confirmação de Senha" required> + <small>{{form.password1.help_text }}</small> + {% endif %} </div> <div class="form-group"> {% if form.password2.errors %} diff --git a/static/css/style_base.css b/static/css/style_base.css index 8efcb15..5a0b621 100644 --- a/static/css/style_base.css +++ b/static/css/style_base.css @@ -32,6 +32,10 @@ a { align-items: center; } +.nav-logo img{ + widows: 145px; + height: 40px; +} .nav-btn { padding: 0.1rem 0.4rem; border: 1px solid rgb(255, 0, 0); diff --git a/static/images/hashflix-logo.png b/static/images/hashflix-logo.png new file mode 100644 index 0000000..02fbedd Binary files /dev/null and b/static/images/hashflix-logo.png differ diff --git a/static/images/hashflix.png b/static/images/hashflix.png deleted file mode 100644 index 7609dae..0000000 Binary files a/static/images/hashflix.png and /dev/null differ diff --git a/templates/footer.html b/templates/footer.html index f8ab960..6a0f3ad 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,10 +1,10 @@ {% load static %} {% block head %} - <link rel="stylesheet" href="{% static 'css/style_footer.css' %}"> +<link rel="stylesheet" href="{% static 'css/style_footer.css' %}" /> {% endblock %} <footer class="footer"> <div class="text">2023</div> <div class="text">Feito com (Django)</div> - <div class="text">Hashflix</div> + <div class="text">Michele BS</div> </footer> diff --git a/templates/navbar.html b/templates/navbar.html index 629fcdf..f889765 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -2,7 +2,7 @@ <nav class="navbar"> <div class="nav-logo"> <a href="/"> - <img src="{% static 'images/hashflix.png' %}" alt="logo-hashflix"> + <img src="{% static 'images/hashflix-logo.png' %}" alt="logo-hashflix"> </a> </div>