added user info, added download link in the webapp
BIN
app/img/avatars/chameleon.png
Executable file
|
After Width: | Height: | Size: 15 KiB |
BIN
app/img/avatars/clown-fish.png
Executable file
|
After Width: | Height: | Size: 21 KiB |
BIN
app/img/avatars/duck.png
Executable file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
app/img/avatars/owl.png
Executable file
|
After Width: | Height: | Size: 15 KiB |
BIN
app/img/avatars/penguin.png
Executable file
|
After Width: | Height: | Size: 14 KiB |
BIN
app/img/avatars/racoon.png
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/img/avatars/siberian-husky.png
Executable file
|
After Width: | Height: | Size: 19 KiB |
BIN
app/img/avatars/sloth.png
Executable file
|
After Width: | Height: | Size: 15 KiB |
BIN
app/img/avatars/tiger.png
Executable file
|
After Width: | Height: | Size: 22 KiB |
BIN
app/img/avatars/toucan.png
Executable file
|
After Width: | Height: | Size: 11 KiB |
@@ -28,7 +28,18 @@
|
||||
|
||||
<div ng-view></div>
|
||||
|
||||
|
||||
<!-- Download Section -->
|
||||
<section id="download" class="content-section text-center">
|
||||
<div class="download-section o_downloadBg">
|
||||
<div class="container">
|
||||
<div class="col-sm-8 col-sm-offset-2">
|
||||
<a href="https://github.com/arnaucode/commonroutesApp/blob/master/releases/commonroutes.apk" target="_blank" class="btn btn-default btn-lg">
|
||||
<i class="fa fa-android fa-fw"></i> Download the complete app (pre-alpha version)
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Angular js -->
|
||||
<script src="bower_components/angular/angular.js"></script>
|
||||
|
||||
@@ -5,18 +5,19 @@
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<div class="pull-right">
|
||||
<!-- <div class="row-picture" style="font-size:140%; text-align:right;" title="user">
|
||||
<img style="width:40px;" class="circle" ng-src="{{travel.user.avatar}}" alt="icon"> {{travel.user.username}}
|
||||
</div> -->
|
||||
<div class="row-picture" style="font-size:120%; text-align:right;" title="user">
|
||||
<img style="width:40px;border-radius: 50%;" class="circle" ng-src="{{travel.user.avatar}}" alt="icon"> {{travel.user.username}}
|
||||
<i title="user verified" class="fa fa-check-circle" style="color: #64B5F6;"></i>
|
||||
</div>
|
||||
{{travel.date | date:"dd/MM HH:mm a"}}
|
||||
</div>
|
||||
<div class="list-group">
|
||||
<div class="list-group-item">
|
||||
<div class="pull-right"></div>
|
||||
<h4>
|
||||
<i ng-show="travel.type=='offering'" class="fa fa-car fa-2x"></i>
|
||||
<i ng-show="travel.type=='asking'" class="fa fa-question fa-2x"></i>
|
||||
<i ng-show="travel.type=='package'" class="fa fa-archive fa-2x"></i>
|
||||
<i title="offer travel" ng-show="travel.type=='offering'" class="fa fa-car fa-2x"></i>
|
||||
<i title="ask for travel" ng-show="travel.type=='asking'" class="fa fa-question fa-2x"></i>
|
||||
<i title="ask to send package" ng-show="travel.type=='package'" class="fa fa-archive fa-2x"></i>
|
||||
{{travel.title}}
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
@@ -13,23 +13,30 @@
|
||||
<th>From</th>
|
||||
<th>To</th>
|
||||
<th>Date</th>
|
||||
<!-- <th>User</th> -->
|
||||
<th>User</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="travel in travels">
|
||||
<td>
|
||||
<i ng-show="travel.type=='offering'" class="fa fa-car fa-2x"></i>
|
||||
<i ng-show="travel.type=='asking'" class="fa fa-question fa-2x"></i>
|
||||
<i ng-show="travel.type=='package'" class="fa fa-archive fa-2x"></i>
|
||||
<i title="offer travel" ng-show="travel.type=='offering'" class="fa fa-car fa-2x"></i>
|
||||
<i title="ask for travel" ng-show="travel.type=='asking'" class="fa fa-question fa-2x"></i>
|
||||
<i title="ask to send package" ng-show="travel.type=='package'" class="fa fa-archive fa-2x"></i>
|
||||
</td>
|
||||
<td>{{travel.from.name}}</td>
|
||||
<td>{{travel.to.name}}</td>
|
||||
<td>{{travel.date | date:'yyyy/MM/dd'}}</td>
|
||||
<!-- <td>
|
||||
<img style="width:30px;" ng-src="{{travel.user.avatar}}" title="{{travel.user.username}}">
|
||||
</td> -->
|
||||
<td>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<img style="width:30px;border-radius: 50%;" ng-src="{{travel.user.avatar}}" title="{{travel.user.username}}">
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<i title="user verified" class="fa fa-check-circle" style="color: #64B5F6;"></i>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td><a ng-href="#!/travel/{{travel._id}}">View</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||