list.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {% if title == "Início" %}
  2. {% set title = "Início" %}
  3. {% elseif title == "Tag" %}
  4. {% set title = "Tag: " + tag %}
  5. {% endif %}
  6. {% extends 'layout.html' %}
  7. {% block body %}
  8. <div class="container-fluid">
  9. {% if messages.success %}
  10. <div role="alert" class="alert alert-success">
  11. {% for success in messages.success %}
  12. <div>{{ success.msg }}</div>
  13. {% endfor %}
  14. </div>
  15. {% endif %}
  16. {% if messages.error %}
  17. <div role="alert" class="alert alert-danger">
  18. {% for error in messages.error %}
  19. <div>{{ error.msg }}</div>
  20. {% endfor %}
  21. </div>
  22. {% endif %}
  23. {% if messages.info %}
  24. <div role="alert" class="alert alert-info">
  25. {% for info in messages.info %}
  26. <div>{{ info.msg }}</div>
  27. {% endfor %}
  28. </div>
  29. {% endif %}
  30. </div>
  31. <h2>Obras Pendentes</h2>
  32. <section class="work">
  33. {% if user.mod %}
  34. <ul class="entries" style="font-size: 12pt;">
  35. {% for w in watch %}
  36. {% if w.featured == 'false' %}
  37. <hr>
  38. <b>Título: {{w.title}} </b> |
  39. <b>permalink</b>: {{w.permalink}} |
  40. <b>layout</b>: {{w.layout}} |
  41. <b>featured</b>: {{w.featured}} |
  42. <b>subtitle</b>: {{w.subtitle}} <br>
  43. <b>sinopse</b>: <small>{{w.sinopse}}</small> <br>
  44. <b>year</b>: {{w.year}} |
  45. <b>classind</b>: {{w.classind}} |
  46. <b>duration</b>: {{w.duration}} |
  47. <b>license</b>: {{w.license}} |
  48. <b>video</b>: <a href="{{w.video}}" target="_blank">{{w.video}}</a> <br>
  49. <b>eps</b>: {{w.eps}} |
  50. <b>tags</b>: {{w.tags}} |
  51. <b>thumb480</b>: <a href="https://libreflix.org/{{w.thumb480}}" target="_blank"><img src="{{w.thumb480}}" alt="" width="270"></a>
  52. <b>imgbg</b>: <a href="https://libreflix.org/{{w.imgbg}}" target="_blank"><img src="{{w.imgbg}}" alt="" width="270"></a> <br>
  53. <br>
  54. {% if user.mod %}<a href="/edit/{{ w._id }}"><button type="button" class="btn btn-danger">Editar <i class="fa fa-edit"></i></button></a>{% endif %}
  55. <button formaction="/list" formmethod="post" class="btn btn-danger" value="">Rejeitar Produção</button>
  56. {% endif %}
  57. {% endfor %}
  58. </ul>
  59. {% endif %}
  60. <div class="centerBlock">
  61. <!--<a class="btn" href="#">Ver todo o conteúdo</a>-->
  62. </div>
  63. </section>
  64. {% endblock %}