Controller cleanup (#30)

* Cleaning up routes.

* Adding signout functionality

* Added simple checkout behavior
This commit is contained in:
Steve Smith
2017-08-07 14:12:48 -04:00
committed by GitHub
parent 4385c2f291
commit 97ef1c79a0
10 changed files with 125 additions and 86 deletions

View File

@@ -14,13 +14,13 @@
<section class="esh-identity-drop">
<a class="esh-identity-item"
@*<a class="esh-identity-item"
asp-controller="Order"
asp-action="Index">
<div class="esh-identity-name esh-identity-name--upper">My orders</div>
<img class="esh-identity-image" src="~/images/my_orders.png">
</a>
</a>*@
<a class="esh-identity-item"
href="javascript:document.getElementById('logoutForm').submit()">
@@ -33,9 +33,9 @@
</div>
</section>
<section class="col-lg-1 col-xs-12">
@*@await Component.InvokeAsync("Cart", new { user = UserManager.Parse(User) })*@
</section>
@*<section class="col-lg-1 col-xs-12">
@await Component.InvokeAsync("Cart", new { user = UserManager.Parse(User) })
</section>*@
}
else
@@ -53,5 +53,5 @@ else
</div>
</section>
<section class="col-lg-1 col-xs-12"></section>
@*<section class="col-lg-1 col-xs-12"></section>*@
}