Files
sam-sales/login/login_form.php
2025-12-17 12:59:26 +09:00

55 lines
2.0 KiB
PHP

<?php require_once(dirname(__DIR__) . '/session.php'); ?>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" >
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" ></script>
<title>SAM Sales Login</title>
</head>
<style>
html,body {
height: 100%;
}
</style>
<body>
<div class="container h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-1"></div>
<div class="col-10 text-center">
<div class="card align-middle" style="width:20rem; border-radius:20px; margin: auto;">
<div class="card" style="padding:15px;margin:10px;">
<h3 class="card-title text-center" style="color:#113366;">SAM Sales Portal</h3>
</div>
<div class="card-body text-center">
<form class="form-signin" method="post" action="login_result.php">
<h5 class="form-signin-heading">로그인</h5>
<label for="inputEmail" class="sr-only">Your ID</label>
<input type="text" name="uid" class="form-control" placeholder="ID" required autofocus><br>
<label for="inputPassword" class="sr-only">Password</label>
<input type="password" name="upw" class="form-control" placeholder="Password" required><br>
<button id="btn-Yes" class="btn btn-lg btn-primary btn-block" type="submit">로 그 인</button>
</form>
</div>
</div>
</div>
<div class="col-1"></div>
</div>
</div>
</body>
</html>