mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-18 07:56:57 +00:00
UI Fixes
This commit is contained in:
parent
90644d8a5f
commit
480a0578a4
@ -189,8 +189,8 @@ export const NotificationProviderSettings = ({
|
|||||||
</div>
|
</div>
|
||||||
<h3 className="text-lg font-semibold text-base-content mb-2">No Providers Configured</h3>
|
<h3 className="text-lg font-semibold text-base-content mb-2">No Providers Configured</h3>
|
||||||
<p className="text-base-content/70 text-center mb-6 max-w-md">
|
<p className="text-base-content/70 text-center mb-6 max-w-md">
|
||||||
Get started by adding your first notification provider. You can configure email, Slack, Discord,
|
Get started by adding your first notification provider. You can configure SMTP, Ntfy, Telegram and
|
||||||
webhooks, and more.
|
more.
|
||||||
</p>
|
</p>
|
||||||
<button
|
<button
|
||||||
className="btn btn-primary gap-2 shadow-lg hover:shadow-xl transition-shadow"
|
className="btn btn-primary gap-2 shadow-lg hover:shadow-xl transition-shadow"
|
||||||
|
|||||||
@ -198,7 +198,7 @@ export const NotificationSettings = ({ onError, onSuccess }: NotificationSetting
|
|||||||
<Server className="w-6 h-6 text-primary" />
|
<Server className="w-6 h-6 text-primary" />
|
||||||
</div>
|
</div>
|
||||||
<div className="flex-1">
|
<div className="flex-1">
|
||||||
<h3 className="text-lg font-bold">Server Monitoring</h3>
|
<h3 className="text-lg font-bold">Server Notifications</h3>
|
||||||
<p className="text-sm opacity-70">Monitor server resources and performance</p>
|
<p className="text-sm opacity-70">Monitor server resources and performance</p>
|
||||||
</div>
|
</div>
|
||||||
<span
|
<span
|
||||||
@ -415,7 +415,7 @@ export const NotificationSettings = ({ onError, onSuccess }: NotificationSetting
|
|||||||
<Smartphone className="w-6 h-6 text-secondary" />
|
<Smartphone className="w-6 h-6 text-secondary" />
|
||||||
</div>
|
</div>
|
||||||
<div className="flex-1">
|
<div className="flex-1">
|
||||||
<h3 className="text-lg font-bold">Application Monitoring</h3>
|
<h3 className="text-lg font-bold">Application Notifications</h3>
|
||||||
<p className="text-sm opacity-70">Configure application monitoring notifications</p>
|
<p className="text-sm opacity-70">Configure application monitoring notifications</p>
|
||||||
</div>
|
</div>
|
||||||
<span
|
<span
|
||||||
@ -441,7 +441,7 @@ export const NotificationSettings = ({ onError, onSuccess }: NotificationSetting
|
|||||||
<div className="flex items-center gap-3">
|
<div className="flex items-center gap-3">
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
className="toggle toggle-secondary"
|
className="toggle toggle-primary"
|
||||||
checked={applicationsSettings?.enabled}
|
checked={applicationsSettings?.enabled}
|
||||||
onChange={() =>
|
onChange={() =>
|
||||||
setApplicationsSettings({ ...applicationsSettings, enabled: !applicationsSettings.enabled })
|
setApplicationsSettings({ ...applicationsSettings, enabled: !applicationsSettings.enabled })
|
||||||
@ -464,7 +464,7 @@ export const NotificationSettings = ({ onError, onSuccess }: NotificationSetting
|
|||||||
<div className="flex items-center gap-3 lg:flex-1">
|
<div className="flex items-center gap-3 lg:flex-1">
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
className="checkbox checkbox-secondary"
|
className="checkbox checkbox-primary"
|
||||||
checked={applicationsSettings?.statusChange}
|
checked={applicationsSettings?.statusChange}
|
||||||
onChange={() =>
|
onChange={() =>
|
||||||
setApplicationsSettings({
|
setApplicationsSettings({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user