frontend: click on card to go to the related theme/defi
This commit is contained in:
parent
f2f94a399b
commit
e2fdce10ef
3 changed files with 13 additions and 4 deletions
|
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
|
||||
<div class="card-columns">
|
||||
<div class="card niceborder excard" ng-repeat="(k,theme) in themes">
|
||||
<div class="card niceborder excard" ng-repeat="(k,theme) in themes" ng-click="goTheme()">
|
||||
<div class="card-img-top theme-card" ng-show="theme.image" style="background-image: url({{ theme.image }})"></div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title clearfix">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="card-columns">
|
||||
<div class="card niceborder excard" ng-repeat="ex in exercices">
|
||||
<div class="card niceborder excard" ng-repeat="ex in exercices" ng-click="goDefi()">
|
||||
<div class="card-img-top theme-card" ng-show="ex.theme.image" style="background-image: url({{ ex.theme.image }})"></div>
|
||||
<div class="card-body">
|
||||
<h6 class="card-title clearfix">
|
||||
|
|
|
|||
Reference in a new issue