Aggiunto layout home
This commit is contained in:
parent
48d68db6b0
commit
314cefdc70
19 changed files with 705 additions and 26 deletions
29
hackatonApp/www/views/app/home.html
Normal file
29
hackatonApp/www/views/app/home.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<ion-view class="homes-categories-view">
|
||||
<ion-nav-buttons side="left">
|
||||
<button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
|
||||
</ion-nav-buttons>
|
||||
<ion-nav-title>
|
||||
<span>Home</span>
|
||||
</ion-nav-title>
|
||||
<ion-content>
|
||||
<div class="list card">
|
||||
|
||||
<div class="item item-thumbnail-left">
|
||||
<img src="">
|
||||
<h2>Punti {{user.score}}</h2>
|
||||
<p>dkdkdk</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row categories-list">
|
||||
<div ng-repeat="category in home_categories" class="col col-50">
|
||||
<a class="home-category" ui-sref="app.category({categoryId: (category.id | slugify)})">
|
||||
<pre-img ratio="_1_1" helper-class="square-image">
|
||||
<img class="category-image" ng-src="{{category.image}}" spinner-on-load>
|
||||
</pre-img>
|
||||
<div class="category-bg"></div>
|
||||
<span class="category-title">{{category.title}}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
Loading…
Add table
Add a link
Reference in a new issue