You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.7 KiB

  1. <div class="container">
  2. <div class="row">
  3. <div class="col-sm-4">
  4. <div ng-include="'views/travelCardTemplate.html'"></div>
  5. <br>
  6. <div class="panel">
  7. <div class="panel-heading c_deepPurpleG500to300">
  8. <h3 class="panel-title">{{travel.joinPetitions.length}} Pendent joins</h3>
  9. </div>
  10. <div class="panel-body">
  11. <div class="list-group">
  12. <a ng-repeat="user in travel.joinPetitions" ng-href="#!/user/{{user._id}}" class="list-group-item">
  13. <div class="row-picture">
  14. <img class="circle" ng-src="{{user.avatar}}" alt="icon">
  15. </div>
  16. <div class="row-content">
  17. <h4 class="list-group-item-heading">{{user.username}}</h4>
  18. <p class="list-group-item-text">{{user.description}}</p>
  19. </div>
  20. <div class="list-group-separator"></div>
  21. </a>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="panel">
  26. <div class="panel-heading c_deepPurpleG500to300">
  27. <h3 class="panel-title">Accepted users {{travel.joins.length}}/{{travel.seats}}</h3>
  28. </div>
  29. <div class="panel-body">
  30. <div class="list-group">
  31. <a ng-repeat="user in travel.joins" ng-href="#!/user/{{user._id}}" class="list-group-item">
  32. <div class="row-picture">
  33. <img class="circle" ng-src="{{user.avatar}}" alt="icon">
  34. </div>
  35. <div class="row-content">
  36. <h4 class="list-group-item-heading">{{user.username}}</h4>
  37. <p class="list-group-item-text">{{user.description}}</p>
  38. </div>
  39. <div class="list-group-separator"></div>
  40. </a>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="col-sm-8">
  46. <div class="panel">
  47. <div class="panel-heading c_deepPurpleG500to300">
  48. <h3 class="panel-title">Map</h3>
  49. </div>
  50. <div class="panel-body">
  51. <leaflet width="100%" height="500px" markers="markers" center="center"
  52. tiles="tiles" id="map-simple-map"></leaflet>
  53. </div>
  54. </div>
  55. </div>
  56. </div>