添加登陆界面logo设置选项

添加读取登录logo设置
This commit is contained in:
mlge 2019-01-02 03:40:35 +08:00 committed by GitHub
parent 6c657dcb05
commit 58b2f40d57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -759,6 +759,7 @@ function custom_html() {
$(document).ready(function(){
$( \'<p><div id="verification-slider"><div id="slider"><div id="slider_bg"></div><span id="label">»</span><span id="labelTip">Slide to Verificate</span></div><input type="hidden" name="verification" value="verification" /></div><p>\' ).insertBefore( $( ".submit" ) );
$(\'form\').attr(\'onsubmit\',\'return verificationOK();\');
$(\'a\').attr(\'style\',\'background-image: url('.akina_option('logo_img').'); width: 130px; height: 130px;\');
$(".forgetmenot").replaceWith(\'<p class="forgetmenot">Remember Me<input name="rememberme" id="rememberme" value="forever" type="checkbox"><label for="rememberme" style="float: right;margin-top: 5px;transform: scale(2);margin-right: -10px;"></label></p>\');
});
</script>';