mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-21 12:20:29 -04:00
- Add the ActionDescriptor functionality. This is a table of information with actionable links - Also add optional status indicator which shows a color. In the future, would like to extend to have icon in this space as an alternative. - Fixed 1 issue with account management UI throwing an error on cancel
19 lines
629 B
HTML
19 lines
629 B
HTML
<div *ngIf="label" class="model-card">
|
|
<span *ngIf="hasStatus" class="card-status">
|
|
<div class="status-content" [style.backgroundColor]="statusColor"></div>
|
|
</span>
|
|
<div class="card-content">
|
|
<h4 class="card-label">{{label}}</h4>
|
|
<p class="card-value">{{value}}</p>
|
|
<span *ngIf="actions">
|
|
<table class="model-table">
|
|
<tr *ngFor="let action of actions">
|
|
<td class="table-row">{{action.label}}</td>
|
|
<td *ngIf="action.actionTitle" class="table-row">
|
|
<a class="pointer prominent" (click)="onDidActionClick(action)">{{action.actionTitle}}</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</span>
|
|
</div>
|
|
</div> |