Deliverables Python Flasks

Can I get help with this. Please let me know if you have any questions. Below is the reference with appropriate information.


This exercise uses your programming environment to enhance the Web site you created last week with additional functionality to include images, tables and a Form using Python flask. Specifically, you will add two (2) additional routes allowing a user to register and login to a web site. Additional security considerations include other routes (beyond the register route) will not be accessible until a successful login has occurred.

In addition to the requirements list above the following functionality should be found within your web site on one or more web pages.


 Add at least 4 different images (any type of picture you'd like). The images should be local in your environment. For example, they should be saved in your environment and referenced similar to this syntax: <img src="image.gif">


 A Table with at least 4 rows and 3 columns (fill with any info you'd' like).


 A user registration form


 A user login form


 A password complexity should be enforced to include at least 12 characters in length, and include at least 1 uppercase character, 1 lowercase character, 1 number and 1 special character.

The content and topic of the new images, and tables are up to you. How much is required for the user registration is up to you as well. However, the registration and associated login should contain at least a login name and password.




REFRENCE ASSIGNMENT


Copyable Code


Folder Structure


static styles # style.css templates <> index.html page2.html <> page3.html app.py


app.py


from datetime import date

from flask import Flask, render_template

app = Flask(__name__)

@app.route('/')

@app.route('/index.html')

def home():

   return render_template('index.html', date = date.today() )

@app.route('/page2.html')

def page2():

   return render_template('page2.html', date = date.today() )

@app.route('/page3.html')

def page3():

   return render_template('page3.html', date = date.today() )

if __name__ == '__main__':

   app.run(debug = True)


1 2 from datetime import date from flask import Flask, render_template app = Flask(_name_) 3 4 5 @app.route(7) @app.route(


index.html


<html>

<head>

    <title>Index Page</title>

    <link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/style.css') }}">

</head>

<body>

    <h1>Page 1</h1>

    <h2>Heading 2</h2>

    <h3>Heading 3</h3>

    <div class="separate">

        <ol>

            <li>One</li>

            <li>Two</li>

        </ol>

    </div>

    <div class="separate">

        <ul>

            <li>One</li>

            <li>Two</li>

        </ul>

    </div>

    <!--Display the date passed from python-->

    <p>Today is {{date}}</p>

    <br>

    <a href="https://www.google.com">Visit Site1</a>

    <a href="https://www.google.com">Visit Site2</a>

    <a href="https://www.google.com">Visit Site3</a>

    <br>

    <a href="/page2.html">Page 2</a>

    <a href="/page3.html">Page 3</a>

</body>

</html>


<html> 1 2 3 4 <head> <title>Index Page</title> <link rel=stylesheet type=text/css href= {{ url_for(static, filename=


page2.html


<html>

<head>

    <title>Page 2</title>

    <link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/style.css') }}">

</head>

<body>

    <h1>Page 2</h1>

    <h2>Heading 2</h2>

    <h3>Heading 3</h3>

    <div class="separate">

        <ol>

            <li>One</li>

            <li>Two</li>

        </ol>

    </div>

    <div class="separate">

        <ul>

            <li>One</li>

            <li>Two</li>

        </ul>

    </div>

    <!--Display the date passed from python-->

    <p>Today is {{date}}</p>

    <br>

    <a href="https://www.google.com">Visit Site1</a>

    <a href="https://www.google.com">Visit Site2</a>

    <a href="https://www.google.com">Visit Site3</a>

    <br>

    <a href="/index.html">Home Page</a>

    <a href="/page3.html">Page 3</a>

</body>

</html>


<html> 1 2 3 4 <head> <title>Page 2</title> <link rel=stylesheet type=text/css href= {{ url_for(static, filename=styl


page3.html


<html>

<head>

    <title>Page 3</title>

    <link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='styles/style.css') }}">

</head>

<body>

    <h1>Page 3</h1>

    <h2>Heading 2</h2>

    <h3>Heading 3</h3>

    <div class="separate">

        <ol>

            <li>One</li>

            <li>Two</li>

        </ol>

    </div>

    <div class="separate">

        <ul>

            <li>One</li>

            <li>Two</li>

        </ul>

    </div>

    <!--Display the date passed from python-->

    <p>Today is {{date}}</p>

    <br>

    <a href="https://www.google.com">Visit Site1</a>

    <a href="https://www.google.com">Visit Site2</a>

    <a href="https://www.google.com">Visit Site3</a>

    <br>

    <a href="/index.html">Home Page</a>

    <a href="/page2.html">Page 3</a>

</body>

</html>


1 <html> 2 3 4 5 6 7 8 <head> <title>Page 3</title> <link rel=stylesheet type=text/css href={{ url_for(static,filename


style.css

.separate{

    margin-top: 10px;

}


static > styles > # style.css > separate 1 .separated 2 margin-top: 10px; 3 }


OUTPUT


Page 1 Heading 2 Heading 3 1. One 2. Two • One • Two Today is 2020-08-21 Visit Sitel Visit Site2 Visit Site3 Page 2 Page 3

Get Help With a similar task to - Deliverables Python Flasks

Login to view and/or buy answers.. or post an answer

Related Questions

Similar orders to Deliverables Python Flasks
22
Views
0
Answers
introduction to programming fundamentals -
Problem Description Every business needs a mechanism to manage and track its transactions, which should be robust and efficient. You are hired by a new high-street clothing brand to develop software that manages and tracks every transaction. You are requi...
20
Views
0
Answers
Simple Python Work
To create the task shown in the screenshot: Create Number 9...
18
Views
0
Answers
Python assignment
At least 2/3 of the assignment done please...
30
Views
0
Answers
Python assigment, 3 questions and 55 marks total
There are three questions, and it would be great to have at least 2/3 of the questions completed....