2013-08-26 01:27:47 +00:00
|
|
|
.user-menu(ng-controller='AuthCtrl')
|
2013-08-25 04:44:05 +00:00
|
|
|
button.task-action-btn.tile.solid(ng-hide='authenticated()', style='cursor: pointer;', ng-click="modals.login = true") Login / Register
|
|
|
|
|
ul.nav.site-nav(ng-show='authenticated()')
|
2013-09-01 23:41:17 +00:00
|
|
|
li.flyout(ng-controller='MenuCtrl')
|
2013-08-25 04:44:05 +00:00
|
|
|
h1.task-action-btn.tile.solid.user-reporter {{username(user.auth, user.profile.name)}}
|
|
|
|
|
ul.flyout-content.nav.stacked
|
|
|
|
|
li
|
2013-10-23 14:38:05 +00:00
|
|
|
a.task-action-btn.tile.solid
|
2013-09-01 23:41:17 +00:00
|
|
|
span(ng-show='viewingOptions', ng-click='gotoTasks()')
|
|
|
|
|
i.icon-ok
|
|
|
|
|
| Tasks
|
|
|
|
|
span(ng-hide='viewingOptions', ng-click='gotoOptions()')
|
|
|
|
|
i.icon.icon-wrench
|
|
|
|
|
| Options
|
2013-08-25 04:44:05 +00:00
|
|
|
li
|
2013-09-01 23:41:17 +00:00
|
|
|
a.task-action-btn.tile.solid(ng-click='sync()')
|
|
|
|
|
i.icon.icon-refresh
|
|
|
|
|
| Sync
|
|
|
|
|
li
|
|
|
|
|
a.task-action-btn.tile.solid(ng-click='logout()')
|
|
|
|
|
i.icon-share-alt
|
|
|
|
|
| Logout
|
2013-08-25 04:44:05 +00:00
|
|
|
// party invitation notification
|
|
|
|
|
a(ng-show='user.party.invitation', style='cursor: pointer;', x-bind='click:gotoPartyChat')
|
|
|
|
|
i.icon-user
|
|
|
|
|
// party chat notification
|
|
|
|
|
a(ng-show='newChatMessages(_party.chat,user.party.lastMessageSeen)', style='cursor: pointer;', x-bind='click:gotoPartyChat')
|
2013-08-26 00:39:47 +00:00
|
|
|
i.icon-comment(tooltip='New Party Messages')
|