invoices.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <div class="card">
  2. <div class="card-header">
  3. <h3 class="card-title">Invoices</h3>
  4. </div>
  5. <div class="card-body border-bottom py-3">
  6. <div class="d-flex">
  7. <div class="text-secondary">
  8. Show
  9. <div class="mx-2 d-inline-block">
  10. <input type="text" class="form-control form-control-sm" value="8" size="3" aria-label="Invoices count">
  11. </div>
  12. entries
  13. </div>
  14. <div class="ms-auto text-secondary">
  15. Search:
  16. <div class="ms-2 d-inline-block">
  17. <input type="text" class="form-control form-control-sm" aria-label="Search invoice">
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="table-responsive">
  23. <table class="table card-table table-vcenter text-nowrap datatable">
  24. <thead>
  25. <tr>
  26. <th class="w-1"><input class="form-check-input m-0 align-middle" type="checkbox" aria-label="Select all invoices"></th>
  27. <th class="w-1">No. {% include ui/icon.html icon="chevron-up" class="icon-sm icon-thick" %}</th>
  28. <th>Invoice Subject</th>
  29. <th>Client</th>
  30. <th>VAT No.</th>
  31. <th>Created</th>
  32. <th>Status</th>
  33. <th>Price</th>
  34. <th></th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. {% for invoice in site.data.invoices limit: 8 %}
  39. <tr>
  40. <td><input class="form-check-input m-0 align-middle" type="checkbox" aria-label="Select invoice"></td>
  41. <td><span class="text-secondary">00{{ forloop.index | plus: 1400 }}</span></td>
  42. <td><a href="invoice.html" class="text-reset" tabindex="-1">{{ invoice.name }}</a></td>
  43. <td>
  44. {% include ui/flag.html flag=invoice.country size="xs" class="me-2" %}{{ invoice.client }}
  45. </td>
  46. <td>
  47. {{ invoice.vat-no }}
  48. </td>
  49. <td>
  50. {{ invoice.date }}
  51. </td>
  52. <td>
  53. <span class="badge bg-{{ invoice.status }} me-1"></span> {{ invoice.status-name }}
  54. </td>
  55. <td>{{ invoice.price }}</td>
  56. <td class="text-end">
  57. <span class="dropdown">
  58. <button class="btn dropdown-toggle align-text-top" data-bs-boundary="viewport" data-bs-toggle="dropdown">Actions</button>
  59. {% include ui/dropdown-menu.html right=true %}
  60. </span>
  61. </td>
  62. </tr>
  63. {% endfor %}
  64. </tbody>
  65. </table>
  66. </div>
  67. <div class="card-footer d-flex align-items-center">
  68. <p class="m-0 text-secondary">Showing <span>1</span> to <span>8</span> of <span>16</span> entries</p>
  69. {% include ui/pagination.html class="m-0 ms-auto" %}
  70. </div>
  71. </div>