cfmgrv4 init...2
This commit is contained in:
parent
ff80c95c44
commit
c71513e2d0
27
app/Views/front/login.php
Normal file
27
app/Views/front/login.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?= $this->extend(LAYOUTS[$viewDatas['layout']]['path']) ?>
|
||||
<?= $this->section('content') ?>
|
||||
<div class="layout_middle">
|
||||
<div class="layout_right">
|
||||
<div id="container" class="content">
|
||||
<link href="/css/<?= $viewDatas['layout'] ?>/login.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
<div class="login-container border rounded p-4 shadow">
|
||||
<?= form_open(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
|
||||
<h2 class="text-center mb-5">CF-MGR 로그인</h2>
|
||||
<div class="mb-3">
|
||||
<label for="userId" class="form-label">아이디</label>
|
||||
<input type="text" class="form-control" id="userId" name="id" value="<?= set_value('id') ?>" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="userPassword" class="form-label">비밀번호</label>
|
||||
<input type="password" class="form-control" id="userPassword" name="passwd" required>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
<?= anchor($viewDatas['google_url'], ICONS['GOOGLE'] . 'Google 로그인', ["class" => "btn btn-danger"]) ?>
|
||||
<button type="button" class="btn btn-outline-primary">회원가입</button>
|
||||
</div>
|
||||
<?= form_close(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->endSection() ?>
|
||||
Loading…
Reference in New Issue
Block a user