-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
- Loading branch information
Showing
7 changed files
with
27 additions
and
171 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
@import "app-content-list"; | ||
@import "details"; | ||
@import "contactlist"; | ||
@import "navigation"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
<a class="app-content-list-item-link" ng-click="ctrl.openContact()"> | ||
<img class="app-content-list-item-icon contact__icon" ng-show="ctrl.contact.photo()!==undefined" data-ng-src="{{ctrl.contact.photo()}}" /> | ||
<div class="app-content-list-item-icon contact__icon" ng-show="ctrl.contact.photo()===undefined" ng-style="{'background-color': (ctrl.contact.uid() | contactColor) }">{{ ctrl.contact.displayName() | firstCharacter }}</div> | ||
<div class="app-content-list-item-star icon-star" data-starred="false"></div> | ||
<div class="app-content-list-item-failed icon-error" tooltip-placement="auto left" ng-if="ctrl.contact.failedProps.length>0" uib-tooltip="{{ ctrl.t.errorMessage }}"></div> | ||
<div class="app-content-list-item-line-one" ng-class="{'no-line-two':!ctrl.contact.email()}">{{ ctrl.getName() | newContact }}</div> | ||
<div class="app-content-list-item-line-two">{{ctrl.contact.email()}}</div> | ||
</a> | ||
<img class="app-content-list-item-icon contact__icon" ng-show="ctrl.contact.photo()!==undefined" data-ng-src="{{ctrl.contact.photo()}}" /> | ||
<div class="app-content-list-item-icon contact__icon" ng-show="ctrl.contact.photo()===undefined" ng-style="{'background-color': (ctrl.contact.uid() | contactColor) }">{{ ctrl.contact.displayName() | firstCharacter }}</div> | ||
<div class="app-content-list-item-star icon-star" data-starred="false"></div> | ||
<div class="app-content-list-item-failed icon-error" tooltip-placement="auto left" ng-if="ctrl.contact.failedProps.length>0" uib-tooltip="{{ ctrl.t.errorMessage }}"></div> | ||
<div class="app-content-list-item-line-one">{{ ctrl.getName() | newContact }}</div> | ||
<div class="app-content-list-item-line-two" ng-if="ctrl.contact.email()">{{ctrl.contact.email()}}</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<div class="contacts-list" ng-class="{loading: ctrl.loading, 'mobile-show': ctrl.show}"> | ||
<div class="app-content-list-item" | ||
ng-repeat="contact in ctrl.filteredContacts = (ctrl.contactList | contactGroupFilter:ctrl.routeParams.gid | localeOrderBy:ctrl.sortBy | filter:query | limitTo:ctrl.limitTo ) as filtered track by contact.uid()" | ||
contact data="contact" | ||
ng-click="setSelected(contact.uid())" | ||
ng-class="{active: contact.uid() === ctrl.getSelectedId()}"> | ||
</div> | ||
<div ng-show="!ctrl.filteredContacts.length && !ctrl.loading && ctrl.searchTerm !== ''"> | ||
<div id="emptycontent" class="emptycontent-search"> | ||
<div class="icon-search"></div> | ||
<h2>{{ctrl.t.emptySearch}}</h2> | ||
</div> | ||
<a class="app-content-list-item" | ||
ng-repeat="contact in ctrl.filteredContacts = (ctrl.contactList | contactGroupFilter:ctrl.routeParams.gid | localeOrderBy:ctrl.sortBy | filter:query | limitTo:ctrl.limitTo ) as filtered track by contact.uid()" | ||
contact data="contact" | ||
href="#/{{ctrl.routeParams.gid}}/{{contact.uid()}}" | ||
ng-class="{active: contact.uid() === ctrl.getSelectedId()}"> | ||
</a> | ||
<div ng-show="!ctrl.filteredContacts.length && !ctrl.loading && ctrl.searchTerm !== ''"> | ||
<div id="emptycontent" class="emptycontent-search"> | ||
<div class="icon-search"></div> | ||
<h2>{{ctrl.t.emptySearch}}</h2> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
<div id="importscreen-wrapper" ng-show="ctrl.importing"> | ||
<div id="importscreen-content"> | ||
<span class="icon-upload"></span> | ||
<h3 id="importscreen-title">{{ctrl.t.importingTo}} {{ctrl.selectedAddressBook}}</h3> | ||
<progress id="importscreen-progress" max="100" value="{{ctrl.importPercent}}"></progress> | ||
<span id="importscreen-user">{{ctrl.importedUser}}</span> | ||
<span id="importscreen-percent">{{ctrl.importPercent}} %</span> | ||
</div> | ||
<div id="importscreen-content" class="emptycontent"> | ||
<span class="icon-upload"></span> | ||
<h3 id="importscreen-title">{{ctrl.t.importingTo}} {{ctrl.selectedAddressBook}}</h3> | ||
<progress id="importscreen-progress" max="100" value="{{ctrl.importPercent}}"></progress> | ||
<span id="importscreen-user">{{ctrl.importedUser}}</span> | ||
<span id="importscreen-percent">{{ctrl.importPercent}} %</span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters