invoices.html 1.6 KB
Newer Older
C
chomik 已提交
1 2 3 4 5 6 7
<div class="card">
   <div class="card-header">
      <h3 class="card-title">Invoices</h3>
   </div>
   <div class="table-responsive">
      <table class="table card-table table-vcenter text-nowrap datatable">
         <thead>
C
chomik 已提交
8 9 10 11 12 13 14 15 16 17
            <tr>
               <th class="w-1">No.</th>
               <th>Invoice Subject</th>
               <th>Client</th>
               <th>VAT No.</th>
               <th>Created</th>
               <th>Status</th>
               <th>Price</th>
               <th></th>
            </tr>
C
chomik 已提交
18 19 20 21 22 23
         </thead>

         <tbody>
         {% for invoice in site.data.invoices limit: 5 %}
         <tr>
            <td><span class="text-muted">00{{ forloop.index | plus: 1400 }}</span></td>
24
            <td><a href="invoice.html" class="text-reset">{{ invoice.name }}</a></td>
C
chomik 已提交
25
            <td>
C
chomik 已提交
26
               {% include ui/flag.html name=invoice.country %}
C
chomik 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40
               {{ invoice.client }}
            </td>
            <td>
               {{ invoice.vat-no }}
            </td>
            <td>
               {{ invoice.date }}
            </td>
            <td>
               <span class="status-icon bg-{{ invoice.status }}"></span> {{ invoice.status-name }}
            </td>
            <td>{{ invoice.price }}</td>

            <td class="text-right">
C
codecalm 已提交
41
               <a href="#" class="btn btn-secondary btn-sm">Manage</a>
C
chomik 已提交
42 43 44 45 46 47 48 49 50 51
               <span class="dropdown">
                  <button class="btn btn-secondary btn-sm dropdown-toggle" data-toggle="dropdown">Actions</button>
               </span>
            </td>
         </tr>
         {% endfor %}
         </tbody>
      </table>
   </div>
</div>