Added functionality to all pages
This commit is contained in:
@@ -5,15 +5,23 @@
|
||||
<th>Category</th>
|
||||
<th>Total</th>
|
||||
<th>Free</th>
|
||||
<th style="text-align: right;">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ range . }}
|
||||
<tr>
|
||||
<td style="font-weight: 600;">{{ .Name }}</td>
|
||||
<td><span style="color: var(--text-muted);">{{ .Category }}</span></td>
|
||||
<td style="font-family: monospace;">{{ .TotalQuantity }}</td>
|
||||
<td style="font-family: monospace; color: var(--success);">{{ .FreeQuantity }}</td>
|
||||
<td>
|
||||
<span style="background: rgba(255,255,255,0.05); padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.8rem; color: var(--text-muted); border: 1px solid var(--border);">
|
||||
{{ .Category }}
|
||||
</span>
|
||||
</td>
|
||||
<td style="font-family: monospace; font-size: 1.05rem;">{{ .TotalQuantity }}</td>
|
||||
<td style="font-family: monospace; font-size: 1.05rem; color: var(--success);">{{ .FreeQuantity }}</td>
|
||||
<td style="text-align: right;">
|
||||
<button class="btn btn-secondary" style="width: auto; padding: 0.4rem 0.8rem; font-size: 0.85rem;">Edit</button>
|
||||
</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user