mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 15:43:14 +01:00
Notification toasts, nicer loading, add new user support
This commit is contained in:
31 files changed
+401
-215
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import { intl } from "src/locale";
|
||||
import styles from "./Loading.module.css";
|
||||
|
||||
interface Props {
|
||||
label?: string;
|
||||
noLogo?: boolean;
|
||||
}
|
||||
export function Loading({ label, noLogo }: Props) {
|
||||
return (
|
||||
<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>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user