Skip to content
Snippets Groups Projects
index.html 1.35 KiB
Newer Older
Alex's avatar
Alex committed
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Flask Template</title>
Alex's avatar
Alex committed
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        
    </head>
    <body>
        <h1 id="title">Imperial PaaS - Python Flask Template</h1>
Alex's avatar
Alex committed
        <nav>
            <ul>
                <li><a href="{{ url('home.home') }}">HOME</a></li>
                <li><a href="{{ url('auth.login') }}">LOGIN</a></li>
Alex's avatar
Alex committed
            </ul>
        </nav>

        <img src="{{ url('static', filename='img/python-logo.png') }}" width="100px" alt="python logo"/>

        <h2>What is Flask Template</h2>
Alex's avatar
Alex committed
        <p>
            Flask Template is a simple web app programmed in Python-3 using flask micro-framework. It is created for begginers to understand the basics of creating a flask web app and deploying it on the Heroku. It can also be used as a template to create your new flask web apps.
Alex's avatar
Alex committed
        </p><br>

        Example CRUD form:
        <form method="post" action="{{ url('home.entities') }}">
            Username:<br>
            <input type="text" name="username">
            <br>
            Email:<br>
            <input type="email" name="email">
            <br>
            <button type="submit">Create Entry</button>
        </form>
        <br>
        <a href="{{ url('home.entities') }}">View entities</a>
Alex's avatar
Alex committed
    </body>
</html>