round images

This commit is contained in:
Manuel Romero
2025-03-07 12:18:03 +01:00
parent 6c17c2f8cd
commit 52c475c7e2
6 changed files with 8 additions and 8 deletions

View File

@@ -29,5 +29,5 @@
<link rel="stylesheet" href="styles.888d76f1576f5fd6c859.css"></head>
<body>
<app-root></app-root>
<script src="runtime.b2175705264e769e2e1d.js" defer></script><script src="polyfills-es5.66d659991e5a8ec6fd9f.js" nomodule defer></script><script src="polyfills.3273b4fb03b5abe684b4.js" defer></script><script src="scripts.399e476bb5562d6fc683.js" defer></script><script src="main.38646cf2e9db255a50ef.js" defer></script></body>
<script src="runtime.b2175705264e769e2e1d.js" defer></script><script src="polyfills-es5.66d659991e5a8ec6fd9f.js" nomodule defer></script><script src="polyfills.3273b4fb03b5abe684b4.js" defer></script><script src="scripts.399e476bb5562d6fc683.js" defer></script><script src="main.cf11489110306abd8a50.js" defer></script></body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -315,7 +315,7 @@
<h4 class="card-title">Owner / Shares</h4>
<div class="card-body">
<div>
<img src="/photos/user/{{info.user.oid}}" (error)="onImgError($event, info.user)" style="border: 1px solid #ccc;width: 60px;" /> {{info.user.displayName}}
<img src="/photos/user/{{info.user.oid}}" (error)="onImgError($event, info.user)" style="border: 1px solid #ccc;width: 60px;border-radius: 50%;" /> {{info.user.displayName}}
</div>
<div *ngIf="sharedUsers && sharedUsers.length > 0">
<hr>
@@ -323,7 +323,7 @@
<table class="table table-sm table-borderless">
<tr *ngFor="let withUser of sharedUsers; let i = index">
<td style="width: 50px;">
<img src="/photos/user/{{withUser.oid}}" (error)="onImgError($event, withUser)" style="border: 1px solid #ccc;width: 40px;" />
<img src="/photos/user/{{withUser.oid}}" (error)="onImgError($event, withUser)" style="border: 1px solid #ccc;width: 40px;border-radius: 50%;" />
</td>
<td>
{{ withUser.displayName }}<i *ngIf="!withUser.active"> (inactive)</i> - ({{

View File

@@ -290,7 +290,7 @@
<h4 class="card-title">Owner / Shares</h4>
<div class="card-body">
<div>
<img src="/photos/user/{{provision.user.oid}}" (error)="onImgError($event, provision.user)" style="border: 1px solid #ccc;width: 60px;" /> {{provision.user.displayName}}
<img src="/photos/user/{{provision.user.oid}}" (error)="onImgError($event, provision.user)" style="border: 1px solid #ccc;width: 60px;border-radius: 50%;" /> {{provision.user.displayName}}
</div>
<div *ngIf="sharedUsers && sharedUsers.length > 0">
@@ -299,7 +299,7 @@
<table class="table table-sm table-borderless">
<tr *ngFor="let withUser of sharedUsers; let i = index">
<td style="width: 50px;">
<img src="/photos/user/{{withUser.oid}}" (error)="onImgError($event, withUser)" style="border: 1px solid #ccc;width: 40px;" />
<img src="/photos/user/{{withUser.oid}}" (error)="onImgError($event, withUser)" style="border: 1px solid #ccc;width: 40px;border-radius: 50%;" />
</td>
<td>
{{ withUser.displayName }}<i *ngIf="!withUser.active"> (inactive)</i> ({{

View File

@@ -33,7 +33,7 @@
<tbody>
<tr mdbTableCol *ngFor="let user of elements; let i = index">
<td *ngIf="i+1 >= mdbTablePagination.firstItemIndex && i < mdbTablePagination.lastItemIndex">
<img src="/photos/user/{{user.oid}}" (error)="onImgError($event, user)" style="border: 1px solid #ccc;width: 40px;" />
<img src="/photos/user/{{user.oid}}" (error)="onImgError($event, user)" style="border: 1px solid #ccc;width: 40px;border-radius: 50%;" />
</td>
<td *ngIf="i+1 >= mdbTablePagination.firstItemIndex && i < mdbTablePagination.lastItemIndex"
scope="row"><a [routerLink]="['/user', user._id]">{{user._id}}</a>

View File

@@ -7,7 +7,7 @@
<a class="lui-text-info" [routerLink]="['/admin', 'users']"><i class="fas fa-long-arrow-alt-left"></i> Back to Users</a>
<div *ngIf="user" style="text-align: center;">
<h1><img src="/photos/user/{{user.oid}}" (error)="onImgError($event, user)" style="border: 1px solid #ccc;width: 70px;" /> {{user.displayName}} <i *ngIf="!user.active"> (inactive)</i><button *ngIf="currentUser.role === 'superadmin' || (currentUser.role === 'admin' && user.role !== 'superadmin')" title="Edit" (click)="editUser(user)" class="lui-button">
<h1><img src="/photos/user/{{user.oid}}" (error)="onImgError($event, user)" style="border: 1px solid #ccc;width: 70px;border-radius: 50px;" /> {{user.displayName}} <i *ngIf="!user.active"> (inactive)</i><button *ngIf="currentUser.role === 'superadmin' || (currentUser.role === 'admin' && user.role !== 'superadmin')" title="Edit" (click)="editUser(user)" class="lui-button">
<span class="lui-icon lui-icon--edit" aria-hidden="true"></span>
</button> </h1>
<h5 *ngIf="user.jobTitle">{{user.jobTitle}}</h5>