Skip to content

Commit

Permalink
Updating sell, sellexecute, and quote pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jhustles committed Oct 1, 2020
1 parent 1f8c9bb commit 516b122
Showing 1 changed file with 2 additions and 33 deletions.
35 changes: 2 additions & 33 deletions templates/quote1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,23 @@

{% block main %}

<!-- Set up a results object and store in global variable to accessed by /buy -->
<div>
{{ currentSearchHistory }}
{{ searchCounter }}
</div>
<div class="tickerSearchBar" style="padding-top: 3%;">
<!-- <h1 style="color: white;">Buy Stocks</h1> -->
<!-- Change to /quote - make sure the quote.html matches this html. will -->
<!-- Html pages: Quote, Trade (Quote, Buy, Sell) -->
<form action="/quote" method="POST">
<div class="form-group d-inline-flex flex-direction-row">
<label for="ticker" style="font-weight: bolder; margin-right: 2%; padding-top: 2%; color: deeppink;">Ticker</label>
<input type="text" class="form-control" style="width: 40%; margin-right: 2%;" name="tickerInput" id="tickerInput" placeholder="Symbol" onkeyup="this.value = this.value.toUpperCase();">
<button class="btn btn-primary"type="submit">Search</button>
</div>
<!-- <div class="form-group">
<input type="text" class="form-control" name="sharesInput" id="sharesInput" placeholder="# Of Shares" type="text">
</div>-->
</form>
</div>



<!-- <div>{{ message }}</div> -->

<div class="displayTable">
<!-- <div class="bg-light">
<table class="table table-bordered table-hover table-responsive-sm">
<thead class="table-borderless th">
<tr>
<th scope="col"style="height: 50px; width: 50%;">User: {{ username }}</th>
<th scope="col"></th>
<th scope="col"></th>
<th scope="col"style="text-align:right"> {{ current_datetime }}</th>
</tr>
</thead>
</div> -->

<div class="bg-light">
<table class="table table-bordered table-hover table-responsive-sm">
<!-- <thead class="table-borderless th">
<tr>
<th scope="col"style="height: 50px; width: 50%;">Available Cash: {{ availableCash }}</th>
</tr>
</thead> -->

<div class="d-flex justify-content-between">
<div>
<h2 style="color: black;">Account: {{ username }}</h2>
Expand Down Expand Up @@ -101,12 +71,11 @@ <h2>{{ current_datetime }}</h2>
</tbody>
</table>
</div>

</div>

<div>
<!-- <div>
{{ lookUpResults }}
</div>
</div> -->


{% endblock %}

0 comments on commit 516b122

Please sign in to comment.