mirror of
https://github.com/arnaucube/commonroutesLandingPage.git
synced 2026-02-06 19:06:42 +01:00
added user info, added download link in the webapp
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user