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": {
|
"urbackup": {
|
||||||
"ok": "Ok",
|
"ok": "Ok",
|
||||||
"errored": "Errors",
|
"errored": "Erreurs",
|
||||||
"noRecent": "Out of Date",
|
"noRecent": "Obsolète",
|
||||||
"totalUsed": "Used Storage"
|
"totalUsed": "Esp. Utilisé"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ export default function Resource({ children, icon, value, label, expandedValue =
|
|||||||
<div className="pr-1">{expandedLabel}</div>
|
<div className="pr-1">{expandedLabel}</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
{ percentage && <UsageBar percent={percentage} /> }
|
{ percentage >= 0 && <UsageBar percent={percentage} /> }
|
||||||
{ children }
|
{ children }
|
||||||
</div>
|
</div>
|
||||||
</div>;
|
</div>;
|
||||||
|
@ -9,10 +9,10 @@ const widget = {
|
|||||||
endpoint: "core/users?page_size=1",
|
endpoint: "core/users?page_size=1",
|
||||||
},
|
},
|
||||||
login: {
|
login: {
|
||||||
endpoint: "events/events/per_month/?action=login&query={}",
|
endpoint: "events/events/per_month/?action=login",
|
||||||
},
|
},
|
||||||
login_failed: {
|
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