Skip to content

Commit

Permalink
template updates
Browse files Browse the repository at this point in the history
  • Loading branch information
asis2016 committed Jan 4, 2024
1 parent 9e6491e commit 2efd001
Show file tree
Hide file tree
Showing 17 changed files with 11,847 additions and 4,105 deletions.
967 changes: 710 additions & 257 deletions 404/index.html

Large diffs are not rendered by default.

134 changes: 79 additions & 55 deletions accounts/login/index.html
Original file line number Diff line number Diff line change
@@ -1,69 +1,93 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" data-bs-theme="dark">

<head>
<meta charset="UTF-8">
<meta name="description" content="Dark Django admin template">
<meta name="keywords" content="Django, Bootstrap v5.3.2, HTML, CSS, JavaScript">
<meta name="author" content="Ashish S. Maharjan">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dark Django admin template | Login</title>
<head>
<meta charset="UTF-8" />
<meta name="description" content="adminAM - Bootstrap 5 admin template" />
<meta
name="keywords"
content="Django, Bootstrap v5.3.2, HTML, CSS, JavaScript"
/>
<meta name="author" content="Ashish S. Maharjan" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>adminAM - Bootstrap 5 admin template | Login</title>

<!-- CSS -->
<link href="../../static/css/bootstrap.min.css" rel="stylesheet">
<link href="../../static/css/style.css" rel="stylesheet">
<link href="../../static/css/bootstrap.min.css" rel="stylesheet" />
<link href="../../static/css/style.css" rel="stylesheet" />

<!-- todo: refactor -->
<style>
.form-signin {
max-width: 330px;
padding: 1rem;
}
.form-signin {
max-width: 330px;
padding: 1rem;
}

.form-signin .form-floating:focus-within {
z-index: 2;
}
.form-signin .form-floating:focus-within {
z-index: 2;
}

.form-signin input[type="email"] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.form-signin input[type="email"] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
</style>
</head>
</head>

<body class="d-flex align-items-center py-4">
<body class="d-flex align-items-center py-4">
<main class="form-signin w-100 m-auto text-center">
<form>
<img class="mb-4" src="../../static/img/logo-100x50.png" alt="Small logo">
<h1 class="h3 mb-3 fw-normal">Please sign in</h1>
<form>
<img
class="mb-4"
src="../../static/img/logo-100x50.png"
alt="Small logo"
/>
<h1 class="h3 mb-3 fw-normal">Please sign in</h1>

<div class="form-floating">
<input type="email" class="form-control" placeholder="[email protected]" id="email"
value="[email protected]" autocomplete="off">
<label for="email">Email address</label>
</div>
<div class="form-floating">
<input type="password" class="form-control" placeholder="Password" value="********************"
autocomplete="off">
<label for="floatingPassword">Password</label>
</div>
<div class="form-floating">
<input
type="email"
class="form-control"
placeholder="[email protected]"
id="email"
value="[email protected]"
autocomplete="off"
/>
<label for="email">Email address</label>
</div>
<div class="form-floating">
<input
type="password"
class="form-control"
placeholder="Password"
value="********************"
autocomplete="off"
/>
<label for="floatingPassword">Password</label>
</div>

<div class="form-check text-start my-3">
<input class="form-check-input" type="checkbox" value="remember-me" id="flexCheckDefault">
<label class="form-check-label" for="flexCheckDefault">
Remember me
</label>
</div>
<a class="btn btn-primary-amj w-100 py-2" href="../../index.html">Sign in</a>
<p class="mt-5 mb-3 text-body-secondary">&copy; 2024</p>
</form>
<div class="form-check text-start my-3">
<input
class="form-check-input"
type="checkbox"
value="remember-me"
id="flexCheckDefault"
/>
<label class="form-check-label" for="flexCheckDefault">
Remember me
</label>
</div>
<a class="btn btn-primary-amj w-100 py-2" href="../../index.html"
>Sign in</a
>
<p class="mt-5 mb-3 text-body-secondary">&copy; 2024</p>
</form>
</main>
</body>

</html>
</body>
</html>
132 changes: 79 additions & 53 deletions accounts/registration/index.html
Original file line number Diff line number Diff line change
@@ -1,64 +1,90 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" data-bs-theme="dark">

