frc_timecards/app/templates/log.html

19 lines
795 B
HTML
Raw Permalink Normal View History

<?xml version = "1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/main.css') }}" />
<title>Log</title>
</head>
<body>
<form action="log" method="POST"><input type="date" name="after_date" value="{{after_date}}" /><input type="submit" /></form>
<form action="/log/modify" method="POST">
{% for swipe in swipes %}
<button type="submit" name="delete_id" value="{{swipe['id']}}">X</button>
{{ swipe['time'] }} | {{ swipe['first_name'] | safe }} | {{ swipe['last_name'] | safe }} <br>
{% endfor %}
</form>
</body>
</html>