Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
714c62f285 | ||
|
|
e37487d509 | ||
|
|
312e65fc33 | ||
|
|
5c08d7e361 | ||
|
|
ccd31c503e | ||
|
|
532f6ccab8 | ||
|
|
9658cdfcd7 |
@@ -43,7 +43,7 @@ public class MailboxAdminController {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MailboxAdminController.class);
|
||||
private static final Pattern LOCAL_PART = Pattern.compile("[a-z0-9](?:[a-z0-9._+-]{0,62}[a-z0-9])?");
|
||||
private static final int MIN_PASSWORD = 10;
|
||||
private static final int MIN_PASSWORD = 8;
|
||||
|
||||
public record MailboxView(Long id, String email, String displayName, boolean active, boolean admin,
|
||||
long usedBytes, long quotaBytes, Instant createdAt) {
|
||||
|
||||
@@ -67,7 +67,7 @@ import { ToastService } from '../../ui/toast.service';
|
||||
</div>
|
||||
</ng-template>
|
||||
<ng-template jtGridCell="subject" let-row>
|
||||
<a [routerLink]="link(row)" class="block max-w-[520px] group">
|
||||
<a [routerLink]="link(row)" class="block max-w-[480px] group">
|
||||
<span class="truncate block group-hover:text-cyan-300" [class.font-bold]="!row.read" [class.text-white]="!row.read">
|
||||
@if (!row.read) { <span class="inline-block w-2 h-2 rounded-full bg-pink-500 mr-1.5 align-middle shadow-[0_0_8px_#ff007f]" aria-label="Unread"></span> }
|
||||
{{ row.subject || '(no subject)' }}
|
||||
|
||||
@@ -12,8 +12,10 @@ import { AuthService } from '../../core/auth.service';
|
||||
selector: 'app-mailboxes-section',
|
||||
imports: [FormsModule, MatIconModule],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
// ячейка сетки настроек — сам элемент компонента: на две колонки
|
||||
host: { class: 'block xl:col-span-2' },
|
||||
template: `
|
||||
<section class="glass-panel static p-5 md:p-6 xl:col-span-2" aria-labelledby="mailboxes-title">
|
||||
<section class="glass-panel static p-5 md:p-6" aria-labelledby="mailboxes-title">
|
||||
<h2 id="mailboxes-title" class="text-lg font-orbitron font-bold text-cyan-300 flex items-center gap-2 mb-4 border-b border-cyan-500/20 pb-2">
|
||||
<mat-icon class="text-pink-500">group</mat-icon> MAILBOXES
|
||||
</h2>
|
||||
|
||||
@@ -79,7 +79,7 @@ import { ToastService } from '../../ui/toast.service';
|
||||
}
|
||||
|
||||
<div class="flex-grow max-w-[1500px] w-full mx-auto p-3 md:p-5 grid grid-cols-1 lg:grid-cols-[260px_1fr] gap-5">
|
||||
<nav class="glass-panel static p-4 h-fit lg:sticky lg:top-24 lg:block" [class.hidden]="!menuOpen()"
|
||||
<nav class="glass-panel static p-4 md:pt-6 h-fit lg:sticky lg:top-20 lg:block" [class.hidden]="!menuOpen()"
|
||||
aria-label="Mail folders">
|
||||
<a routerLink="/compose" class="cyber-btn w-full py-2.5 rounded-xl font-bold text-xs mb-4" (click)="menuOpen.set(false)">
|
||||
<mat-icon>edit</mat-icon> COMPOSE
|
||||
|
||||
Reference in New Issue
Block a user