<head>
<meta charset="UTF-8">
<meta name="description" content="Dark Django admin template">
<meta name="keywords" content="Django, Bootstrap v5.3.2, HTML, CSS, JavaScript">
<meta name="author" content="Ashish S. Maharjan">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dark Django admin template | Login</title>
<head>
<meta charset="UTF-8" />
<meta name="description" content="adminAM - Bootstrap 5 admin template" />
<meta
name="keywords"
content="Django, Bootstrap v5.3.2, HTML, CSS, JavaScript"
/>
<meta name="author" content="Ashish S. Maharjan" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>adminAM - Bootstrap 5 admin template | Register</title>

<!-- CSS -->
<link href="../../static/css/bootstrap.min.css" rel="stylesheet">
<link href="../../static/css/style.css" rel="stylesheet">
<link href="../../static/css/bootstrap.min.css" rel="stylesheet" />
<link href="../../static/css/style.css" rel="stylesheet" />

<style>
.card {
max-width: 500px;
padding: 1rem;
}
.card {
max-width: 500px;
padding: 1rem;
}
</style>
</head>
</head>

<body class="d-flex justify-content-center align-items-center m-4">
<body class="d-flex justify-content-center align-items-center m-4">
<div class="card rounded-4 shadow">
<div class="card-header bg-none">
<h3>Sign up for free</h3>
</div>
<div class="card-body">
<form>
<div class="form-floating mb-3">
<input type="email" class="form-control rounded-3 bg-none" id="email" placeholder="[email protected]"
value="[email protected]">
<label for="email">Email address</label>
</div>
<div class="form-floating mb-3">
<input type="password" class="form-control rounded-3" id="pass" placeholder="Password"
value="********************">
<label for="pass">Password</label>
</div>
<a class="w-100 mb-2 btn btn-lg rounded-3 btn-primary-amj" href="../../index.html">Sign up</a>
<small>By clicking Sign up, you agree to the terms of use.</small>
<div class="card-body">
<h4 class="mb-0">Sign up for free</h4>
<div class="divider my-4"></div>
<form>
<div class="form-floating mb-3">
<input
type="email"
class="form-control rounded-3 bg-none"
id="email"
placeholder="[email protected]"
value="[email protected]"
/>
<label for="email">Email address</label>
</div>
<div class="form-floating mb-3">
<input
type="password"
class="form-control rounded-3"
id="pass"
placeholder="Password"
value="********************"
/>
<label for="pass">Password</label>
</div>
<a
class="w-100 mb-2 btn btn-lg rounded-3 btn-primary-amj"
href="../../index.html"
>Sign up</a
>
<small
>By clicking Sign up, you agree to the
<a href="index.html#">terms of use</a>.</small
>

<hr class="my-4">
<div class="divider my-4"></div>

<h6>Or use a third-party</h6>
<button class="w-100 py-2 mb-2 btn btn-outline-secondary rounded-3" type="submit">
<i class="bi bi-twitter-x me-2"></i>
Sign up with X
</button>
<button class="w-100 py-2 mb-2 rounded-3 btn btn-outline-amj" type="submit">
<i class="bi bi-facebook me-2"></i>
Sign up with Facebook
</button>
<button class="w-100 py-2 mb-2 btn btn-outline-secondary rounded-3" type="submit">
<i class="bi bi-github me-2"></i>
Sign up with GitHub
</button>
</form>
</div>
<h6>Or use a third-party</h6>
<button
class="w-100 py-2 mb-2 btn btn-outline-secondary rounded-3"
type="submit"
>
<i class="bi bi-twitter-x me-2"></i>
Sign up with X
</button>
<button
class="w-100 py-2 mb-2 rounded-3 btn btn-outline-amj"
type="submit"
>
<i class="bi bi-facebook me-2"></i>
Sign up with Facebook
</button>
<button
class="w-100 py-2 mb-2 btn btn-outline-secondary rounded-3"
type="submit"
>
<i class="bi bi-github me-2"></i>
Sign up with GitHub
</button>
</form>
</div>
</div>
</body>

</html>
</body>
</html>
Loading

0 comments on commit 2efd001

Please sign in to comment.