Skip to content

Commit

Permalink
Removidas linhas em branco do HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-oldra committed Apr 29, 2022
1 parent a152cc4 commit 877ddf0
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 30 deletions.
4 changes: 0 additions & 4 deletions autenticacao/templates/cadastro.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
{% extends 'base.html' %}
{% load static %}

{% block 'head' %}
<link rel="stylesheet" href="{% static 'autenticacao/css/cadastro.css' %}">
{% endblock %}

{% block 'body' %}
<div class="box">
<form action="{% url 'cadastro' %}" method="POST">
{% csrf_token %}

{% if messages %}
{% for message in messages %}
<div class="alert {{ message.tags }}">
{{ message }}
</div>
{% endfor %}
{% endif %}

<h1 class="titulo font-degrade borda-bottom-degrade">INSCREVA-SE</h1>
<br/>
<span class="span-descricao">Nome de usuário:</span>
Expand Down
4 changes: 0 additions & 4 deletions autenticacao/templates/logar.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
{% extends 'base.html' %}
{% load static %}

{% block 'head' %}
<link rel="stylesheet" href="{% static 'autenticacao/css/cadastro.css' %}">
{% endblock %}

{% block 'body' %}
<div class="box">
<form action="{% url 'logar' %}" method="post">
{% csrf_token %}

{% if messages %}
{% for message in messages %}
<div class="alert {{ message.tags }}">
{{ message }}
</div>
{% endfor %}
{% endif %}

<h1 class="titulo font-degrade borda-bottom-degrade">LOGAR</h1>
<br/>
<span class="span-descricao">Nome de usuário:</span>
Expand Down
1 change: 0 additions & 1 deletion autenticacao/templates/password_reset_complete.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Sua senha foi resetada com sucesso

<a href="{% url 'logar' %}">CLIQUE AQUI</a> para acessar sua conta.
7 changes: 0 additions & 7 deletions jobs/templates/encontrar_jobs.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{% extends 'base.html' %}
{% load static %}

{% block 'head' %}
<link rel="stylesheet" href="{% static 'jobs/css/encontrar_jobs.css' %}">
{% endblock %}

{% block 'body' %}
<div class="container">
<br/>
Expand Down Expand Up @@ -36,7 +34,6 @@
<br/>
<h2 class="titulo">JOB’S EM ABERTO:</h2>
<div class="row justify-content-around">

{% for job in jobs %}
<div class="col-6 row-card">
<div class="card-job">
Expand Down Expand Up @@ -76,7 +73,6 @@ <h4 class="titulo-job">{{ job.titulo }}</h4>
</div>
</div>
</div>

<div class="modal fade" id="modal-{{ job.id }}" tabindex="-1" role="dialog"
aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
Expand Down Expand Up @@ -110,13 +106,11 @@ <h4 style="display:inline;" class="job-modal-titulo">Referencias:</h4>
<br/>
<br/>
<div class="row">

{% for referencia in job.referencias.all %}
<div class="col-4">
<img src="{{ referencia }}" width="100%">
</div>
{% endfor %}

</div>
<br/>
<br/>
Expand All @@ -129,7 +123,6 @@ <h4 style="display:inline;" class="job-modal-titulo">Referencias:</h4>
</div>
</div>
{% endfor %}

</div>
</div>
{% endblock %}
8 changes: 0 additions & 8 deletions jobs/templates/perfil.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
{% extends 'base.html' %}
{% load static %}

{% block 'head' %}
<link rel="stylesheet" href="{% static 'jobs/css/encontrar_jobs.css' %}">
<link rel="stylesheet" href="{% static 'jobs/css/perfil.css' %}">
{% endblock %}

{% block 'body' %}
<br>
<br>
<div class="container">

{% if messages %}
{% for message in messages %}
<div class="alert {{ message.tags }}">
{{ message }}
</div>
{% endfor %}
{% endif %}

<div style="width: 60%">
<form action="{% url 'perfil' %}" method="POST">
{% csrf_token %}
Expand Down Expand Up @@ -52,7 +48,6 @@ <h4 class="titulo">Histórico</h4>
</tr>
</thead>
<tbody>

{% for job in jobs %}
<tr>
<th scope="row"><img width="100px" src="{{ job.referencias.all.0 }}"></th>
Expand All @@ -78,7 +73,6 @@ <h4 class="titulo">Histórico</h4>
{% endif %}
</td>
</tr>

{% if job.status == "C" %}
<div class="modal fade" id="modal-job-{{ job.id }}" tabindex="-1" role="dialog"
aria-labelledby="exampleModalLabel" aria-hidden="true">
Expand Down Expand Up @@ -106,7 +100,6 @@ <h6 class="titulo-body">Status:</h6>
<h6 class="titulo-body">Prazo máximo para entrega:</h6>
<p>{{ job.prazo_entrega }}</p>
<hr style="border-color: yellow">

<form action="{% url 'enviar_projeto' %}" method="POST"
enctype="multipart/form-data">
{% csrf_token %}
Expand All @@ -122,7 +115,6 @@ <h6 class="titulo-body">Prazo máximo para entrega:</h6>
</div>
{% endif %}
{% endfor %}

</tbody>
</table>
</div>
Expand Down
6 changes: 0 additions & 6 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

{% block 'head' %}
{% endblock %}

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<title>{% block 'title' %}{% endblock %}</title>

<style>
.font-degrade-nav {
background-image: linear-gradient(90deg, rgba(255, 207, 0, 1) 0%, rgba(231, 71, 220, 1) 100%);
Expand All @@ -24,7 +21,6 @@
</style>
</head>
<body class="fundo">

{% if user.is_authenticated %}
<nav style="background-color: #444;" class="navbar navbar-expand-lg navbar-dark">
<a class="navbar-brand" href="/jobs/encontrar_jobs">
Expand Down Expand Up @@ -53,10 +49,8 @@
</div>
</nav>
{% endif %}

{% block 'body' %}
{% endblock %}

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
Expand Down

0 comments on commit 877ddf0

Please sign in to comment.