|
<div ng-if="logged_user">
|
|
<md-toolbar>
|
|
<div class="md-toolbar-tools">
|
|
<h2><span>Hi {{logged_user.uid}} <span class="md-subhead">aka</span> {{logged_user.cn}}</span></h2>
|
|
</div>
|
|
</md-toolbar>
|
|
<md-content layout-padding>
|
|
<div layout="row" layout-align="space-between start">
|
|
<div>
|
|
<!-- <md-input-container class="md-block">
|
|
<label>Common name</label>
|
|
<input ng-model="user.cn" required autofocus>
|
|
</md-input-container> -->
|
|
<div layout="column" layout-align="space-between start">
|
|
<div ng-repeat="(service, status) in logged_user.services" ng-if="status" ng-bind-html="getServiceDescription(service)"></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<md-button class="md-raised" ng-click="changePassword()">Change password</md-button>
|
|
</div>
|
|
</div>
|
|
</md-content>
|
|
</div>
|