diff options
| author | Mitsuo Tokumori <rtokumori@pucp.edu.pe> | 2023-11-12 18:14:47 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <rtokumori@pucp.edu.pe> | 2023-11-12 18:14:47 -0500 |
| commit | 8c82c32015b2c780f2b5662ff495f55153a5a26f (patch) | |
| tree | ff4ef825e85b8dc113b90e62c2d07a84711892c0 /ustayml/templates/students | |
| parent | 907f8e563b648b426f93ee162f9f703013f9ad50 (diff) | |
Add "Regresar" button on student details
Diffstat (limited to 'ustayml/templates/students')
| -rw-r--r-- | ustayml/templates/students/details.html | 9 | ||||
| -rw-r--r-- | ustayml/templates/students/index.html | 6 |
2 files changed, 10 insertions, 5 deletions
diff --git a/ustayml/templates/students/details.html b/ustayml/templates/students/details.html index 6c28ea4..ed79961 100644 --- a/ustayml/templates/students/details.html +++ b/ustayml/templates/students/details.html @@ -1,12 +1,15 @@ {% extends 'base.html' %} {% block header %} - <h1>{% block title %}Reporte del estudiante{% endblock %}</h1> - <span>Reporte generado el {{ date.strftime("%Y-%m-%d") }}</span> + <a href="#" onclick="window.history.go(-1); return false;">Regresar</a> + <div class="flex-container-horizontal"> + <h1>{% block title %}Reporte del estudiante{% endblock %}</h1> + <span>Reporte generado el {{ date.strftime("%Y-%m-%d") }}</span> + </div> {% endblock %} {% block content %} - <div class="student-details-container"> + <div class="student-details-body"> <div id="information-left"> <h3>Información general:</h3> <h3>Información socioeconómica:</h3> diff --git a/ustayml/templates/students/index.html b/ustayml/templates/students/index.html index 050783b..74f84e3 100644 --- a/ustayml/templates/students/index.html +++ b/ustayml/templates/students/index.html @@ -2,8 +2,10 @@ {% block header %} - <h1>{% block title %}Estudiantes{% endblock %}</h1> - <span>💡TIP: hacer click en un estudiante para ver su detalle</span> + <div class="flex-container-horizontal"> + <h1>{% block title %}Estudiantes{% endblock %}</h1> + <span>💡TIP: hacer click en un estudiante para ver su detalle</span> + </div> {% endblock %} {% block content %} |
