-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdash-content.component.html
More file actions
148 lines (143 loc) · 5.43 KB
/
Copy pathdash-content.component.html
File metadata and controls
148 lines (143 loc) · 5.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<div class="widgets w-full p-2">
<div class="widget total-vendas shadow-3">
<div class="widget-content">
<i class="widget-icon ri-money-dollar-circle-line"></i>
<div class="widget-info" style="color: #f5b041;">
<h3 class="widget-title">Total de Vendas</h3>
<p class="widget-value text-right">250</p>
</div>
</div>
</div>
<div class="widget numero-pedidos shadow-3">
<div class="widget-content">
<i class="widget-icon ri-shopping-cart-line"></i>
<div class="widget-info" style="color: #5cb85c;">
<h3 class="widget-title">Número de Pedidos</h3>
<p class="widget-value text-right">150</p>
</div>
</div>
</div>
<div class="widget produtos-estoque shadow-3">
<div class="widget-content">
<i class="widget-icon ri-archive-line"></i>
<div class="widget-info" style="color: #06b0e4;">
<h3 class="widget-title">Produtos em Estoque</h3>
<p class="widget-value text-right">300</p>
</div>
</div>
</div>
<div class="widget clientes-registrados shadow-3">
<div class="widget-content">
<i class="widget-icon ri-user-line"></i>
<div class="widget-info" style="color: #f0ad4e;">
<h3 class="widget-title">Clientes Registrados</h3>
<p class="widget-value text-right">500</p>
</div>
</div>
</div>
</div>
<div class="grid-graph p-2">
<div class="graph p-3 shadow-3" style="background-color: #FFF;">
graph
</div>
<div class="orders p-3 shadow-3" style="background-color: #FFF;">
<h2>Recent Orders</h2>
<app-dash-orders />
</div>
</div>
<div class="grid-content p-2">
<div class="item shadow-3">
<div class="header pt-3 px-3">
<h1>Melhores Produtos</h1>
</div>
<div class="px-3">
<table class="">
<thead>
<tr>
<th>Product</th>
<th>Price</th>
<th>Orders</th>
<th>Stock</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
@for (item of products; track $index) {
<tr>
<td class="product">
<img [src]="item.images[0]" alt="Shirt">
<div class="product-info">
<span>Branded T-Shirts</span>
<small>24 Apr 2021</small>
</div>
</td>
<td class="column">
<span> {{ item.price | currency }} </span>
<small>Price</small>
</td>
<td class="column">
<span style="font-size: 13px;"> {{ item.status.name }} </span>
<small>Status</small>
</td>
<td class="column">
<span> {{ item.stock }} </span>
<small>Stock</small>
</td>
<td class="column">
<span> {{ item.amount | currency }} </span>
<small>Amount</small>
</td>
</tr>
}
</tbody>
</table>
</div>
</div>
<div class="item shadow-3">
<div class="header pt-3 px-3">
<h1>Mais vendidos</h1>
</div>
<div class="px-3">
<table class="">
<thead>
<tr>
<th>Product</th>
<th>Price</th>
<th>Orders</th>
<th>Stock</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
@for (item of products; track $index) {
<tr>
<td class="product">
<img [src]="item.images[0]" alt="Shirt">
<div class="product-info">
<span>Branded T-Shirts</span>
<small>24 Apr 2021</small>
</div>
</td>
<td class="column">
<span> {{ item.price | currency }} </span>
<small>Price</small>
</td>
<td class="column">
<span style="font-size: 13px;"> {{ item.status.name }} </span>
<small>Status</small>
</td>
<td class="column">
<span> {{ item.stock }} </span>
<small>Stock</small>
</td>
<td class="column">
<span> {{ item.amount | currency }} </span>
<small>Amount</small>
</td>
</tr>
}
</tbody>
</table>
</div>
</div>
</div>