Skip to content

Commit

Permalink
Updated files
Browse files Browse the repository at this point in the history
  • Loading branch information
jhustles committed Oct 1, 2020
1 parent d9b7bb0 commit 6a4cc86
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 43 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified static/.DS_Store
Binary file not shown.
Binary file modified static/img/.DS_Store
Binary file not shown.
Binary file modified static/img/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 42 additions & 41 deletions templates/history.html
Original file line number Diff line number Diff line change
@@ -1,50 +1,51 @@
{% extends "layout.html" %}
{% block main %}
<div class="bg-light">
<div class="d-flex justify-content-between" style="margin-bottom: 1%;">
<div>
<h2 style="color: black;">Account: {{ username }}</h2>
</div>
<div>
<h2 style="color: deeppink;">Order History</h3>
<div class="d-flex justify-content-center align-items-center"></div>
<div class="bg-light ">
<div class="d-flex justify-content-between" style="margin-bottom: 1%;">
<div>
<h2 style="color: black;">Account: {{ username }}</h2>
</div>
<div>
<h2 style="color: deeppink;">Order History</h3>
</div>
<div>
<h2>{{ current_datetime }}</h2>
</div>
</div>
<div>
<h2>{{ current_datetime }}</h2>
<table class="table table-bordered table-hover table-responsive-sm">
<thead>
<tr>
<th scope="col">Date & Time</th>
<th scope="col">Order Type</th>
<th scope="col">Symbol</th>
<th scope="col">Company</th>
<th scope="col">Shares</th>
<th scope="col">Price (USD$)</th>
<th scope="col">Total</th>
<th scope="col">Exchange</th>
</tr>
</thead>
<tbody>
{% for item in items %}
<tr>
<td>{{ item.datetime }}</td>
<td>{{ item.ordertype }}</td>
<td>{{ item.symbol }}</td>
<td>{{ item.name }}</td>
<td>{{ item.quantity }}</td>
<td>{{ item.price }}</td>
<td>{{ item.total }}</td>
<td>{{ item.exchange }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
<div>
<table class="table table-bordered table-hover table-responsive-sm">
<thead>
<tr>
<th scope="col">Date & Time</th>
<th scope="col">Order Type</th>
<th scope="col">Symbol</th>
<th scope="col">Company</th>
<th scope="col">Shares</th>
<th scope="col">Price (USD$)</th>
<th scope="col">Total</th>
<th scope="col">Exchange</th>
</tr>
</thead>
<tbody>
{% for item in items %}
<tr>
<td>{{ item.datetime }}</td>
<td>{{ item.ordertype }}</td>
<td>{{ item.symbol }}</td>
<td>{{ item.name }}</td>
<td>{{ item.quantity }}</td>
<td>{{ item.price }}</td>
<td>{{ item.total }}</td>
<td>{{ item.exchange }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<div class="d-flex justify-content-center" style="color: violet;">
<h5 class="bg-light">{{ message }}</h5>
</div>
</div>
<div class="d-flex justify-content-center" style="color: violet;">
<h5 class="bg-light">{{ message }}</h5>
</div>

{% endblock %}
4 changes: 2 additions & 2 deletions templates/register.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% extends "layout.html" %}

{% block main %}
<div>
<div class="bg-light">
<div class="bodyTitles">
<h2>New Account Registration</h2>
<h3>{{ message }}</h3>
</div>
<div>
<div class="d-flex justify-content-center">
<form action="/register" method="POST">
<div class="form-group flex-direction-row">
<label for="firstName">First Name</label>
Expand Down

0 comments on commit 6a4cc86

Please sign in to comment.