2015-04-10 18:22:24 +02:00
|
|
|
<?xml version='1.0' standalone='yes'?>
|
|
|
|
<container
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
2015-08-14 18:14:15 +02:00
|
|
|
xmlns:label="OGo:label">
|
|
|
|
|
2015-04-10 18:22:24 +02:00
|
|
|
<div class="sg-toolbar-group-1" layout="row">
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button ng-click="toggleLeft()"
|
|
|
|
class="hide-gt-md sg-button-navicon sg-icon-button"
|
|
|
|
label:aria-label="Toggle Menu">
|
|
|
|
<md-icon>menu</md-icon>
|
2015-04-10 18:22:24 +02:00
|
|
|
</md-button>
|
2015-08-26 02:47:12 +02:00
|
|
|
<div class="sg-date-group sg-padded" layout="column" layout-align="space-between end">
|
2015-04-10 18:22:24 +02:00
|
|
|
<p class="sg-day" ng-bind="currentDay.weekday"><!-- weekday --></p>
|
|
|
|
<p class="sg-month" ng-bind="currentDay.month"><!-- month --></p>
|
|
|
|
<p class="sg-year" ng-bind="currentDay.year"><!-- year --></p>
|
|
|
|
</div>
|
|
|
|
<p class="sg-md-display-3 sg-date-today" ng-bind="currentDay.day"><!-- day --></p>
|
|
|
|
</div>
|
2015-08-14 18:14:15 +02:00
|
|
|
|
|
|
|
<div class="sg-toolbar-group-last">
|
|
|
|
<md-menu layout-fill="layout-fill">
|
2015-08-24 17:11:23 +02:00
|
|
|
<md-button label:aria-label="Modules"
|
2015-08-26 02:47:12 +02:00
|
|
|
class="sg-icon-button" ng-click="$mdOpenMenu($event)">
|
2015-08-14 18:14:15 +02:00
|
|
|
<md-icon>apps</md-icon>
|
|
|
|
</md-button>
|
|
|
|
<md-menu-content width="8">
|
|
|
|
<div class="md-toolbar-tools sg-padded" layout="row"
|
|
|
|
layout-align="space-around start">
|
|
|
|
<md-button class="sg-icon-button"
|
|
|
|
ng-show="activeUser.path.calendar.length"
|
|
|
|
ng-disabled="baseURL.endsWith('/Calendar')"
|
|
|
|
ng-href="{{activeUser.path.calendar}}">
|
|
|
|
<md-icon>event</md-icon>
|
|
|
|
<md-tooltip><var:string label:value="Calendar"/></md-tooltip>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="sg-icon-button"
|
|
|
|
ng-disabled="baseURL.endsWith('/Contacts')"
|
|
|
|
ng-href="{{activeUser.path.contacts}}">
|
|
|
|
<md-icon>contacts</md-icon>
|
|
|
|
<md-tooltip><var:string label:value="Address Book"/></md-tooltip>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="sg-icon-button"
|
|
|
|
ng-show="activeUser.path.mail.length"
|
|
|
|
ng-disabled="baseURL.endsWith('/Mail')"
|
|
|
|
ng-href="{{activeUser.path.mail}}">
|
|
|
|
<md-icon>email</md-icon>
|
|
|
|
<md-tooltip><var:string label:value="Mail"/></md-tooltip>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="sg-icon-button"
|
|
|
|
ng-disabled="baseURL.endsWith(activeUser.login)"
|
|
|
|
ng-href="{{activeUser.path.preferences}}">
|
|
|
|
<md-icon>settings</md-icon>
|
|
|
|
<md-tooltip><var:string label:value="Preferences"/></md-tooltip>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="sg-icon-button" ng-show="activeUser.isSuperUser" ng-href="{{activeUser.path.administration}}">
|
|
|
|
<md-icon>settings_applications</md-icon>
|
|
|
|
<md-tooltip><var:string label:value="Administration"/></md-tooltip>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="sg-icon-button" ng-show="activeUser.path.logoff.length" ng-href="{{activeUser.path.logoff}}">
|
|
|
|
<md-icon>settings_power</md-icon>
|
|
|
|
<md-tooltip><var:string label:value="Disconnect"/></md-tooltip>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
</md-menu-content>
|
|
|
|
</md-menu>
|
|
|
|
</div>
|
|
|
|
|
2015-04-10 18:22:24 +02:00
|
|
|
</container>
|