Commit 94c4c8d2389e3635e143cdc9e003a98a4e40e56e
1 parent
124477ad
Exists in
master
แก้แค่สี เหลือขนาดกล่อง และก็คอมเม้น
Showing
3 changed files
with
5 additions
and
4 deletions
Show diff stats
src/app/dashboard/dashboard.component.html
1 | 1 | ||
2 | <!-- งานใหม่ --> | 2 | <!-- งานใหม่ --> |
3 | <div class="row"> | 3 | <div class="row"> |
4 | - <div class="col-lg-6 col-md-3 col-sm-6 col-xs-12" *ngFor="let item of resultData"> | 4 | + <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" *ngFor="let item of resultData"> |
5 | <a class="dashboard-stat dashboard-stat-v2 red" | 5 | <a class="dashboard-stat dashboard-stat-v2 red" |
6 | href="http://vtiger.sourcecode.co.th/index.php?action=DetailView&module=HelpDesk&parenttab=Support&record=195885" | 6 | href="http://vtiger.sourcecode.co.th/index.php?action=DetailView&module=HelpDesk&parenttab=Support&record=195885" |
7 | target="_blank" | 7 | target="_blank" |
@@ -14,8 +14,8 @@ | @@ -14,8 +14,8 @@ | ||
14 | </div> | 14 | </div> |
15 | 15 | ||
16 | <div class="details" style="width: calc(100% - 50px);"> | 16 | <div class="details" style="width: calc(100% - 50px);"> |
17 | - <div style="text-align: right; margin-top: -50px; ">{{item.status}}</div> | ||
18 | - <div class="number" style="margin-top: -8px;"> | 17 | + <div style="text-align: right; margin-top: -50px; color: black;">{{item.STATUS}}</div> |
18 | + <div class="number" style="width: calc(100% - 15px);"> | ||
19 | <span data-counter="counterup" data-value="" style=" color: black;">{{item.custgroupName}}</span> | 19 | <span data-counter="counterup" data-value="" style=" color: black;">{{item.custgroupName}}</span> |
20 | </div> | 20 | </div> |
21 | <div class="desc" style=" color: black;">{{item.team}}</div><br> | 21 | <div class="desc" style=" color: black;">{{item.team}}</div><br> |
src/app/dashboard/dashboard.component.scss
src/app/dashboard/dashboard.component.ts
@@ -20,7 +20,7 @@ export class DashboardComponent implements OnInit { | @@ -20,7 +20,7 @@ export class DashboardComponent implements OnInit { | ||
20 | } | 20 | } |
21 | 21 | ||
22 | if (days > 8 && days <= 15){ | 22 | if (days > 8 && days <= 15){ |
23 | - return '#c49f47'; | 23 | + return '#f0c332'; |
24 | } | 24 | } |
25 | 25 | ||
26 | if (days >= 16){ | 26 | if (days >= 16){ |