50 lines
2 KiB
XML
50 lines
2 KiB
XML
<?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"
|
|
xmlns:label="OGo:label"
|
|
xmlns:uix="OGo:uix"><var:string var:value="doctype" const:escapeHTML="NO" />
|
|
<span class="joyride-nub left"><!-- dropdown nub --></span>
|
|
<div class="joyride-content-wrapper">
|
|
<ul>
|
|
<li class="title"><var:string label:value="Subscribe"/></li>
|
|
<li class="search">
|
|
<input type="text" label:placeholder="Search"
|
|
ng-model="searchString"
|
|
sg-user-typeahead="sg-user-typeahead" />
|
|
</li>
|
|
<li class="item"
|
|
ng-repeat="user in users">
|
|
<a ng-click="selectUser($index)"
|
|
ng-mouseenter="selectActive($index)">
|
|
<span bind-html-unsafe="user.$shortFormat() | typeaheadHighlight:query"><!-- user --></span>
|
|
<i class="icon right"
|
|
ng-class="{'icon-arrow-right': user.uid != selectedUser.uid, 'icon-arrow-down': user.uid == selectedUser.uid}"><!-- arrow --></i>
|
|
</a>
|
|
<ul class="subitems"
|
|
ng-if="user.uid == selectedUser.uid">
|
|
<li class="item"
|
|
ng-show="user.$$folders.length == 0">
|
|
<a class="disabled">
|
|
<i class="icon icon-notification"><!-- no subscription --></i>
|
|
<var:string label:value="No possible subscription"/>
|
|
</a>
|
|
</li>
|
|
<li class="item"
|
|
ng-repeat="folder in user.$$folders">
|
|
<a>
|
|
<i class="icon"
|
|
ng-class="{'icon-address-book': folder.type == 'Contact'}"><!-- type --></i>
|
|
<span ng-bind="folder.displayName"><!-- folder --></span>
|
|
<button class="button tiny right"
|
|
ng-click="selectFolder(folder)">Subscribe</button>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</container>
|