This commit is contained in:
2026-06-29 10:51:59 +08:00
parent 776e122adf
commit 39440f2ad4
5 changed files with 8 additions and 16 deletions
+2 -1
View File
@@ -1076,7 +1076,8 @@ async def list_system_configs(
admin: User = Depends(get_admin_user),
db: AsyncSession = Depends(get_db),
):
result = await db.execute(select(SystemConfig))
deprecated_keys = {"user_agreement_url", "privacy_policy_url"}
result = await db.execute(select(SystemConfig).where(~SystemConfig.key.in_(deprecated_keys)))
return result.scalars().all()
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -28,8 +28,8 @@
}
})();
</script>
<script type="module" crossorigin src="/assets/index-Ce4rxk1z.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DPfgSIY6.css">
<script type="module" crossorigin src="/assets/index-Cp3nLdxN.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CWoSQevq.css">
</head>
<body>
<div id="root"></div>
+3 -12
View File
@@ -180,10 +180,12 @@
.login-right-section {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 1;
padding: 16px 16px 32px;
gap: 20px;
}
@media (min-width: 900px) {
@@ -378,7 +380,6 @@
.login-copyright {
text-align: center;
margin-top: 20px;
}
.login-copyright-text {
@@ -386,19 +387,9 @@
color: #94a3b8 !important;
}
@media (min-width: 900px) {
.login-copyright {
position: absolute;
bottom: 24px;
left: 0;
right: 0;
text-align: center;
}
}
@media (max-width: 480px) {
.login-copyright {
margin-top: 16px;
margin-top: -8px;
}
.login-copyright-text {