initial templates and static files
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
{% block head %}
|
||||||
|
<title>{% block title %}replaced? {% endblock %}</title>
|
||||||
|
{% endblock %}
|
||||||
|
<link rel="shortcut icon" href="{{ url_for('static',filename='favicon.ico') }}">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="content">{% block content %}{% endblock %}</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
{% block title %}Dashboard{% endblock %}
|
||||||
|
{% block content %}
|
||||||
|
<h1>Dashboard</h1>
|
||||||
|
<table id="data" class="table">
|
||||||
|
<capition>Contract</caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Date</th>
|
||||||
|
<th>Contract Stops</th>
|
||||||
|
<th>Terminal Packages</th>
|
||||||
|
<th>% of Terminal Volume</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for row in weekly %}
|
||||||
|
<tr>
|
||||||
|
<td>{{ row['date'] }}</td>
|
||||||
|
<td>{{ row['constp'] }}</td>
|
||||||
|
<td>{{ row['termpkg'] }}</td>
|
||||||
|
<td>{{ row['percent'] }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
{% endblock %}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
<p>
|
||||||
|
<table style="width:90%">
|
||||||
|
<tr>
|
||||||
|
<th>Exercise</th>
|
||||||
|
<th>Sets/Reps</th>
|
||||||
|
<th>Rest</th>
|
||||||
|
<th>HowTo</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Push-ups</th>
|
||||||
|
<th>2x12</th>
|
||||||
|
<th>60s</th>
|
||||||
|
<th>insert URL here</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Rows</th>
|
||||||
|
<th>2x12</th>
|
||||||
|
<th>60s</th>
|
||||||
|
<th>insert URL here</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Glute Bridge</th>
|
||||||
|
<th>2x11</th>
|
||||||
|
<th>60s</th>
|
||||||
|
<th>insert URL here</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Squat</th>
|
||||||
|
<th>2x9</th>
|
||||||
|
<th>60s</th>
|
||||||
|
<th>insert URL here</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Deadbugs</th>
|
||||||
|
<th>3x15s</th>
|
||||||
|
<th>60s</th>
|
||||||
|
<th>insert URL here</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Birddogs</th>
|
||||||
|
<th>3x10s</th>
|
||||||
|
<th>60s</th>
|
||||||
|
<th>insert URL here</th>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</p>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<p>
|
||||||
|
<a href="exercise.html">Exercise Dude</a>
|
||||||
|
<a href="jbl.html">JBL Data</a>
|
||||||
|
</p>
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<p>
|
||||||
|
<table style="width:90%">
|
||||||
|
<capition>Contract</caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Date</th>
|
||||||
|
<th>Contract Stops</th>
|
||||||
|
<th>Terminal Packages</th>
|
||||||
|
<th>% of Terminal Volume</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for row in sqldata %}
|
||||||
|
<tr>
|
||||||
|
<td>{{ row[0] }}</td>
|
||||||
|
<td>{{ row[1] }}</td>
|
||||||
|
<td>{{ row[2] }}</td>
|
||||||
|
<td>{{ row[3] }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
Reference in New Issue
Block a user