Added login inermission page.
This commit is contained in:
@@ -54,19 +54,14 @@
|
||||
{% else %}
|
||||
<p class="inputs">
|
||||
<br>
|
||||
<a href="{% url 'signin' %}"><button id="begin">BEGIN</button></a>
|
||||
<a href="{% url 'log' %}"><button id="begin">BEGIN</button></a>
|
||||
<br>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<!--p class="inputs">
|
||||
<br>
|
||||
<a href="{% url 'logout' %}"><button id="begin">BEGIN</button></a>
|
||||
<br>
|
||||
</p-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ r }}
|
||||
|
||||
|
||||
<script type="text/javascript" src="indexJs.js"></script>
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Reflex | Login</title>
|
||||
|
||||
{% load static %}
|
||||
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{% static '/home/main2.css' %}">
|
||||
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Rubik" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
|
||||
<!-- Optional theme -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
|
||||
|
||||
<!-- Latest compiled and minified JavaScript -->
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id= "nav">
|
||||
|
||||
</div>
|
||||
<div id="profile-option">
|
||||
<a href="{% url 'signin' %}"> <img src = "https://www.shareicon.net/download/2016/07/05/791214_man_512x512.png" id = "icon"></a>
|
||||
<br> <p> <strong><span id="devam">Devam Shroff</span> </strong> </p>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -24,6 +24,6 @@
|
||||
<p>Logged out!</p>
|
||||
|
||||
<button id="begin"><a href="{% url 'home'%}">Home</a></button><br>
|
||||
<button id="begin"><a href="{% url 'signin'%}">Sign-in</a></button>
|
||||
<button id="begin"><a href="{% url 'log'%}">Sign-in</a></button>
|
||||
{% endblock %}
|
||||
</body>
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
{% block title %}Login{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Login</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button type="submit">Login</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user