-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
237 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,43 @@ | ||
{% load static %} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Onion News</title> | ||
|
||
<!--- favicon--> | ||
<link rel="shortcut icon" href="{% static './assets/images/news.png' %}" type="image/x-icon"> | ||
<link | ||
rel="shortcut icon" | ||
href="{% static './assets/images/news.png' %}" | ||
type="image/x-icon" | ||
/> | ||
|
||
<!-- google cdns --> | ||
<link rel="preconnect" href="https://fonts.gstatic.com"> | ||
|
||
<!-- apps stylesheets --> | ||
|
||
</head> | ||
<body> | ||
{% block authentication %} | ||
<link rel="preconnect" href="https://fonts.gstatic.com" /> | ||
<!-- boot strap --> | ||
<link | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
rel="stylesheet" | ||
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" | ||
crossorigin="anonymous" | ||
/> | ||
|
||
{% endblock authentication %} | ||
<!-- apps stylesheets --> | ||
</head> | ||
<body> | ||
{% block authentication %} {% endblock authentication %} | ||
<body class="light-theme"> | ||
|
||
<header> | ||
<div class="navbar-section"> | ||
{% include 'components/navbar.html' %} | ||
{% load social_share %} | ||
</div> | ||
{% block category %} | ||
{% endblock category %} | ||
{% block index %} | ||
{% endblock index %} | ||
</header> | ||
{% include 'components/footer.html' %} | ||
|
||
<header> | ||
<div class="navbar-section"> | ||
{% include 'components/navbar.html' %} {% load social_share %} | ||
</div> | ||
{% block category %} {% endblock category %} {% block index %} {% | ||
endblock index %} | ||
</header> | ||
{% include 'components/footer.html' %} | ||
</body> | ||
<!-- apps js --> | ||
<script src="{% static 'assets/js/userauth.js' %}"></script> | ||
</body> | ||
</html> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,85 @@ | ||
{% extends 'partials/base.html' %} | ||
{% load static %} | ||
|
||
{% block authentication %} | ||
{% extends 'partials/base.html' %} {% load static %} {% block authentication %} | ||
<div class="container"> | ||
<div class="main-container"> | ||
<div class="main-content"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<img src="../../static/assets/images/sign-in-animate.svg" style="width: max-content;"> | ||
</div> | ||
<div class="col-md-6" style="display: flex;align-items: center;justify-content: center;"> | ||
<div class="form-container"> | ||
<div class="form-content box"> | ||
<div class="logo"> | ||
<img src="../../static/assets/images/news.png" width="80px" alt="News logo" class="logo-light"> | ||
<img src="../../static/assets/images/news.png" width="80px" alt="News logo" class="logo-dark"> | ||
</div> | ||
|
||
<form method="POST"> | ||
{% csrf_token %} | ||
<div class="signin-form" id="signin-form"> | ||
<div class="form-group"> | ||
<div class="animate-input"> | ||
<span> | ||
Enter email | ||
</span> | ||
<input class="login-signup-input" type="text" name="email" maxlength="100" required="" id="login_username"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="animate-input"> | ||
<span> | ||
Enter Password | ||
</span> | ||
<input class="login-signup-input" type="password" name="password" autocomplete="current-password" required="" id="login_password"> | ||
<button>Show</button> | ||
</div> | ||
</div> | ||
<div class="btn-groupss"> | ||
<button class="btn-login" id="signin-btn" type="submit"> | ||
Sign In | ||
</button> | ||
</div> | ||
</div> | ||
</form> | ||
|
||
|
||
</div> | ||
<div class="box goto"> | ||
<p> | ||
<span style="color: var(--foreground-tertiary);">Don't have an account?</span> | ||
<a href="{% url 'userauths:sign-up' %}">Sign up</a> | ||
</p> | ||
</div> | ||
|
||
<div class="main-container"> | ||
<div class="main-content"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<img | ||
src="../../static/assets/images/sign-in-animate.svg" | ||
style="width: max-content" | ||
/> | ||
</div> | ||
<div | ||
class="col-md-6" | ||
style="display: flex; align-items: center; justify-content: center" | ||
> | ||
<div class="form-container"> | ||
<div class="form-content box"> | ||
<div class="logo"> | ||
<img | ||
src="../../static/assets/images/news.png" | ||
width="80px" | ||
alt="News logo" | ||
class="logo-light" | ||
/> | ||
<img | ||
src="../../static/assets/images/news.png" | ||
width="80px" | ||
alt="News logo" | ||
class="logo-dark" | ||
/> | ||
</div> | ||
|
||
<form method="POST"> | ||
{% csrf_token %} | ||
<div class="signin-form" id="signin-form"> | ||
<div class="form-group"> | ||
<div class="animate-input"> | ||
<span> Enter email </span> | ||
<input | ||
class="login-signup-input form-control" | ||
type="text" | ||
name="email" | ||
maxlength="100" | ||
required="" | ||
id="login_username" | ||
/> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="animate-input"> | ||
<span> Enter Password </span> | ||
<input | ||
class="login-signup-input form-control" | ||
type="password" | ||
name="password" | ||
autocomplete="current-password" | ||
required="" | ||
id="login_password" | ||
/> | ||
<button>Show</button> | ||
</div> | ||
</div> | ||
<div class="btn-groupss"> | ||
<button class="btn-login" id="signin-btn" type="submit"> | ||
Sign In | ||
</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="box goto"> | ||
<p> | ||
<span style="color: var(--foreground-tertiary)" | ||
>Don't have an account?</span | ||
> | ||
<a href="{% url 'userauths:sign-up' %}">Sign up</a> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock authentication %} | ||
{% endblock authentication %} |
Oops, something went wrong.