mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-25 23:25:18 +01:00
Merge branch 'main' into charts-widget
This commit is contained in:
commit
3fa72e48cc
@ -680,8 +680,8 @@
|
||||
},
|
||||
"urbackup": {
|
||||
"ok": "Ok",
|
||||
"errored": "Errors",
|
||||
"noRecent": "Out of Date",
|
||||
"totalUsed": "Used Storage"
|
||||
"errored": "Erreurs",
|
||||
"noRecent": "Obsolète",
|
||||
"totalUsed": "Esp. Utilisé"
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ export default function Resource({ children, icon, value, label, expandedValue =
|
||||
<div className="pr-1">{expandedLabel}</div>
|
||||
</div>
|
||||
}
|
||||
{ percentage && <UsageBar percent={percentage} /> }
|
||||
{ percentage >= 0 && <UsageBar percent={percentage} /> }
|
||||
{ children }
|
||||
</div>
|
||||
</div>;
|
||||
|
@ -9,10 +9,10 @@ const widget = {
|
||||
endpoint: "core/users?page_size=1",
|
||||
},
|
||||
login: {
|
||||
endpoint: "events/events/per_month/?action=login&query={}",
|
||||
endpoint: "events/events/per_month/?action=login",
|
||||
},
|
||||
login_failed: {
|
||||
endpoint: "events/events/per_month/?action=login_failed&query={}",
|
||||
endpoint: "events/events/per_month/?action=login_failed",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user