mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-01 14:48:13 +00:00
Fixed: Fix the issue with the login page footer
This commit is contained in:
parent
f3d9f4c446
commit
1de8781704
@ -18,7 +18,7 @@
|
||||
|
||||
<style>
|
||||
.login-content {
|
||||
{#box-shadow: 0 5px 5px -3px rgb(0 0 0 / 15%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%);#}
|
||||
box-shadow: 0 5px 5px -3px rgb(0 0 0 / 15%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%);
|
||||
}
|
||||
|
||||
.login-footer {
|
||||
@ -86,7 +86,7 @@
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #f3f3f3;
|
||||
{#height: calc(100vh - (100vh - 470px) / 3);#}
|
||||
{#height: calc(100vh - (100vh - 470px) / 3);#}
|
||||
}
|
||||
|
||||
|
||||
|
@ -13,20 +13,32 @@
|
||||
|
||||
{% if INTERFACE.footer_content %}
|
||||
<style>
|
||||
.markdown-footer a {
|
||||
color: #428bca;
|
||||
}
|
||||
|
||||
.markdown-footer {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transform: translateX(-50%);
|
||||
width: 285px;
|
||||
}
|
||||
|
||||
|
||||
.markdown-footer p {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.markdown-footer a {
|
||||
color: #428bca;
|
||||
}
|
||||
</style>
|
||||
<div id="markdown-output" class="markdown-footer"></div>
|
||||
{% endif %}
|
||||
@ -46,7 +58,7 @@
|
||||
html: true,
|
||||
linkify: true,
|
||||
typographer: true,
|
||||
breaks: true
|
||||
breaks: false
|
||||
});
|
||||
const markdownContent = `{{ INTERFACE.footer_content|escapejs }}`;
|
||||
const markdownRef = document.getElementById('markdown-output');
|
||||
|
Loading…
Reference in New Issue
Block a user