mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-07 16:56:50 +00:00
Notification toasts, nicer loading, add new user support
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import { Page } from "src/components";
|
||||
import { intl } from "src/locale";
|
||||
import styles from "./LoadingPage.module.css";
|
||||
import { Loading, Page } from "src/components";
|
||||
|
||||
interface Props {
|
||||
label?: string;
|
||||
@@ -10,17 +8,7 @@ export function LoadingPage({ label, noLogo }: Props) {
|
||||
return (
|
||||
<Page className="page-center">
|
||||
<div className="container-tight py-4">
|
||||
<div className="empty text-center">
|
||||
{noLogo ? null : (
|
||||
<div className="mb-3">
|
||||
<img className={styles.logo} src="/images/logo-no-text.svg" alt="" />
|
||||
</div>
|
||||
)}
|
||||
<div className="text-secondary mb-3">{label || intl.formatMessage({ id: "loading" })}</div>
|
||||
<div className="progress progress-sm">
|
||||
<div className="progress-bar progress-bar-indeterminate" />
|
||||
</div>
|
||||
</div>
|
||||
<Loading label={label} noLogo={noLogo} />
|
||||
</div>
|
||||
</Page>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user