Added API keys. Minor modifications for other views.
This commit is contained in:
20
src/app/keys/key-item/key-item.component.html
Normal file
20
src/app/keys/key-item/key-item.component.html
Normal file
@ -0,0 +1,20 @@
|
||||
<section>
|
||||
{{(isVisible ? key().id : key().label)}}
|
||||
|
||||
<article class="right">
|
||||
<button mat-button
|
||||
class="neutral"
|
||||
[disabled]="waitForResponse"
|
||||
(click)="isVisible = !isVisible">
|
||||
<mat-icon>{{(isVisible ? "visibility_off" : "visibility")}}</mat-icon>
|
||||
{{(isVisible ? "Hide" : "View")}} Key
|
||||
</button>
|
||||
<button mat-button
|
||||
class="danger"
|
||||
[disabled]="waitForResponse"
|
||||
(click)="delete()">
|
||||
<mat-icon>delete</mat-icon>
|
||||
Delete
|
||||
</button>
|
||||
</article>
|
||||
</section>
|
Reference in New Issue
Block a user