登录页面

This commit is contained in:
李鹏宇
2026-08-07 10:32:16 +08:00
parent 37d8d3facc
commit ceb085c717
2 changed files with 11 additions and 2 deletions
@@ -110,3 +110,13 @@ html body.light-dm main:has(.o_database_list) .o_database_list .border-bottom {
max-width: 92% !important;
}
}
/* ===========================================================
隐藏 Odoo 默认 logo 和底部"管理数据库 | 由Odoo提供支持"
注:login_templates.xml 里的 xpath 方案因 web.login_layout
内部 <t t-call> 调用链导致深层元素不可匹配,改为 CSS 隐藏
=========================================================== */
.o_database_list .card-body > .text-center.pb-3,
.o_database_list .card-body > .text-center.small {
display: none !important;
}
+1 -2
View File
@@ -3,9 +3,8 @@
<!-- 在表单最顶部插入品牌标题 -->
<xpath expr="//form[@role='form']/input[@name='csrf_token']" position="before">
<div class="edu-login-head">
<div class="edu-login-brand">校园管理系统</div>
<div class="edu-login-brand">Odoo实训平台</div>
<h1 class="edu-login-title">欢迎登录</h1>
<p class="edu-login-sub">教职工 · 课程 · 成绩 · 出勤,一站式管理平台</p>
</div>
</xpath>
</template>