-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35c40ae
commit f7afce5
Showing
8 changed files
with
40 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,29 @@ | ||
{% extends "app_cc/main.html" %} | ||
{% extends "app_cc/main.html" %} | ||
|
||
{% block content %} | ||
|
||
<!-- Content --> | ||
<div class="container"> | ||
<h2 class="text-center mb-4" style="font-size: 32px; font-weight: lighter;">DISCIPLINAS</h2> | ||
<form method="post"> | ||
{% csrf_token %} | ||
{% for disciplina, notas in disciplinas_com_notas %} | ||
<div class="grade-container"> | ||
<h5>{{ disciplina }}</h5> | ||
{% for nota in notas %} | ||
<div class="nota-container"> | ||
<p class="grade-text"> | ||
<input type="text" name="notas[{{ disciplina }}]" value="{{ nota.nota }}"> | ||
</p> | ||
</div> | ||
{% empty %} | ||
<p>Nenhuma nota encontrada para esta disciplina.</p> | ||
{% endfor %} | ||
|
||
{% for nota in notas %} | ||
<div class="grade-container"> | ||
<h5>{{ nota.disciplina }}</h5> | ||
<div class="nota-container"> | ||
<p class="grade-text"> | ||
<h5>{{ nota.nota }}</h5> | ||
</p> | ||
</div> | ||
{% empty %} | ||
<p>Nenhum registro encontrado.</p> | ||
{% endfor %} | ||
<button type="submit" class="btn-custom btn-save">Salvar</button> | ||
</form> | ||
</div> | ||
{% empty %} | ||
<p>Nenhuma nota encontrada.</p> | ||
{% endfor %} | ||
|
||
</div> | ||
|
||
<!-- Button --> | ||
<div class="text-end mt-3"> | ||
<button class="orange-button" onclick="window.location.href='mediag.html'">></button> | ||
</div> | ||
|
||
{% endblock content %} | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters