You've already forked nginx-proxy-manager
mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-02 16:53:15 +03:00
React
This commit is contained in:
27
frontend/src/components/LoadingPage.tsx
Normal file
27
frontend/src/components/LoadingPage.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
import { Page } from "src/components";
|
||||
import { intl } from "src/locale";
|
||||
import styles from "./LoadingPage.module.css";
|
||||
|
||||
interface Props {
|
||||
label?: string;
|
||||
noLogo?: boolean;
|
||||
}
|
||||
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>
|
||||
</div>
|
||||
</Page>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user