feat: Add operations view components for logs, overview, security, and stats
- Implemented `ops-view-logs` for displaying and filtering logs with streaming capabilities.
- Created `ops-view-overview` to show server, email, DNS statistics, and charts.
- Developed `ops-view-security` for monitoring security metrics, blocked IPs, and authentication attempts.
- Added `ops-view-stats` to present comprehensive statistics on server, email, DNS, and security metrics.
- Introduced shared styles and components including `ops-sectionheading` for consistent UI.
2025-06-08 12:03:17 +00:00
|
|
|
import {
|
|
|
|
DeesElement,
|
|
|
|
css,
|
|
|
|
cssManager,
|
|
|
|
customElement,
|
|
|
|
html,
|
|
|
|
type TemplateResult
|
|
|
|
} from '@design.estate/dees-element';
|
|
|
|
|
|
|
|
@customElement('ops-sectionheading')
|
|
|
|
export class OpsSectionHeading extends DeesElement {
|
|
|
|
public static styles = [
|
|
|
|
cssManager.defaultStyles,
|
|
|
|
css`
|
|
|
|
:host {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heading {
|
|
|
|
font-family: 'Cal Sans', 'Inter', sans-serif;
|
|
|
|
font-size: 28px;
|
|
|
|
font-weight: 600;
|
2025-06-19 12:14:52 +00:00
|
|
|
color: ${cssManager.bdTheme('#111', '#fff')};
|
feat: Add operations view components for logs, overview, security, and stats
- Implemented `ops-view-logs` for displaying and filtering logs with streaming capabilities.
- Created `ops-view-overview` to show server, email, DNS statistics, and charts.
- Developed `ops-view-security` for monitoring security metrics, blocked IPs, and authentication attempts.
- Added `ops-view-stats` to present comprehensive statistics on server, email, DNS, and security metrics.
- Introduced shared styles and components including `ops-sectionheading` for consistent UI.
2025-06-08 12:03:17 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
`,
|
|
|
|
];
|
|
|
|
|
|
|
|
public render(): TemplateResult {
|
|
|
|
return html`
|
|
|
|
<h1 class="heading">
|
|
|
|
<slot></slot>
|
|
|
|
</h1>
|
|
|
|
`;
|
|
|
|
}
|
|
|
|
}
|