Loaded with hockey files so web server loads:
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>TESTING: Search Parameters - Python Flask Hockey Results Search App</title>
|
||||
<link rel="stylesheet" media="screen" href ="static/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="static/css/bootstrap-theme.min.css">
|
||||
<meta name="viewport" content = "width=device-width, initial-scale=1.0">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<script src="static/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
<h2>Search Parameters</h2>
|
||||
<body>
|
||||
Please select your search parameters - search for both club and team
|
||||
<form method="post" action="/search-results">
|
||||
<dl>
|
||||
<p>
|
||||
<label for="inputClub">Club:</label>
|
||||
<select class="form-control" name="inputClub" required>
|
||||
{% for item in data %}
|
||||
<option value={{ item.hockeyClub }}>{{ item.hockeyClub }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<label for="inputTeam">Team:</label>
|
||||
<select class="form-control" name="inputTeam" required>
|
||||
<option value="A">A</option>
|
||||
<option value="B">B</option>
|
||||
<option value="C">C</option>
|
||||
<option value="D">D</option>
|
||||
<option value="E">E</option>
|
||||
<option value="F">F</option>
|
||||
<option value="G">G</option>
|
||||
<option value="H">H</option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<label for="startDate">Start Date:</label>
|
||||
<p/>
|
||||
<input type="date" name="startDate" data-date-format="DD-MM-YYYY"/>
|
||||
<p/>
|
||||
<label for="endDate">End Date:</label>
|
||||
<p/>
|
||||
<input type="date" name="endDate" data-date-format="DD-MM-YYYY"/>
|
||||
</p>
|
||||
</dl>
|
||||
<p>
|
||||
<button type="submit" class="btn btn-success">Submit</button>
|
||||
<a class="btn btn-danger" href="/dashboard" role="button">Cancel</a>
|
||||
</p>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user