@ -1,53 +1,45 @@
< div class = "mail-container" >
< div class = "row ">
< div class = "row letter-layout ">
< div class = "mail-navigation-container" >
< div class = "compose-button" >
< button type = "button" class = "btn compose-button" >
Compose
< / button >
< / div >
< div ng-repeat = "t in tabs" class = "mail-navigation {{tab == $index ? 'active' : ''}}" ng-click = "selectTab($index)" >
{{t.name}}
{{t.name}}< span class = "new-mails" ng-show = "t.newMails" > {{t.newMails}}< / span >
< / div >
< div class = "labels" >
< div class = "labels-title" >
< h5 class = "label-header" >
Labels
< / h5 >
< / div >
< div class = "label-item" >
< span class = "tag label work" > Work< / span >
< / div >
< div class = "control-container row clearfix" >
< div class = "col-lg-4 col-sm-4 col-xs-4" >
< button type = "button" class = "btn compose-button" >
Compose
< / button >
< div class = "label-item" >
< span class = "tag label family" > Family< / span >
< / div >
< div class = "col-lg-8 col-sm-8 col-xs-8 icon-buttons" >
< button type = "button" class = "btn btn-icon" > < i class = "ion-android-download" > < / i > < / button >
< button type = "button" class = "btn btn-icon" ng-click = "mail.important = !mail.important" >
< i title = "Important" class = "ion-ios-star{{mail.important ? '' : '-outline'}}" > < / i >
< / button >
< button type = "button" class = "btn btn-icon" ng-click = "mail.trash = !mail.trash" >
< i title = "Trash" class = "ion-ios-trash{{mail.trash ? '' : '-outline'}}" > < / i >
< / button >
< div class = "btn-group" >
< button type = "button" class = "btn btn-icon dropdown-toggle margin-left" data-toggle = "dropdown"
aria-haspopup="true"
aria-expanded="false">
< i title = "Folder" class = "ion-android-folder-open" > < / i > < span class = "caret" > < / span >
< / button >
< ul class = "dropdown-menu" >
< li > < a href > Action< / a > < / li >
< li > < a href > Another action< / a > < / li >
< li > < a href > Something else here< / a > < / li >
< li role = "separator" class = "divider" > < / li >
< li > < a href > Separated link< / a > < / li >
< / ul >
< div class = "label-item" >
< span class = "tag label friend" > Friend< / span >
< / div >
< div class = "label-item" >
< span class = "tag label study" > Study< / span >
< / div >
< / div >
< div class = "add-label-container" >
< i class = "ion-plus-round" > < / i > < span class = "label-input-stub" > Add new label< / span >
< / div >
< div class = "btn-group" >
< button type = "button" class = "btn btn-icon dropdown-toggle" data-toggle = "dropdown" aria-haspopup = "true"
aria-expanded="false">
< i title = "Folder" class = "ion-link" > < / i > < span class = "caret" > < / span >
< / button >
< ul class = "dropdown-menu" >
< li > < a href > Action< / a > < / li >
< li > < a href > Another action< / a > < / li >
< li > < a href > Something else here< / a > < / li >
< li role = "separator" class = "divider" > < / li >
< li > < a href > Separated link< / a > < / li >
< / ul >
< / div >
< div class = "btn-group" >
< div ng-show = "!showMail" class = "side-message-navigation" >
< div class = "messages-control side-message-navigation-item" >
< label class = "checkbox-inline custom-checkbox nowrap margin-left" >
< span class = "select-all-label" > Select All< / span >
< input type = "checkbox" >
< / label >
< button type = "button" class = "btn btn-icon margin-left" > < i class = "ion-refresh" > < / i > < / button >
< div class = "btn-group margin-left" >
< button type = "button" class = "btn btn-icon dropdown-toggle more-button" data-toggle = "dropdown"
aria-haspopup="true"
aria-expanded="false">More< span class = "caret" > < / span >
@ -61,35 +53,64 @@
< / ul >
< / div >
< / div >
< / div >
< div class = "row inbox-layout" >
< div class = "side-message-navigation" >
< div class = "messages" >
< table >
< tr ng-repeat = "m in currentMessages | orderBy:'-date'" class = "little-human {{m == mail ? 'active' : ''}}"
< tr ng-repeat = "m in currentMessages | orderBy:'-date'"
class="side-message-navigation-item little-human {{m == mail ? 'active' : ''}} {{m.tag}}"
ng-click="selectMail(m)">
< td >
< div class = "mail-checkbox" >
< label class = "checkbox-inline custom-checkbox nowrap margin-left" >
< span > < / span >
< input type = "checkbox" >
< / label >
< / div >
< / td >
< td > < img ng-src = "{{m.name.split(' ')[0] | profilePicture}}" class = "little-human-picture" > < / td >
< td > < span class = "name" > {{m.name.split(' ')[0] + ' ' + m.name.split(' ')[1][0]}}.< / span > < / td >
< td class = "additional-info" > < span class = "tag label label-primary {{m.tag}}" > {{m.tag}}< / span > < / td >
< td class = "additional-info" > < span class = "subject" > {{m.subject}}< / span > < / td >
< td class = "date additional-info" > < span > {{m.date | date : 'MMM d HH:mm'}}< / span > < / td >
< td >
< div class = "margin-left" >
< div > < span class = "name" > {{m.name.split(' ')[0] + ' ' + m.name.split(' ')[1][0]}}.< / span > < / div >
< div > < span class = "tag label label-primary {{m.tag}}" > {{m.tag}}< / span > < / div >
< / div >
< / td >
< td >
< div class = "margin-left additional-info" >
< span class = "subject" > {{m.subject}}< / span >
< / div >
< / td >
< td >
< div class = "mail-body-part" > {{m.body | plainText}}< / div >
< / td >
< td class = "date" >
< span > {{m.date | date : 'MMM d HH:mm'}}< / span >
< / td >
< / tr >
< / table >
< / div >
< / div >
< div class = "message-container with-scroll" >
< div ng-show = "showMail" class = "message-container with-scroll" >
< div class = "message" ng-show = "mail" >
< div class = "row" >
< button ng-click = "showMail=false" type = "button" class = "back-button btn btn-default btn-with-icon" > < i
class="ion-chevron-left">< / i > Back
< / button >
< / div >
< div class = "person-info row" >
< div class = "col-lg-4 col-sm-4 col-xs-12 no-padding" >
< div class = "col-lg-4 col- md-12 no-padding">
< img ng-src = "{{mail.name.split(' ')[0] | profilePicture}}" class = "human-picture" >
< div class = "name" >
< h2 > {{mail.name.split(' ')[0]}}< / h2 >
< h2 class = "name-h" > {{mail.name.split(' ')[0]}}< / h2 >
< h2 class = "name-h second-name" > {{mail.name.split(' ')[1]}}< / h2 >
< h2 > {{mail.name.split(' ')[1]}}< / h2 >
< div >
< span class = "mail-tag tag label {{mail.tag}}" > {{mail.tag}}< / span >
< / div >
< / div >
< / div >
< div class = "col-lg-4 col- sm-4 col-xs-12 no-padding">
< div class = "col-lg-4 col- md-6 col-xs-12 no-padding">
< div class = "contact-info phone-email" >
< div >
< i class = "ion-iphone" > < / i >
@ -102,7 +123,7 @@
< / div >
< / div >
< div class = "col-lg-4 col- sm-4 col-xs-12 no-padding">
< div class = "col-lg-4 col- md-6 col-xs-12 no-padding">
< div class = "contact-info position-address" >
< div >
< span class = "position" > {{mail.position}}< / span >
@ -114,17 +135,6 @@
< / div >
< / div >
< div class = "row" >
< div class = "col-lg-4 col-sm-4 col-xs-12 no-padding" >
< / div >
< div class = "col-lg-8 col-sm-8 col-xs-12 no-padding" >
< div class = "tag-line" >
< span class = "tag label work" > Work< / span >
< span class = "tag label family" > Family< / span >
< span class = "tag label friend" > Friend< / span >
< span class = "tag label study" > Study< / span >
< / div >
< / div >
< / div >
< div class = "line" > < / div >
< div class = "message-details" >
@ -137,14 +147,19 @@
< / div >
< div class = "line" > < / div >
< div class = "attachment" ng-show = "mail.attachment" >
< span class = "file-links" > 1 Attachment - < a href > View< / a > | < a href > Download< / a > < / span >
< div >
< i class = "file-icon ion-document" > < / i >
< span class = "file-name" > {{mail.attachment}}< / span >
< i class = "file-link ion-arrow-down-a" > < / i>
< / d iv >
< / div >
< div class = "line" ng-show = "mail.attachment" > < / div >
< div class = "answer-container" ng-show = "tab != 1" >
< textarea ng-show = "tab != 3" placeholder = "Type.." class = "form-control answer-area" > < / textarea >
< button type = "button" class = "btn answer-button" > Send< / button >
< div class = "answer-container" >
< button type = "button" class = "btn btn-with-icon" > < i class = "ion-reply" > < / i > Reply< / button >
< button type = "button" class = "btn btn-with-icon" > < i class = "ion-forward" > < / i > Forward< / button >
< button type = "button" class = "btn btn-with-icon" > < i class = "ion-printer" > < / i > Print< / button >
< button type = "button" class = "btn btn-with-icon" > < i class = "ion-android-remove-circle" > < / i > Spam< / button >
< button type = "button" class = "btn btn-with-icon" > < i class = "ion-android-delete" > < / i > Delete< / button >
< / div >
< / div >
@ -152,5 +167,6 @@
< h5 ng-class = "text-center" > Nothing to show< / h5 >
< / div >
< / div >
< / div >
< / div >