mirror of
https://github.com/MikroWizard/mikrofront.git
synced 2025-06-20 18:05:39 +02:00
Fix Some Bugs in Deices List and device detail
This commit is contained in:
parent
ed9d21073c
commit
69af8e0e8e
3 changed files with 7 additions and 10 deletions
1
build.sh
1
build.sh
|
@ -4,4 +4,3 @@
|
|||
npm run build --prod
|
||||
python3 version_generate.py
|
||||
sudo docker build --rm -t mikrofront .
|
||||
|
||||
|
|
|
@ -152,11 +152,11 @@
|
|||
<app-widgets-dropdown [devicedata]=raddata.value></app-widgets-dropdown>
|
||||
<c-row>
|
||||
<c-col md="3">
|
||||
<table small stripedColumns cTable>
|
||||
<table style="word-break: break-word" small stripedColumns cTable>
|
||||
<tbody>
|
||||
<ng-container *ngFor="let d of raddata.value['data'] | keyvalue ; let i=index">
|
||||
<tr *ngIf="i<objectlen(raddata.value['data'])/4">
|
||||
<th style="width: 30%;text-wrap: nowrap;">{{d.key}}</th>
|
||||
<th style="width: 20%;text-wrap: nowrap;">{{d.key}}</th>
|
||||
<td scope="row">{{d.value}}</td>
|
||||
</tr>
|
||||
</ng-container>
|
||||
|
@ -165,11 +165,11 @@
|
|||
</c-col>
|
||||
<c-col md="3">
|
||||
|
||||
<table small stripedColumns cTable>
|
||||
<table style="word-break: break-word" small stripedColumns cTable>
|
||||
<tbody>
|
||||
<ng-container *ngFor="let d of raddata.value['data'] | keyvalue ; let i=index">
|
||||
<tr *ngIf="i>=objectlen(raddata.value['data'])/4 && i<(objectlen(raddata.value['data'])/4)*2">
|
||||
<th style="width: 30%;text-wrap: nowrap;">{{d.key}}</th>
|
||||
<th style="width: 20%;text-wrap: nowrap;">{{d.key}}</th>
|
||||
<td scope="row">{{d.value}}</td>
|
||||
</tr>
|
||||
</ng-container>
|
||||
|
@ -177,11 +177,11 @@
|
|||
</table>
|
||||
</c-col>
|
||||
<c-col md="3">
|
||||
<table small stripedColumns cTable>
|
||||
<table style="word-break: break-word" small stripedColumns cTable>
|
||||
<tbody>
|
||||
<ng-container *ngFor="let d of raddata.value['data'] | keyvalue ; let i=index">
|
||||
<tr *ngIf="i>=(objectlen(raddata.value['data'])/4)*2 && i<(objectlen(raddata.value['data'])/4)*3">
|
||||
<th style="width: 30%;text-wrap: nowrap;">{{d.key}}</th>
|
||||
<th style="width: 20%;text-wrap: nowrap;">{{d.key}}</th>
|
||||
<td scope="row">{{d.value}}</td>
|
||||
</tr>
|
||||
</ng-container>
|
||||
|
@ -203,7 +203,7 @@
|
|||
</c-row>
|
||||
<c-row *ngIf="raddata.value['strength-at-rates']">
|
||||
<c-col>
|
||||
<table small borderless cTable>
|
||||
<table style="word-break: break-word" small borderless cTable>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th style="text-wrap: nowrap;vertical-align: middle;padding: 5px;border-radius: 5px;background-color: #3399ff36;">Strength at rates</th>
|
||||
|
|
|
@ -436,8 +436,6 @@ export class DevicesComponent implements OnInit, OnDestroy {
|
|||
var data = {
|
||||
group_id: this.selected_group,
|
||||
search: false,
|
||||
page: this.paging.page,
|
||||
size: this.paging.pageSize,
|
||||
};
|
||||
clearTimeout(this.list_update_timer);
|
||||
_self.list_update_timer = setTimeout(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue