forked from fi-muni/PA165
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f36df2a
commit 070e9aa
Showing
6 changed files
with
224 additions
and
6 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
eshop-angular/src/main/java/cz/muni/fi/pa165/restapi/exceptions/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* This package contains exceptions which are converted to specific HTTP status codes by the REST controllers. | ||
* | ||
* @author Martin Kuba [email protected] | ||
*/ | ||
package cz.muni.fi.pa165.restapi.exceptions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
eshop-angular/src/main/webapp/partials/category_detail.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div> | ||
<h1>{{category.name}}</h1> | ||
|
||
<div class="row"> | ||
<div class="col-xs-12 col-sm-4 col-md-3 col-lg-2" ng-repeat="product in category.products"> | ||
<a href="#!/product/{{product.id}}"> | ||
<div class="thumbnail"> | ||
<img ng-src="{{product._links.image.href}}"><br> | ||
|
||
<div class="caption"> | ||
<h3>{{product.name}}</h3> | ||
<span style="color: red; font-weight: bold;">{{product.price}} {{product.currency}}</span> | ||
</div> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
</div> |