perf: 优化,添加登录页面图片链接到 github

pull/5696/head
ibuler 2021-03-11 15:44:43 +08:00 committed by Jiangjie.Bai
parent 102d3b590b
commit 25dfce621b
1 changed files with 8 additions and 1 deletions

View File

@ -113,13 +113,20 @@
margin: 0; margin: 0;
} }
#github_star {
float: right;
margin: 10px 10px 0 0;
}
</style> </style>
</head> </head>
<body> <body>
<div class="login-content "> <div class="login-content ">
<div class="right-image-box"> <div class="right-image-box">
<img src="{{ LOGIN_IMAGE_URL }}" style="height: 100%; width: 100%"/> <a href="{% if not XPACK_ENABLED %}https://github.com/jumpserver/jumpserver{% endif %}">
<img src="{{ LOGIN_IMAGE_URL }}" style="height: 100%; width: 100%"/>
</a>
</div> </div>
<div class="left-form-box {% if not form.challenge and not form.captcha %} no-captcha-challenge {% endif %}"> <div class="left-form-box {% if not form.challenge and not form.captcha %} no-captcha-challenge {% endif %}">
<div style="background-color: white"> <div style="background-color: white">