mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Initial search implementation
- Add search box to demo-shell toolbar - Initial search component to display results Refs #69
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<h1>Search results</h1>
|
||||
<p *ngIf="results">Found {{results.length}} results for {{currentSearchTerm}}</p>
|
||||
<table *ngIf="results" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<span class="mdl-data-table__cell--non-numeric">Name</span>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr *ngFor="#result of results; #idx = index">
|
||||
<td>{{result.entry.name}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
Reference in New Issue
Block a user