Initial commit with the basic bones of the app and webpage up. Need to fill in the functions and routing next.
This commit is contained in:
19
application/templates/head.html
Normal file
19
application/templates/head.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='np-favicon.png') }}">
|
||||
<title>Song Writing Prompt Machine</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename="styles.css") }}" />
|
||||
</head>
|
||||
<body>
|
||||
{% block content %} {% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
3
application/templates/header.html
Normal file
3
application/templates/header.html
Normal file
@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html>
|
||||
<header class="header">
|
||||
</header>
|
||||
44
application/templates/index.html
Normal file
44
application/templates/index.html
Normal file
@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
{% include 'head.html' %}
|
||||
{% include 'header.html' %}
|
||||
{% block content %}
|
||||
<div class="main-container">
|
||||
<h1> Get Inspired with a Song Writing Prompt! </h1>
|
||||
<h3> Please select from below </h3>
|
||||
<h2> {{ session.list_response }} </strong></h4>
|
||||
<div class="prompt-questions">
|
||||
<form class="prompt"
|
||||
action="{{ url_for("prompt_influence")}}"
|
||||
method="post">
|
||||
<input id="fields" type="keywords" name="keyword-influence">
|
||||
<input class="prompt-button"
|
||||
id="fields" type="submit" value="Submit Prompt Only">
|
||||
</form>
|
||||
<form class="prompt"
|
||||
action="{{ url_for("prompt_key")}}"
|
||||
method="post">
|
||||
<input class="prompt-button"
|
||||
id="fields" type="submit" value="Submit Prompt Key Only">
|
||||
</form>
|
||||
<form class="prompt"
|
||||
action="{{ url_for("prompt_timesig")}}"
|
||||
method="post">
|
||||
<input class="prompt-button"
|
||||
id="fields" type="submit" value="Submit Prompt Time Signature Only">
|
||||
</form>
|
||||
<form class="prompt"
|
||||
action="{{ url_for("prompt_instrument")}}"
|
||||
method="post">
|
||||
<input class="prompt-button"
|
||||
id="fields" type="submit" value="Submit Prompt instrument Only">
|
||||
</form>
|
||||
<form class="prompt"
|
||||
action="{{ url_for("prompt_all")}}"
|
||||
method="post">
|
||||
<input class="prompt-button"
|
||||
id="fields" type="submit" value="Submit Prompt all Only">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user