2014-12-17 20:58:20 +01:00
|
|
|
<?xml version='1.0' standalone='yes'?>
|
|
|
|
<container
|
2015-02-26 17:27:36 +01:00
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
2015-07-24 21:35:29 +02:00
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
2015-04-29 17:23:21 +02:00
|
|
|
xmlns:label="OGo:label">
|
2016-11-10 22:03:00 +01:00
|
|
|
<div class="view-list" layout="column" ng-class="{'view-list--close': centerIsClose}">
|
2015-09-03 22:10:05 +02:00
|
|
|
|
2015-09-10 22:38:30 +02:00
|
|
|
<!-- in virtual mailbox mode -->
|
2016-04-21 19:40:47 +02:00
|
|
|
<md-toolbar class="md-whiteframe-z1 md-hue-3"
|
2016-03-08 19:20:34 +01:00
|
|
|
ng-hide="!app.showingAdvancedSearch || mailbox.mode.multiple">
|
2015-09-15 03:35:34 +02:00
|
|
|
<div class="md-toolbar-tools">
|
2015-12-18 17:39:56 +01:00
|
|
|
<md-input-container class="md-flex">
|
2015-09-15 03:35:34 +02:00
|
|
|
<label><var:string label:value="Search messages in"/></label>
|
|
|
|
<md-select ng-model="app.search.mailbox">
|
|
|
|
<md-option ng-value="">
|
|
|
|
<span>{{app.accounts[0].name}}</span>
|
|
|
|
</md-option>
|
|
|
|
<md-option ng-repeat="folder in
|
|
|
|
app.accounts[0].$flattenMailboxes()
|
|
|
|
track by folder.path"
|
|
|
|
ng-value="folder.path">
|
2017-02-20 03:13:44 +01:00
|
|
|
<span ng-class="'sg-child-level-' + folder.level">{{folder.$displayName}}</span>
|
2015-09-15 03:35:34 +02:00
|
|
|
</md-option>
|
|
|
|
</md-select>
|
|
|
|
</md-input-container>
|
|
|
|
<md-menu>
|
2016-11-01 20:54:56 +01:00
|
|
|
<md-button class="sg-icon-button" label:aria-label="More search options" ng-click="$mdMenu.open()">
|
2015-09-15 03:35:34 +02:00
|
|
|
<md-icon>settings</md-icon>
|
|
|
|
</md-button>
|
|
|
|
<md-menu-content>
|
|
|
|
<md-menu-item>
|
2016-03-01 20:15:04 +01:00
|
|
|
<sg-checkmark ng-model="app.search.subfolders"
|
|
|
|
sg-true-value="1"
|
|
|
|
sg-false-value="0">
|
|
|
|
<var:string label:value="Search subfolders"/>
|
|
|
|
</sg-checkmark>
|
2015-09-15 03:35:34 +02:00
|
|
|
</md-menu-item>
|
2016-03-01 20:15:04 +01:00
|
|
|
<md-menu-divider> <!-- divider --></md-menu-divider>
|
2015-09-15 03:35:34 +02:00
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="app.search.match='AND'">
|
|
|
|
<md-icon ng-class="{ 'icon-check': app.search.match == 'AND'}">
|
|
|
|
<!-- all --></md-icon><var:string label:value="Match all of the following"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="app.search.match='OR'">
|
|
|
|
<md-icon ng-class="{ 'icon-check': app.search.match == 'OR'}">
|
|
|
|
<!-- any --></md-icon><var:string label:value="Match any of the following"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
|
|
|
</md-menu-content>
|
|
|
|
</md-menu>
|
|
|
|
<md-button class="sg-icon-button"
|
2016-05-26 21:04:18 +02:00
|
|
|
label:aria-label="Search"
|
2015-09-15 03:35:34 +02:00
|
|
|
ng-click="app.toggleAdvancedSearch()"
|
|
|
|
ng-disabled="app.search.params.length == 0">
|
|
|
|
<md-icon ng-class="{'icon-stop': app.service.selectedFolder.$isLoading,
|
|
|
|
'icon-search': !app.service.selectedFolder.$isLoading}"><!-- icon --></md-icon>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
2015-09-10 22:38:30 +02:00
|
|
|
</md-toolbar>
|
2015-09-03 22:10:05 +02:00
|
|
|
<!-- single-selection toolbars -->
|
2015-12-04 21:00:58 +01:00
|
|
|
<md-toolbar class="md-accent md-hue-1"
|
2016-03-08 19:20:34 +01:00
|
|
|
ng-hide="app.showingAdvancedSearch || mailbox.mode.multiple">
|
2015-09-09 20:43:09 +02:00
|
|
|
<!-- sort mode (default) -->
|
2015-09-03 22:10:05 +02:00
|
|
|
<div class="md-toolbar-tools" ng-hide="mailbox.mode.search">
|
|
|
|
<md-button class="sg-icon-button" label:aria-label="Search"
|
2016-06-23 22:03:14 +02:00
|
|
|
ng-click="mailbox.searchMode()">
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-icon>search</md-icon>
|
|
|
|
</md-button>
|
2015-12-10 02:27:22 +01:00
|
|
|
<a href="javascript:void(0)" class="sg-folder-name"
|
2017-02-20 03:13:44 +01:00
|
|
|
ng-click="mailbox.searchMode()">{{mailbox.selectedFolder.$displayName}}</a>
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-menu>
|
|
|
|
<md-button class="sg-icon-button" label:aria-label="Sort"
|
2016-11-01 20:54:56 +01:00
|
|
|
ng-click="$mdMenu.open()">
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-icon>sort</md-icon>
|
|
|
|
</md-button>
|
|
|
|
<md-menu-content>
|
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="mailbox.sort('subject')">
|
|
|
|
<md-icon ng-class="{ 'icon-check': mailbox.sortedBy('subject') }">
|
|
|
|
<!-- subject --></md-icon> <var:string label:value="Subject"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="mailbox.sort('from')">
|
|
|
|
<md-icon ng-class="{ 'icon-check': mailbox.sortedBy('from') }">
|
|
|
|
<!-- from --></md-icon> <var:string label:value="From"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="mailbox.sort('date')">
|
|
|
|
<md-icon ng-class="{ 'icon-check': mailbox.sortedBy('date') }">
|
|
|
|
<!-- date --></md-icon> <var:string label:value="Date"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="mailbox.sort('size')">
|
|
|
|
<md-icon ng-class="{ 'icon-check': mailbox.sortedBy('size') }">
|
|
|
|
<!-- size --></md-icon> <var:string label:value="Size"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
2016-09-27 22:10:44 +02:00
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="mailbox.sort('arrival')">
|
|
|
|
<md-icon ng-class="{ 'icon-check': mailbox.sortedBy('arrival') }">
|
|
|
|
<!-- order received --></md-icon> <var:string label:value="Order Received"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-menu-divider> <!-- divider --></md-menu-divider>
|
|
|
|
<md-menu-item>
|
2016-03-01 20:15:04 +01:00
|
|
|
<sg-checkmark
|
|
|
|
label:aria-label="Descending Order"
|
|
|
|
ng-model="mailbox.service.$query.asc"
|
|
|
|
ng-change="mailbox.selectedFolder.$filter()"
|
|
|
|
sg-true-value="0"
|
|
|
|
sg-false-value="1"><var:string label:value="Descending Order"/></sg-checkmark>
|
2015-09-03 22:10:05 +02:00
|
|
|
</md-menu-item>
|
|
|
|
</md-menu-content>
|
|
|
|
</md-menu>
|
2016-01-07 21:19:53 +01:00
|
|
|
<md-button class="sg-icon-button" label:aria-label="Get Mail" ng-click="mailbox.selectedFolder.$filter()" >
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-icon>refresh</md-icon>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
<!-- search mode -->
|
2016-02-25 03:30:33 +01:00
|
|
|
<form class="md-toolbar-tools sg-toolbar-secondary"
|
|
|
|
name="searchForm"
|
|
|
|
layout="row"
|
|
|
|
ng-show="mailbox.mode.search"
|
|
|
|
sg-search="mailbox.selectedFolder.$filter(null, [{ searchBy: searchField, searchInput: searchText }])"
|
|
|
|
sg-allow-dot="false">
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-button class="sg-icon-button"
|
|
|
|
sg-search-cancel="mailbox.cancelSearch()"
|
|
|
|
label:aria-label="Back">
|
|
|
|
<md-icon>arrow_back</md-icon>
|
|
|
|
</md-button>
|
2015-12-11 21:11:53 +01:00
|
|
|
<md-input-container class="md-flex" md-no-float="md-no-float">
|
2016-06-23 22:03:14 +02:00
|
|
|
<input name="folderSearch" type="search" var:minlength="minimumSearchLength" label:placeholder="Search" sg-focus-on="search" />
|
2016-02-25 16:10:53 +01:00
|
|
|
<div ng-messages="searchForm.folderSearch.$error" ng-show="searchForm.folderSearch.$dirty">
|
|
|
|
<div ng-message="minlength"><var:string value="minimumSearchLengthLabel"/></div>
|
|
|
|
</div>
|
2015-09-03 22:10:05 +02:00
|
|
|
</md-input-container>
|
2015-09-21 18:27:51 +02:00
|
|
|
<md-input-container flex="25">
|
2016-04-21 19:40:47 +02:00
|
|
|
<md-select label:aria-label="Search scope">
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-option value="subject" selected="selected"><var:string label:value="Subject"/></md-option>
|
|
|
|
<md-option value="from"><var:string label:value="Sender"/></md-option>
|
|
|
|
<md-option value="subject_or_from"><var:string label:value="Subject or Sender"/></md-option>
|
|
|
|
<md-option value="to_or_cc"><var:string label:value="To or Cc"/></md-option>
|
|
|
|
<md-option value="body"><var:string label:value="Entire Message"/></md-option>
|
|
|
|
</md-select>
|
|
|
|
</md-input-container>
|
2016-02-25 03:30:33 +01:00
|
|
|
</form>
|
2015-09-03 22:10:05 +02:00
|
|
|
</md-toolbar>
|
|
|
|
|
|
|
|
<!-- multiple-selection mode -->
|
2016-03-08 19:20:34 +01:00
|
|
|
<md-toolbar class="md-hue-1 sg-toolbar-secondary"
|
|
|
|
ng-show="mailbox.mode.multiple">
|
2015-09-03 22:10:05 +02:00
|
|
|
<div class="md-toolbar-tools">
|
|
|
|
<md-button class="sg-icon-button" ng-click="mailbox.unselectMessages()">
|
|
|
|
<md-icon>arrow_back</md-icon>
|
|
|
|
</md-button>
|
2015-09-10 22:38:30 +02:00
|
|
|
<label>{{mailbox.service.selectedFolder.$selectedCount()}} <var:string label:value="selected"/></label>
|
2015-09-03 22:10:05 +02:00
|
|
|
<div class="md-flex"><!-- spacer --></div>
|
|
|
|
<md-button class="sg-icon-button" ng-click="mailbox.selectAll()">
|
|
|
|
<md-tooltip md-direction="bottom"><var:string label:value="Select All"/></md-tooltip>
|
|
|
|
<md-icon>select_all</md-icon>
|
|
|
|
</md-button>
|
2016-11-01 15:35:00 +01:00
|
|
|
<md-button class="sg-icon-button" ng-click="mailbox.confirmDeleteSelectedMessages($event)">
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-icon>delete</md-icon>
|
|
|
|
</md-button>
|
2016-02-08 21:36:01 +01:00
|
|
|
<md-button class="sg-icon-button" ng-click="mailbox.markOrUnMarkMessagesAsJunk()">
|
|
|
|
<md-icon ng-hide="mailbox.service.selectedFolder.type == 'junk'">thumb_down</md-icon>
|
|
|
|
<md-icon ng-hide="mailbox.service.selectedFolder.type != 'junk'">thumb_up</md-icon>
|
|
|
|
</md-button>
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-menu>
|
2016-11-01 20:54:56 +01:00
|
|
|
<md-button class="sg-icon-button" label:aria-label="More messages options" ng-click="$mdMenu.open()">
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-icon>more_vert</md-icon>
|
|
|
|
</md-button>
|
|
|
|
<md-menu-content width="2">
|
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="mailbox.markSelectedMessagesAsFlagged()">
|
|
|
|
<var:string label:value="Flag"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="mailbox.markSelectedMessagesAsUnread()">
|
|
|
|
<var:string label:value="Mark as Unread"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
2016-11-07 18:14:00 +01:00
|
|
|
<md-menu-item>
|
|
|
|
<md-button ng-click="mailbox.markSelectedMessagesAsRead()">
|
|
|
|
<var:string label:value="Mark as Read"/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
2015-09-03 22:10:05 +02:00
|
|
|
<md-menu-item>
|
2016-05-03 18:55:58 +02:00
|
|
|
<md-button ng-click="mailbox.selectedFolder.saveSelectedMessages()">
|
2015-09-03 22:10:05 +02:00
|
|
|
<var:string label:value="Save As..."/>
|
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
2016-02-03 22:48:04 +01:00
|
|
|
<md-menu-item>
|
|
|
|
<md-menu>
|
2016-11-01 20:54:56 +01:00
|
|
|
<md-button label:aria-label="Copy To" ng-click="$mdMenu.open($event)">
|
2016-02-03 22:48:04 +01:00
|
|
|
<var:string label:value="Copy To"/>
|
|
|
|
</md-button>
|
|
|
|
<md-menu-content width="4">
|
|
|
|
<div ng-repeat="account in mailbox.accounts track by account.id">
|
|
|
|
<md-menu-item>
|
2016-02-25 03:44:45 +01:00
|
|
|
<md-menu>
|
2016-11-01 20:54:56 +01:00
|
|
|
<md-button class="md-primary" ng-click="$mdMenu.open($event)">{{account.name}}</md-button>
|
2016-02-25 03:44:45 +01:00
|
|
|
<md-menu-content class="md-dense" width="4">
|
|
|
|
<div ng-repeat="folder in
|
|
|
|
account.$flattenMailboxes({ all: true })
|
|
|
|
track by folder.path">
|
|
|
|
<md-menu-item>
|
|
|
|
<md-button class="sg-no-wrap"
|
|
|
|
ng-disabled="mailbox.service.selectedFolder.id == folder.id"
|
|
|
|
ng-click="mailbox.copySelectedMessages(folder.id)">
|
2017-02-20 03:13:44 +01:00
|
|
|
<span ng-class="'sg-child-level-' + folder.level">{{folder.$displayName}}</span>
|
2016-02-25 03:44:45 +01:00
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
|
|
|
</div>
|
|
|
|
</md-menu-content>
|
|
|
|
</md-menu>
|
2016-02-03 22:48:04 +01:00
|
|
|
</md-menu-item>
|
|
|
|
</div>
|
|
|
|
</md-menu-content>
|
|
|
|
</md-menu>
|
|
|
|
</md-menu-item>
|
|
|
|
<md-menu-item>
|
|
|
|
<md-menu>
|
2016-11-01 20:54:56 +01:00
|
|
|
<md-button label:aria-label="Move To" ng-click="$mdMenu.open($event)">
|
2016-02-03 22:48:04 +01:00
|
|
|
<var:string label:value="Move To"/>
|
|
|
|
</md-button>
|
|
|
|
<md-menu-content width="4">
|
|
|
|
<div ng-repeat="account in mailbox.accounts track by account.id">
|
|
|
|
<md-menu-item>
|
2016-02-25 03:44:45 +01:00
|
|
|
<md-menu>
|
2016-11-01 20:54:56 +01:00
|
|
|
<md-button class="md-primary" ng-click="$mdMenu.open($event)">{{account.name}}</md-button>
|
2016-02-25 03:44:45 +01:00
|
|
|
<md-menu-content class="md-dense" width="4">
|
|
|
|
<div ng-repeat="folder in
|
|
|
|
account.$flattenMailboxes({ all: true })
|
|
|
|
track by folder.path">
|
|
|
|
<md-menu-item>
|
|
|
|
<md-button class="sg-no-wrap"
|
|
|
|
ng-disabled="mailbox.service.selectedFolder.id == folder.id"
|
|
|
|
ng-click="mailbox.moveSelectedMessages(folder.id)">
|
2017-02-20 03:13:44 +01:00
|
|
|
<span ng-class="'sg-child-level-' + folder.level">{{folder.$displayName}}</span>
|
2016-02-25 03:44:45 +01:00
|
|
|
</md-button>
|
|
|
|
</md-menu-item>
|
|
|
|
</div>
|
|
|
|
</md-menu-content>
|
|
|
|
</md-menu>
|
2016-02-03 22:48:04 +01:00
|
|
|
</md-menu-item>
|
|
|
|
</div>
|
|
|
|
</md-menu-content>
|
|
|
|
</md-menu>
|
|
|
|
</md-menu-item>
|
2015-09-03 22:10:05 +02:00
|
|
|
</md-menu-content>
|
|
|
|
</md-menu>
|
|
|
|
</div>
|
|
|
|
</md-toolbar>
|
|
|
|
|
2015-12-04 21:00:58 +01:00
|
|
|
<md-divider><!-- divider --></md-divider>
|
|
|
|
|
2015-07-15 19:44:17 +02:00
|
|
|
<md-content id="messagesList" layout="column" class="md-flex">
|
2015-09-09 20:43:09 +02:00
|
|
|
<md-subheader>
|
2015-12-02 19:51:33 +01:00
|
|
|
<!-- message count -->
|
2015-09-10 22:38:30 +02:00
|
|
|
<span ng-switch="mailbox.service.selectedFolder.getLength()">
|
2015-09-09 20:43:09 +02:00
|
|
|
<span ng-switch-when="0"><var:string label:value="No message"/></span>
|
2015-09-10 22:38:30 +02:00
|
|
|
<span ng-switch-default="true">{{mailbox.service.selectedFolder.getLength()}} <var:string label:value="messages"/></span>
|
2015-09-09 20:43:09 +02:00
|
|
|
</span>
|
|
|
|
</md-subheader>
|
2016-01-08 22:31:06 +01:00
|
|
|
<md-virtual-repeat-container class="md-flex" md-top-index="mailbox.selectedFolder.$topIndex">
|
2016-04-21 19:40:47 +02:00
|
|
|
<md-list class="sg-section-list"
|
2016-08-04 23:34:29 +02:00
|
|
|
ng-class="{ 'sg-list-selectable': mailbox.mode.multiple }"
|
|
|
|
sg-draggable="mailbox.selectedFolder"
|
|
|
|
sg-drag-start="mailbox.selectedFolder.hasSelectedMessage() || mailbox.selectedFolder.$selectedCount()"
|
|
|
|
sg-drag-count="mailbox.selectedFolder.$selectedCount()">
|
2015-08-25 18:20:46 +02:00
|
|
|
<md-list-item
|
2016-08-04 23:34:29 +02:00
|
|
|
aria-label="{{currentMessage.subject}}"
|
2016-05-11 17:15:44 +02:00
|
|
|
ng-class="{'md-default-theme md-accent md-bg md-hue-2': mailbox.selectedFolder.isSelectedMessage(currentMessage.uid, currentMessage.$mailbox.path),
|
2015-09-24 22:48:20 +02:00
|
|
|
unread: !currentMessage.isread}"
|
2015-12-14 16:39:10 +01:00
|
|
|
md-virtual-repeat="currentMessage in mailbox.service.selectedFolder"
|
|
|
|
md-on-demand="md-on-demand" md-item-size="56"
|
2016-08-04 23:34:29 +02:00
|
|
|
ng-click="mailbox.selectMessage(currentMessage)">
|
2016-04-21 19:40:47 +02:00
|
|
|
<div class="md-secondary sg-avatar-selectable"
|
2016-05-26 21:04:18 +02:00
|
|
|
label:aria-label="Select Message"
|
2016-04-21 19:40:47 +02:00
|
|
|
ng-class="{ 'sg-avatar-selected': currentMessage.selected }"
|
|
|
|
ng-click="mailbox.toggleMessageSelection($event, currentMessage)">
|
2016-06-08 20:02:45 +02:00
|
|
|
<sg-avatar-image
|
|
|
|
sg-email="mailbox.service.selectedFolder.type == 'sent' ? currentMessage.to[0].email : currentMessage.from[0].email"
|
2016-11-11 22:46:55 +01:00
|
|
|
size="40">person</sg-avatar-image>
|
2015-12-14 16:39:10 +01:00
|
|
|
</div>
|
2016-01-09 04:06:35 +01:00
|
|
|
<div class="sg-category"
|
|
|
|
ng-repeat="tag in currentMessage.flags | limitTo:5"
|
|
|
|
ng-style="{ 'background-color': currentMessage.constructor.$tags[tag][1], left: ($index * 3) + 'px' }"><!-- calendar color --></div>
|
2015-08-25 18:20:46 +02:00
|
|
|
<div class="sg-tile-content">
|
2015-09-25 22:07:56 +02:00
|
|
|
<div class="sg-md-subhead">
|
|
|
|
<div>
|
2016-01-18 22:30:21 +01:00
|
|
|
<span class="sg-label-outline ng-hide"
|
2017-02-20 03:13:44 +01:00
|
|
|
ng-show="mailbox.service.$virtualMode">{{currentMessage.$mailbox.$displayName}}</span>
|
2016-01-18 22:30:21 +01:00
|
|
|
<md-icon class="ng-hide"
|
|
|
|
ng-show="currentMessage.priority.level == 1 ||
|
2015-11-26 21:02:21 +01:00
|
|
|
currentMessage.priority.level == 2"
|
|
|
|
ng-class="{'md-warn': currentMessage.priority.level == 1}">error</md-icon>
|
2016-03-23 14:48:18 +01:00
|
|
|
{{mailbox.service.selectedFolder.type == 'sent' ? currentMessage.$shortAddress('to' ) : currentMessage.$shortAddress('from' )}}
|
2015-09-25 22:07:56 +02:00
|
|
|
</div>
|
|
|
|
<div class="sg-tile-date" ng-bind="currentMessage.relativedate"><!-- date --></div>
|
|
|
|
</div>
|
|
|
|
<div class="sg-md-body">
|
|
|
|
<div>{{currentMessage.subject}}</div>
|
2016-05-31 21:36:54 +02:00
|
|
|
<div class="sg-tile-size" ng-bind="currentMessage.size"><!-- size --></div>
|
2015-09-10 22:38:30 +02:00
|
|
|
</div>
|
2015-08-25 18:20:46 +02:00
|
|
|
</div>
|
|
|
|
<div class="sg-tile-icons">
|
2016-01-18 22:30:21 +01:00
|
|
|
<md-icon class="ng-hide" ng-show="currentMessage.isflagged">star</md-icon>
|
|
|
|
<md-icon class="ng-hide" ng-show="currentMessage.isanswered">reply</md-icon>
|
|
|
|
<md-icon class="ng-hide" ng-show="currentMessage.isforwarded">forward</md-icon>
|
|
|
|
<md-icon class="ng-hide" ng-show="currentMessage.hasattachment">attach_file</md-icon>
|
2015-08-25 18:20:46 +02:00
|
|
|
</div>
|
2016-05-30 18:29:58 +02:00
|
|
|
<div class="sg-progress-linear-bottom">
|
|
|
|
<md-progress-linear class="md-accent"
|
|
|
|
md-mode="indeterminate"
|
2016-08-30 16:27:32 +02:00
|
|
|
ng-disabled="!currentMessage.$isLoading()"><!-- message loading progress --></md-progress-linear>
|
2016-05-30 18:29:58 +02:00
|
|
|
</div>
|
2015-08-25 18:20:46 +02:00
|
|
|
</md-list-item>
|
2015-07-15 19:44:17 +02:00
|
|
|
</md-list>
|
|
|
|
</md-virtual-repeat-container>
|
2015-08-25 18:20:46 +02:00
|
|
|
<div class="sg-progress-circular-floating"
|
2015-09-10 22:38:30 +02:00
|
|
|
ng-show="mailbox.service.selectedFolder.$isLoading">
|
2015-08-25 18:20:46 +02:00
|
|
|
<md-progress-circular class="md-accent"
|
|
|
|
md-mode="indeterminate"
|
2016-05-30 18:29:58 +02:00
|
|
|
md-diameter="32"><!-- mailbox loading progress --></md-progress-circular>
|
2015-08-25 18:20:46 +02:00
|
|
|
</div>
|
2015-07-15 19:44:17 +02:00
|
|
|
</md-content>
|
2015-04-29 17:23:21 +02:00
|
|
|
</div>
|
|
|
|
|
2017-02-02 03:32:16 +01:00
|
|
|
<md-fab-speed-dial
|
|
|
|
class="md-scale sg-fab-bottom-center"
|
|
|
|
ng-cloak="ng-cloak"
|
|
|
|
ng-class="{ 'sg-sidenav-close': leftIsClose, 'sg-center-close': centerIsClose }"
|
|
|
|
md-direction="up">
|
|
|
|
<md-fab-trigger>
|
|
|
|
<md-button class="md-fab md-accent" label:aria-label="Write a new message">
|
|
|
|
<md-icon>edit</md-icon>
|
|
|
|
</md-button>
|
|
|
|
</md-fab-trigger>
|
|
|
|
<md-fab-actions>
|
|
|
|
<md-button class="md-fab md-raised md-mini" var:aria-label="Write a new message"
|
|
|
|
ng-click="mailbox.newMessage($event)">
|
|
|
|
<md-tooltip md-direction="left"><var:string label:value="Write a new message"/></md-tooltip>
|
|
|
|
<md-icon>open_in_browser</md-icon>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="md-fab md-raised md-mini" var:aria-label="Write a message in new window"
|
|
|
|
ng-click="mailbox.newMessage($event, true)">
|
|
|
|
<md-tooltip md-direction="left"><var:string label:value="Write a message in new window"/></md-tooltip>
|
|
|
|
<md-icon>open_in_new</md-icon>
|
|
|
|
</md-button>
|
|
|
|
</md-fab-actions>
|
|
|
|
</md-fab-speed-dial>
|
|
|
|
|
2016-04-21 19:40:47 +02:00
|
|
|
<div id="detailView" class="view-detail"
|
2015-11-25 15:37:59 +01:00
|
|
|
layout="column" layout-align="start center"
|
2016-05-18 20:47:33 +02:00
|
|
|
ng-class="{ 'sg-close': !mailbox.service.selectedFolder.hasSelectedMessage() }"
|
2016-04-21 19:40:47 +02:00
|
|
|
md-colors="::{backgroundColor: 'default-background-200'}"
|
2015-08-27 19:37:47 +02:00
|
|
|
ui-view="message">
|
2016-05-18 20:35:24 +02:00
|
|
|
<md-content class="hide show-gt-md md-flex"
|
2016-04-21 19:40:47 +02:00
|
|
|
md-colors="::{backgroundColor: 'default-background-200'}"
|
2016-04-01 22:05:55 +02:00
|
|
|
layout="column" layout-align="center center" layout-fill="layout-fill">
|
2016-04-21 19:40:47 +02:00
|
|
|
<div class="sg-md-title"
|
|
|
|
md-colors="::{color: 'default-background-500'}"><var:string label:value="No message selected"/></div>
|
2015-09-03 22:10:05 +02:00
|
|
|
</md-content>
|
|
|
|
</div>
|
2015-03-19 08:40:46 +01:00
|
|
|
|
2014-12-17 20:58:20 +01:00
|
|
|
</container>
|