Commit 604c53f4acc85cd0cedd29c383a31571f0b39950
1 parent
9e5d364c
Exists in
master
เพิ่มปุ่ม type ต่างๆ และปรับตำแหน่ง
Showing
2 changed files
with
126 additions
and
4 deletions
Show diff stats
src/app/dashboard/dashboard.component.html
@@ -664,7 +664,7 @@ | @@ -664,7 +664,7 @@ | ||
664 | <h1 class="icon-bubble font-green-sharp"> | 664 | <h1 class="icon-bubble font-green-sharp"> |
665 | <span class="caption-subject font-green-sharp sbold font"> Active</span> | 665 | <span class="caption-subject font-green-sharp sbold font"> Active</span> |
666 | </h1> | 666 | </h1> |
667 | - <button *ngFor="let name of ButtonValue" (click)="getButton(name.valueN)">{{ name.name }}</button> | 667 | + |
668 | <div class="input-group" style="float: right; margin-top: 11px;"> | 668 | <div class="input-group" style="float: right; margin-top: 11px;"> |
669 | <div class="input-icon right"> | 669 | <div class="input-icon right"> |
670 | <i class="icon-magnifier"> | 670 | <i class="icon-magnifier"> |
@@ -672,8 +672,10 @@ | @@ -672,8 +672,10 @@ | ||
672 | <input type="text" placeholder="Search.." class="form-control sbold font" [(ngModel)]="FilterSearch"> | 672 | <input type="text" placeholder="Search.." class="form-control sbold font" [(ngModel)]="FilterSearch"> |
673 | </div> | 673 | </div> |
674 | </div> | 674 | </div> |
675 | - | 675 | + <br><br> |
676 | + <button *ngFor="let name of ButtonValue" (click)="getButton(name.valueN)">{{ name.name }}</button> | ||
676 | <hr> | 677 | <hr> |
678 | + | ||
677 | <br> | 679 | <br> |
678 | </div> | 680 | </div> |
679 | <div class="panel-body"> | 681 | <div class="panel-body"> |
src/app/dashboard/dashboard.component.ts
@@ -74,13 +74,133 @@ export class DashboardComponent implements OnInit { | @@ -74,13 +74,133 @@ export class DashboardComponent implements OnInit { | ||
74 | 74 | ||
75 | ButtonValue = [ | 75 | ButtonValue = [ |
76 | { | 76 | { |
77 | - name : 'apd', | ||
78 | - valueN : 'apd' | 77 | + name : 'acc', |
78 | + valueN : 'acc' | ||
79 | }, | 79 | }, |
80 | { | 80 | { |
81 | name : 'ade', | 81 | name : 'ade', |
82 | valueN : 'ade' | 82 | valueN : 'ade' |
83 | }, | 83 | }, |
84 | + { | ||
85 | + name : 'adm', | ||
86 | + valueN : 'adm' | ||
87 | + }, | ||
88 | + { | ||
89 | + name : 'apd', | ||
90 | + valueN : 'apd' | ||
91 | + }, | ||
92 | + { | ||
93 | + name : 'bnw', | ||
94 | + valueN : 'bnw' | ||
95 | + }, | ||
96 | + { | ||
97 | + name : 'crs', | ||
98 | + valueN : 'crs' | ||
99 | + }, | ||
100 | + { | ||
101 | + name : 'cus', | ||
102 | + valueN : 'cus' | ||
103 | + }, | ||
104 | + { | ||
105 | + name : 'dvr', | ||
106 | + valueN : 'dvr' | ||
107 | + }, | ||
108 | + { | ||
109 | + name : 'etc', | ||
110 | + valueN : 'etc' | ||
111 | + }, | ||
112 | + { | ||
113 | + name : 'hwe', | ||
114 | + valueN : 'hwe' | ||
115 | + }, | ||
116 | + { | ||
117 | + name : 'its', | ||
118 | + valueN : 'its' | ||
119 | + }, | ||
120 | + { | ||
121 | + name : 'lws', | ||
122 | + valueN : 'lws' | ||
123 | + }, | ||
124 | + { | ||
125 | + name : 'nds', | ||
126 | + valueN : 'nds' | ||
127 | + }, | ||
128 | + { | ||
129 | + name : 'ned', | ||
130 | + valueN : 'ned' | ||
131 | + }, | ||
132 | + { | ||
133 | + name : 'nes', | ||
134 | + valueN : 'nes' | ||
135 | + }, | ||
136 | + { | ||
137 | + name : 'net', | ||
138 | + valueN : 'net' | ||
139 | + }, | ||
140 | + { | ||
141 | + name : 'new', | ||
142 | + valueN : 'new' | ||
143 | + }, | ||
144 | + { | ||
145 | + name : 'osc', | ||
146 | + valueN : 'osc' | ||
147 | + }, | ||
148 | + { | ||
149 | + name : 'pm', | ||
150 | + valueN : 'pm' | ||
151 | + }, | ||
152 | + { | ||
153 | + name : 'prs', | ||
154 | + valueN : 'prs' | ||
155 | + }, | ||
156 | + { | ||
157 | + name : 'rnd', | ||
158 | + valueN : 'rnd' | ||
159 | + }, | ||
160 | + { | ||
161 | + name : 'sde', | ||
162 | + valueN : 'sde' | ||
163 | + }, | ||
164 | + { | ||
165 | + name : 'sdn', | ||
166 | + valueN : 'sdn' | ||
167 | + }, | ||
168 | + { | ||
169 | + name : 'set', | ||
170 | + valueN : 'set' | ||
171 | + }, | ||
172 | + { | ||
173 | + name : 'sev', | ||
174 | + valueN : 'sev' | ||
175 | + }, | ||
176 | + { | ||
177 | + name : 'sid', | ||
178 | + valueN : 'sid' | ||
179 | + }, | ||
180 | + { | ||
181 | + name : 'ssh', | ||
182 | + valueN : 'ssh' | ||
183 | + }, | ||
184 | + { | ||
185 | + name : 'suv', | ||
186 | + valueN : 'suv' | ||
187 | + }, | ||
188 | + { | ||
189 | + name : 'sys', | ||
190 | + valueN : 'sys' | ||
191 | + }, | ||
192 | + { | ||
193 | + name : 'tst', | ||
194 | + valueN : 'tst' | ||
195 | + }, | ||
196 | + { | ||
197 | + name : 'udi', | ||
198 | + valueN : 'udi' | ||
199 | + }, | ||
200 | + { | ||
201 | + name : 'web', | ||
202 | + valueN : 'web' | ||
203 | + }, | ||
84 | ]; | 204 | ]; |
85 | 205 | ||
86 | 206 |