login.html 6.5 KB
<!DOCTYPE html>
<html lang="{$config.language}">
	<head>
		{include file="common/meta" /}
		<meta charset="utf-8">
		<meta name="viewport" content="user-scalable=0,width=device-width, initial-scale=0.3,minimum-scale=1.0,">
		<link href="__CDN__/assets/css/student_login.css" rel="stylesheet">
		<style type="text/css">
			@media screen and (max-width:600px) {
				.white_bg .school_name{
					font-size: 25px !important;
				}
				html.ios-fix, html.ios-fix body{
					overflow: hidden;
				}
				.white_bg>img{
					display: none;
				}
				.opacity {
					width: 100% !important;
					height: 70% !important;
					top: 14.5% !important;
				}
				.white_bg{
					display: flex !important;
					flex-direction: column !important;
					align-items: center !important;
					padding: 0 !important;
				}
				.white_bg .school_name{
					font-size: 25px !important;
					width: auto !important;
					left: auto !important;
				}
				.white_bg .bgc_img{
					width: 98% !important;
					margin: auto;
				}
			}

			body {
				color: #999;
				background:url('{$background}');
				background-image: url(../../../../assets/img/administor.png);
				background-size: cover;
			}

			a {
				color: #fff;
			}

			.login-panel {
				margin-top: 150px;
			}

			.container {
				width: 100%;
				height: 100%;
			}

			.opacity {
				width: 82%;
				height: 85%;
				background-color: rgba(255, 255, 255, .3);
				position: relative;
				z-index: 0;
				margin: auto;
				top: 7.5%;
				border-radius: 20px;
			}

			.white_bg {
				width: 97%;
				height: 94%;
				background-color: #fff;
				z-index: ;
				position: relative;
				border-radius: 10px;
				margin: auto;
				top: 3%;
				display: flex;
				flex-direction: row;
				justify-content: space-around;
				align-items: center;
				padding: 0 0 0 100px;
			}

			.white_bg .bgc_img {
				background: url(../../../../assets/img/login_bg.png) no-repeat center;
				z-index: 1;
				width: 38%;
				height: 415px;
				position: relative;
				background-size: 207% 261%;
			}

			.white_bg>img {
				width: 50%;
			}

			.well {
				border-radius: 3px;
				-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
				box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
				background: rgba(255, 255, 255, 0.2);
				width: 92.5% !important;
				height: 82.5% !important;
				position: absolute;
				z-index: 2;
				top: 14.5%;
				left: 3.8%;
			}

			.copyright {
				text-align: center;
			}

			.profile-img-card {
				width: 100px;
				height: 100px;
				margin: 10px auto;
				display: block;
				-moz-border-radius: 50%;
				-webkit-border-radius: 50%;
				border-radius: 50%;
			}

			.profile-name-card {
				text-align: center;
			}

			#login-form {
				margin-top: 35px;
			}

			#login-form .input-group {
				margin-bottom: 25px;
			}
			.input-group .form-control {
				height: 5rem;
			}
			.btn-success{
				background-color: #0099ff;
			}
			.white_bg  .school_name{
				font-size: 25px; 
				color: #0099ff;
				/* margin-left: 15px; */
				font-size: 40px;
	            position: absolute;
	            top: 20px;
	            left: 20px;
	            color: #069bff;
	            width: 1200px;
			}
			.psw{
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				align-items: center;
			}
			.change_password a{
				color: #069bff;
			}
		</style>
	</head>
	<body>
		<div class="container">
			<div class="opacity">
				<div class="white_bg">
					<div class="school_name">{$schoolInfo.name}创新创业教育云平台</div>
					<div class="bgc_img">
						<div class="well login-form">
							<!-- <img id="profile-img" class="profile-img-card"
								onerror="src='/assets/img/default_avatar.png';return"
								src="{$schoolInfo.logo}" /> -->
							<p style="font-size: 25px;">管理员登录</p>
							<p id="profile-name" class="profile-name-card"></p>

							<form action="" method="post" id="login-form">
								<div id="errtips" class="hide"></div>
								{:token()}
								<div class="input-group">
									<div class="input-group-addon"><span class="glyphicon glyphicon-user"
											aria-hidden="true"></span></div>
									<input type="text" class="form-control" id="pd-form-username"
										placeholder="{:__('Username')}" name="username" autocomplete="off" value="" style="font-size: 14px;"
										data-rule="{:__('Username')}:required;username" />
								</div>
								<div class="input-group">
									<div class="input-group-addon"><span class="glyphicon glyphicon-lock"
											aria-hidden="true"></span></div>
									<input type="password" class="form-control" id="pd-form-password" style="font-size: 14px;"
										placeholder="{:__('Password')}" name="password" autocomplete="off" value=""
										data-rule="{:__('Password')}:required;password" />
								</div>
								{if $config.fastadmin.login_captcha}
								<div class="input-group">
									<div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal"
											aria-hidden="true"></span>
									</div>
									<input type="text" name="captcha" class="form-control"
										placeholder="{:__('Captcha')}"
										data-rule="{:__('Captcha')}:required;length(4)" />
									<span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">
										<img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100"
											height="30"
											onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();" />
									</span>
								</div>
								{/if}
								<div class="form-group psw">
									<label class="inline" for="keeplogin">
										<input type="checkbox" name="keeplogin" id="keeplogin" value="1" />
										{:__('Keep login')}
									</label>
									<div class="change_password">
										<!-- <a href="{:url('/school/index/forget_adminword')}">忘记密码</a>  -->
									</div>
								</div>
								<div class="form-group">
									<button type="submit" class="btn btn-success btn-lg btn-block">{:__('登录')}</button>
								</div>
							</form>
						</div>
					</div>
					<img src="../../../../assets/img/right_img.png" />
				</div>
			</div>
		</div>
		{include file="common/script" /}
	</body>
	<?php
$tetle="位来足迹";
?>
<script>
	// (function() {var _53code = document.createElement("script");_53code.src = "https://tb.53kf.com/code/code/061c0643143fb48c0ba8ed392b950cb06/1?u_cust_id=1&u_cust_name={$tetle}&u_custom_info={$tetle}";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(_53code, s);})();
</script>
<script>
	function login(){
		//window.location.href = "{:url('/index/student_index')}";
	}

</script>
</html>