Skip to content

Commit

Permalink
Update layout
Browse files Browse the repository at this point in the history
  • Loading branch information
hinedy committed Oct 20, 2022
1 parent 98ea0bf commit 02fcf38
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
File renamed without changes
2 changes: 1 addition & 1 deletion templates/buy.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<form action="/buy" method="post">
<input class="form-control mx-auto w-auto mb-3" id="symbol" type="text" name="symbol" placeholder="Symbol">
<input class="form-control mx-auto w-auto mb-3" id="shares" type="number" name="shares" placeholder="shares" min="1" >
<button class="btn btn-primary" type="submit">Buy</button>
<button class="btn btn-dark" type="submit">Buy</button>
</form>

{% endblock %}
2 changes: 1 addition & 1 deletion templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<nav class="bg-light border navbar navbar-expand-md navbar-light">
<div class="container-fluid">
<a class="navbar-brand" href="/"><img alt="Hinedy Finance" src="../images/logo.png" height="60" ></a>
<a class="navbar-brand" href="/"><img alt="Hinedy Finance" src="/static/images/logo.png" width="200"></a>
<button aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation" class="navbar-toggler" data-bs-target="#navbar" data-bs-toggle="collapse" type="button">
<span class="navbar-toggler-icon"></span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
<div class="mb-3">
<input class="form-control mx-auto w-auto" id="password" name="password" placeholder="Password" type="password">
</div>
<button class="btn btn-primary" type="submit">Log In</button>
<button class="btn btn-dark" type="submit">Log In</button>
</form>
{% endblock %}
2 changes: 1 addition & 1 deletion templates/quote.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% block main %}
<form action="/quote" method="post">
<input class="form-control mx-auto w-auto mb-3" id="symbol" type="text" name="symbol" placeholder="Symbol">
<button class="btn btn-primary" type="submit">Quote</button>
<button class="btn btn-dark" type="submit">Quote</button>
</form>

{% endblock %}
2 changes: 1 addition & 1 deletion templates/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<input class="form-control mx-auto w-auto" id="password" name="password" placeholder="Password" type="password">
<input class="form-control mx-auto w-auto" id="password" name="confirmation" placeholder="Confirm Password" type="password">
</div>
<button class="btn btn-primary" type="submit">Register</button>
<button class="btn btn-dark" type="submit">Register</button>
</form>
{% endblock %}
2 changes: 1 addition & 1 deletion templates/sell.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% endfor %}
</select>
<input class="form-control mx-auto w-auto mb-3" id="shares" type="number" name="shares" placeholder="shares" min="1" >
<button class="btn btn-primary" type="submit">Sell</button>
<button class="btn btn-dark" type="submit">Sell</button>
</form>

{% endblock %}

0 comments on commit 02fcf38

Please sign in to comment.