Commit 959adaeb2dae04573d93155f523f9ee6afc512ba

Authored by trainee
1 parent 0f3b0760
Exists in master

แก้ตำแหน่งของคอมเม้น

src/app/dashboard/dashboard.component.html
... ... @@ -2,7 +2,7 @@
2 2 <!-- งานใหม่ -->
3 3 <div class="row">
4 4 <div class="col-lg-4 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 6 href="{{item.link}}"
7 7 target="_blank"
8 8 [ngStyle] = "{'background-color': getColorDay(item.days.toFixed(0))}">
... ... @@ -12,16 +12,25 @@
12 12 <div class="visual">
13 13 <i class="fa fa-comments"></i>
14 14 </div>
15   -
16   - <div class="details" style="width: calc(100% - 50px);">
17   - <div style="text-align: right; margin-top: -50px; color: black;">{{item.STATUS}}</div>
18   - <div class= "number" style=" color: black; display: block; text-align: right;">
19   - <span data-counter="counterup" data-value="">{{item.custgroupName}}</span>
20   - </div>
21   - <div class="desc" style=" color: black;">{{item.team}}</div><br>
22   - <div class="desc" style="text-align: left; text-align: bottom; color: black;">{{item.COMMENT | short}}</div>
23   - <!-- <div class="desc" style="text-align: left; text-align: bottom; color: black;">{{(item.COMMENT > 20)? | (item.COMMENT | slice:0:20) + '....':(item.COMMENT)}}</div> -->
24   - </div>
  15 + <table>
  16 + <tr>
  17 + <div class="details" style="width: calc(100% - 50px);">
  18 + <div style="text-align: right; margin-top: -50px; color: black;">{{item.STATUS}}</div>
  19 + <div class= "number" style=" color: black; display: block; text-align: right;">
  20 + <span data-counter="counterup" data-value="">{{item.custgroupName}}</span>
  21 + </div>
  22 + <div class="desc" style=" color: black;">{{item.team}}</div><br>
  23 + <!-- <div class="desc" style="text-align: left; text-align: bottom; color: black;">{{(item.COMMENT > 20)? | (item.COMMENT | slice:0:20) + '....':(item.COMMENT)}}</div> -->
  24 + </div>
  25 + </tr>
  26 + <tr>
  27 + <div class="details" style="width: calc(100% - 50px);">
  28 + <div class="desc" style="text-align: left; color: black; margin-top: 100px;">{{item.COMMENT | short}}</div>
  29 + </div>
  30 + </tr>
  31 +
  32 + </table>
  33 +
25 34 </a>
26 35 </div>
27 36 </div>
... ...
src/app/dashboard/dashboard.component.scss
... ... @@ -17,4 +17,5 @@
17 17 .dashboard-stat {
18 18 overflow: visible;
19 19 height: 220px;
  20 +
20 21 }
... ...