profile.html 874 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {% set title = "Perfil de " + p.username %}
  2. {% extends 'layout.html' %}
  3. {% block body %}
  4. <div class="container-fluid">
  5. {% if messages.success %}
  6. <div role="alert" class="alert alert-success">
  7. {% for success in messages.success %}
  8. <div>{{ success.msg }}</div>
  9. {% endfor %}
  10. </div>
  11. {% endif %}
  12. {% if messages.error %}
  13. <div role="alert" class="alert alert-danger">
  14. {% for error in messages.error %}
  15. <div>{{ error.msg }}</div>
  16. {% endfor %}
  17. </div>
  18. {% endif %}
  19. {% if messages.info %}
  20. <div role="alert" class="alert alert-info">
  21. {% for info in messages.info %}
  22. <div>{{ info.msg }}</div>
  23. {% endfor %}
  24. </div>
  25. {% endif %}
  26. </div>
  27. <section class="work">
  28. <p align="center">
  29. <h2>Perfil de {{ p.username }}</h2>
  30. <img src="{{ p.gravatar }}" alt="{{ p.username }}" width="150px">
  31. </p>
  32. </section>
  33. {% endblock %}