修改登录页面logo

This commit is contained in:
WEB许何哲\xuhez
2023-07-18 11:36:12 +08:00
parent a11dcc16f0
commit b22cc7f19f
3 changed files with 7 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View File

@@ -411,10 +411,15 @@ body.backend-login-page{
.o_database_list { .o_database_list {
max-width: 500px !important; max-width: 500px !important;
transform: translate(-50%,-50%); transform: translate(-50%,-50%);
top: 50%; top: 40%;
position: absolute; position: absolute;
left: 50%; left: 50%;
width: 100%; width: 100%;
max-height: 80vh; max-height: 80vh;
background-color: transparent !important; background-color: transparent !important;
}
.card-body>.text-center>.img-fluid {
width: 45% !important;
//height: 50px !important;
} }

View File

@@ -35,7 +35,7 @@
<xpath expr="//div[hasclass('card-body')]//div[contains(@t-attf-class, 'text-center pb-3 border-bottom')]/img" position="attributes"> <xpath expr="//div[hasclass('card-body')]//div[contains(@t-attf-class, 'text-center pb-3 border-bottom')]/img" position="attributes">
<attribute name="style"></attribute> <attribute name="style"></attribute>
<attribute name="class" add="img img-fluid w-50 mx-auto" separator=" "></attribute> <attribute name="class" add="img img-fluid w-50 mx-auto" separator=" "></attribute>
<attribute name="t-attf-src">/web/image/res.company/#{company.id}/logo</attribute> <attribute name="t-attf-src">/spiffy_theme_backend/static/src/image/jikimo-logo.png</attribute>
</xpath> </xpath>
<xpath expr="//t[@t-if='not disable_database_manager']//a" position="attributes"> <xpath expr="//t[@t-if='not disable_database_manager']//a" position="attributes">