logsView.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. {% extends 'layouts/base.html' %}
  2. {% block styles %}{% endblock styles %}
  3. {% block header_actions %}
  4. <div class="dashboard-header flex justify-between items-center mb-8 flex-wrap gap-4">
  5. <div class="filters-container flex gap-4 items-center">
  6. <div class="date-filter max-w-xs mx-auto rounded-[0.5rem] shadow-md overflow-hidden relative">
  7. <input type="date" id="date-filter" class="w-full px-4 py-3 border border-gray-300 rounded-lg bg-white shadow-sm text-sm text-gray-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 h-12"/>
  8. </div>
  9. <div class="search-container flex items-center bg-white rounded-[0.5rem] shadow-md overflow-hidden w-[250px] relative">
  10. <input type="text" id="username-search" placeholder="Buscar por usuario..." class="search-input w-full pl-4 pr-10 py-3 rounded-[0.5rem] border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-gray-800 h-12"/>
  11. <!-- Clear search button -->
  12. <button id="clear-search" class="absolute right-10 h-full items-center justify-center text-gray-400 hover:text-gray-700 hidden" title="Limpiar búsqueda">
  13. <i class="fas fa-times"></i>
  14. </button>
  15. <div class="absolute inset-y-0 right-3 flex items-center pointer-events-none">
  16. <i class="fas fa-magnifying-glass text-xl text-[#1A8A9D]"></i>
  17. </div>
  18. </div>
  19. </div>
  20. </div>
  21. {% endblock header_actions %}
  22. {% block content %}
  23. {% include 'partials/logs.html' %}
  24. {% endblock %}
  25. {% block scripts %}
  26. <script type="module" src="static/js/dashboard.js"></script>
  27. {% endblock scripts %}