2014-11-11 17:14:55 +01:00
|
|
|
<?xml version="1.0" standalone="yes"?>
|
|
|
|
<!DOCTYPE container>
|
|
|
|
<container
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
2014-12-17 20:58:20 +01:00
|
|
|
xmlns:label="OGo:label"
|
2015-04-22 21:41:50 +02:00
|
|
|
xmlns:uix="OGo:uix">
|
2015-04-23 04:49:44 +02:00
|
|
|
<md-dialog flex="50" flex-sm="100">
|
2015-04-27 19:33:26 +02:00
|
|
|
<md-dialog-content>
|
2015-04-23 04:49:44 +02:00
|
|
|
<md-input-container md-no-float="md-no-float" layout="row">
|
|
|
|
<i class="md-icon-search"><!--icon--></i>
|
|
|
|
<input ng-model="searchString" type="text" placeholder="Name" sg-user-typeahead="sg-user-typeahead"/>
|
|
|
|
</md-input-container>
|
|
|
|
<md-list>
|
|
|
|
<md-list-item
|
|
|
|
layout="column"
|
|
|
|
ng-repeat="user in users">
|
|
|
|
<md-button class="sg-expandable" ng-click="selectUser($index)">
|
2015-04-24 17:44:33 +02:00
|
|
|
<div layout="row" layout-align="space-between center"
|
|
|
|
layout-fill="true">
|
|
|
|
<div class="sg-avatar"><!-- normal-user --></div>
|
2015-04-23 04:49:44 +02:00
|
|
|
<span class="sg-item-name">{{user.$shortFormat()}}</span>
|
|
|
|
<span class="md-display-1">
|
|
|
|
<i class="md-icon-expand-more"
|
|
|
|
ng-show="user.uid != selectedUser.uid"><!--icon--></i>
|
|
|
|
<i class="md-icon-expand-less"
|
|
|
|
ng-show="user.uid == selectedUser.uid"><!--icon--></i>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</md-button>
|
|
|
|
<md-list layout-fill="true" ng-if="user.uid == selectedUser.uid">
|
|
|
|
<md-list-item ng-show="user.$$folders.length == 0">
|
2015-04-22 21:41:50 +02:00
|
|
|
<i class="md-icon-warning"><!-- no subscription --></i>
|
2014-11-12 16:44:43 +01:00
|
|
|
<var:string label:value="No possible subscription"/>
|
2015-04-23 04:49:44 +02:00
|
|
|
</md-list-item>
|
|
|
|
<md-list-item
|
|
|
|
layout="row"
|
|
|
|
layout-fill="true"
|
|
|
|
ng-repeat="folder in user.$$folders">
|
|
|
|
<i class="md-icon-contacts md-padding"
|
|
|
|
ng-show="folder.type == 'Contact'"><!--icon--></i>
|
|
|
|
<i class="md-icon-today md-padding"
|
|
|
|
ng-show="folder.type == 'Appointment'"><!--icon--></i>
|
|
|
|
<p class="md-flex sg-item-name">{{folder.displayName}}</p>
|
|
|
|
<md-button
|
|
|
|
class="md-raised"
|
|
|
|
ng-click="selectFolder(folder)">Subscribe</md-button>
|
|
|
|
</md-list-item>
|
|
|
|
</md-list>
|
|
|
|
<md-divider ng-if="!$last"><!-- divider --></md-divider>
|
|
|
|
</md-list-item>
|
|
|
|
</md-list>
|
2015-04-27 19:33:26 +02:00
|
|
|
</md-dialog-content>
|
2015-04-22 21:41:50 +02:00
|
|
|
</md-dialog>
|
2014-11-11 17:14:55 +01:00
|
|
|
</container>
|