Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
P
Project_Laravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Nguyen Huu Huan
Project_Laravel
Commits
64e28c2c
Commit
64e28c2c
authored
Sep 10, 2022
by
Le Dinh Trung
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/bootstrap' into 'dev'
Update form register, login with Bootstrap See merge request
!2
parents
f831209f
cf8879e7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
0 deletions
+116
-0
login.blade.php
resources/views/login.blade.php
+52
-0
register.blade.php
resources/views/register.blade.php
+64
-0
No files found.
resources/views/login.blade.php
0 → 100644
View file @
64e28c2c
<!DOCTYPE html>
<html
lang=
"{{ str_replace('_', '-', app()->getLocale()) }}"
>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Laravel
</title>
<!-- Fonts -->
<link
href=
"https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap"
rel=
"stylesheet"
>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js"
integrity=
"sha384-7VPbUDkoPSGFnVtYi0QogXtr74QeVeeIs99Qfg5YCF+TidwNdjvaKZX19NZ/e6oz"
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"
></script>
<!-- Styles -->
<style>
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
</style>
<style>
body
{
font-family
:
'Nunito'
,
sans-serif
;
height
:
100vh
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<div
class=
"row d-flex justify-content-center align-items-center vh-100"
>
<div
class=
"col-md-4 border border-2 rounded p-3"
>
<form
method=
"POST"
action=
"/login"
>
<legend
class =
"text-center"
>
Đăng nhập
</legend>
<div
class=
"form-group mb-3"
>
<label
class=
"form-label"
>
Số điện thoại (*)
</label>
<input
type=
"text"
placeholder=
""
require
class=
"form-control"
name=
"phone"
>
</div>
<div
class=
"form-group mb-3"
>
<label
class=
"form-label"
>
Mật khẩu (*)
</label>
<input
type=
"password"
placeholder=
""
require
class=
"form-control"
name=
"password"
>
</div>
<div
class=
"form-group"
>
<input
type=
"hidden"
name=
"_token"
value=
"
<?php
echo
csrf_token
()
?>
"
>
</div>
<div
class=
"form-group d-flex justify-content-center"
>
<button
class=
"btn btn-success"
>
Đăng nhập
</button>
</div>
</form>
</div>
</div>
</div>
</body>
</html>
resources/views/register.blade.php
0 → 100644
View file @
64e28c2c
<!DOCTYPE html>
<html
lang=
"{{ str_replace('_', '-', app()->getLocale()) }}"
>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Laravel
</title>
<!-- Fonts -->
<link
href=
"https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap"
rel=
"stylesheet"
>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js"
integrity=
"sha384-7VPbUDkoPSGFnVtYi0QogXtr74QeVeeIs99Qfg5YCF+TidwNdjvaKZX19NZ/e6oz"
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"
></script>
<!-- Styles -->
<style>
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
</style>
<style>
body
{
font-family
:
'Nunito'
,
sans-serif
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<div
class=
"row d-flex justify-content-center align-items-center vh-100"
>
<div
class=
"col-md-4 border border-2 rounded p-3"
>
<form
method=
"POST"
action=
"/register"
>
@csrf
<legend
class =
"text-center"
>
Đăng kí
</legend>
<div
class=
"form-group mb-3"
>
<label
class=
"form-label"
>
Số điện thoại (*)
</label>
<input
type=
"text"
placeholder=
""
require
class=
"form-control"
name=
"phone"
>
</div>
<div
class=
"form-group mb-3"
>
<label
class=
"form-label"
>
Họ Tên (*)
</label>
<input
type=
"text"
placeholder=
""
require
class=
"form-control"
name=
"name"
>
</div>
<div
class=
"form-group mb-3"
>
<label
class=
"form-label"
>
Mật khẩu (*)
</label>
<input
type=
"password"
placeholder=
""
require
class=
"form-control"
name=
"password"
>
</div>
<div
class=
"form-group"
>
<input
type=
"checkbox"
name=
"register"
>
<label>
Đăng kí cửa hàng
</label>
</div>
<div
class=
"form-group mb-3"
>
<input
type=
"checkbox"
name=
"rule"
>
<label>
Tôi đồng ý với điều khoản sử dụng
</label>
</div>
<div
class=
"form-group mb-3"
>
<input
type=
"hidden"
name=
"_token"
value=
"
<?php
echo
csrf_token
()
?>
"
>
</div>
<div
class=
"form-group d-flex justify-content-center"
>
<button
class=
"btn btn-success"
>
Đăng kí
</button>
</div>
</form>
</div>
</div>
</div>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment