Commit 2972aa33 authored by Paulo's avatar Paulo
Browse files

A bit of style..

parent e206063f
......@@ -4,13 +4,15 @@
</form>
<div class="container">
<table class="table table-bordered table-hover">
<tr>
<th>Uri dataset</th>
</tr>
<tr *ngFor="let item of xmlItems">
<td>{{item}}</td>
<div *ngIf="!isXmlItemsEmpty()" class="w3-container">
<table class="w3-table-all w3-card-4">
<thead>
<tr style="text-align: center;">Uri dataset</tr>
</thead>
<tbody>
<tr *ngFor="let item of xmlItems">
<td>{{item}}</td>
</tr>
</tbody>
</table>
</div>
......@@ -67,8 +67,6 @@ export class SearchComponent implements OnInit {
});
}
})
console.log("All data : ", this.xmlItems)
return null;
}
......@@ -94,6 +92,8 @@ export class SearchComponent implements OnInit {
});
});
}
isXmlItemsEmpty(){
return this.xmlItems.length === 0;
}
}
......@@ -8,6 +8,7 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<body>
<app-root></app-root>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment