<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-3"></div>
|
|
<div class="col-sm-6">
|
|
<div class="panel">
|
|
<div class="panel-body">
|
|
<div class="pull-right">
|
|
<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 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>
|
|
</div>
|
|
<p>
|
|
From: <b>{{travel.from.name}}</b>
|
|
</p>
|
|
<p>
|
|
To: <b>{{travel.to.name}}</b>
|
|
</p>
|
|
<p ng-show="travel.description">
|
|
Description: <b>{{travel.description}}</b>
|
|
</p>
|
|
<p ng-show="travel.package">
|
|
Can carry package
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="panel">
|
|
<div class="panel-heading c_deepPurple300">
|
|
<h3 class="panel-title">Map</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<leaflet width="100%" height="400px" markers="markers" center="center"
|
|
tiles="tiles" id="map-simple-map"></leaflet>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|