mirror of
https://github.com/ProgramSnail/python_web_proj_2021.git
synced 2025-12-28 13:28:43 +00:00
prototype of ui, db connection
This commit is contained in:
parent
f5beb70c3d
commit
68a3b3ca1e
6 changed files with 122 additions and 22 deletions
33
templates/login.html
Normal file
33
templates/login.html
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Language Learner</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/static/w3.css">
|
||||
<link rel="stylesheet" href="/static/fontawesome/css/all.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="w3-container w3-dark-gray">
|
||||
<h1><i class="fas fa-dice-d20"></i> Language Learner</h1>
|
||||
</header>
|
||||
<div class="w3-container w3-margin">
|
||||
<div class="w3-container w3-third"></div>
|
||||
<div class="w3-panel w3-card w3-third">
|
||||
<form method="POST" action="" class="w3-container w3-margin w3-center">
|
||||
<h2>Log in / Sign up</h2>
|
||||
<label>Name</label>
|
||||
<input class="w3-input w3-section" type="text"
|
||||
name="name" placeholder="Enter Name" required="">
|
||||
<label>Password</label>
|
||||
<input class="w3-input w3-section" type="password"
|
||||
name="password" placeholder="Enter Password" required="">
|
||||
<input class="w3-button w3-green w3-section" type="submit" value="Submit">
|
||||
</form>
|
||||
</div>
|
||||
<div class="w3-container w3-third"></div>
|
||||
</div>
|
||||
<footer class="w3-container w3-light-gray">
|
||||
<label class="w3-center">My app.</label>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue