project started, some html and js files added, showing events and users work communicating with server api

This commit is contained in:
arnaucode
2017-02-18 11:07:07 +01:00
parent baa0d5c6f6
commit 0ef2b84b13
29 changed files with 873 additions and 0 deletions

17
www/templates/events.html Normal file
View File

@@ -0,0 +1,17 @@
<ion-view view-title="Events">
<ion-content>
<ion-refresher
pulling-text="{{'Pull_to_refresh' | translate}}..."
on-refresh="doRefresh()">
</ion-refresher>
<a class="item item-thumbnail-left" href="#/app/events/{{event._id}}"
ng-repeat="event in events">
<img ng-src="{{event.img}}">
<div class="badge item-note">{{event.user.username}}</div>
<h2>{{event.title}}</h2>
<p>{{event.description}}</p>
<p>{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</p>
</a>
</ion-content>
</ion-view>