Commit 94c4c8d2389e3635e143cdc9e003a98a4e40e56e

Authored by trainee
1 parent 124477ad
Exists in master

แก้แค่สี เหลือขนาดกล่อง และก็คอมเม้น

src/app/dashboard/dashboard.component.html
1 1  
2 2 <!-- งานใหม่ -->
3 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 5 <a class="dashboard-stat dashboard-stat-v2 red"
6 6 href="http://vtiger.sourcecode.co.th/index.php?action=DetailView&module=HelpDesk&parenttab=Support&record=195885"
7 7 target="_blank"
... ... @@ -14,8 +14,8 @@
14 14 </div>
15 15  
16 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 19 <span data-counter="counterup" data-value="" style=" color: black;">{{item.custgroupName}}</span>
20 20 </div>
21 21 <div class="desc" style=" color: black;">{{item.team}}</div><br>
... ...
src/app/dashboard/dashboard.component.scss
... ... @@ -18,4 +18,5 @@
18 18 .dashboard-stat {
19 19 overflow: visible;
20 20 height: 210px;
  21 + width: 100%;
21 22 }
... ...
src/app/dashboard/dashboard.component.ts
... ... @@ -20,7 +20,7 @@ export class DashboardComponent implements OnInit {
20 20 }
21 21  
22 22 if (days > 8 && days <= 15){
23   - return '#c49f47';
  23 + return '#f0c332';
24 24 }
25 25  
26 26 if (days >= 16){
... ...