<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-3">
|
|
<div class="panel">
|
|
<div class="panel-heading c_deepPurple300">
|
|
<h3 class="panel-title">All users</h3>
|
|
</div>
|
|
<div class="panel-body" style="max-height: 500px;overflow-y: scroll;">
|
|
<div class="list-group">
|
|
<a ng-repeat="user in users" ng-click="getUserNetwork(user)" class="list-group-item">
|
|
<div class="row-picture">
|
|
<img class="circle" ng-src="{{user.avatar}}" alt="icon">
|
|
</div>
|
|
<div class="row-content">
|
|
<h4 class="list-group-item-heading">{{user.username}}</h4>
|
|
|
|
<p class="list-group-item-text">{{user.description}}</p>
|
|
<p class="list-group-item-text">{{user.travels.length}} published travels</p>
|
|
<p class="list-group-item-text">{{user.likes.length}} likes</p>
|
|
</div>
|
|
<div class="list-group-separator"></div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-9">
|
|
<div class="panel-heading c_deepPurple300">
|
|
<h3 class="panel-title">Network</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div id="mynetwork" style="height:500px;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|