summaryrefslogtreecommitdiff
path: root/templates/contactCarouselDelegate.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/contactCarouselDelegate.html')
-rw-r--r--templates/contactCarouselDelegate.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/contactCarouselDelegate.html b/templates/contactCarouselDelegate.html
new file mode 100644
index 0000000..54a4efd
--- /dev/null
+++ b/templates/contactCarouselDelegate.html
@@ -0,0 +1,24 @@
+<li><div id="carouselBox_{{:#index}}" class="carouselBox borderColorTheme" data-id="{{:id}}" onclick="callContactById('{{:id}}');">
+ <div class="carouselPhotoArea borderColorTheme">
+ <div class="carouselPhotoBox noContactPhoto">
+ <img class="carouselPhoto" src="{{:photoURI}}" />
+ </div>
+ </div>
+ <!-- <div class="carouselInfoBox carouselCallContact"></div> -->
+ <div
+ class="carouselInfoBox carouselName fontSizeLarger fontWeightBold fontColorNormal">
+ {{if name}} {{if name.firstName}} {{:name.firstName}} {{/if}} {{if
+ name.lastName}} {{:name.lastName}} {{/if}} {{/if}}</div>
+ <div class="carouselInfoBox carouselNumber fontSizeSmall fontWeightBold fontColorTheme">
+ {{if phoneNumbers}} {{if phoneNumbers[0]}}
+ {{:phoneNumbers[0].number}} {{/if}} {{/if}}</div>
+ <div class="callHistoryElement borderColorTheme">
+ <div class="{{if direction == 'missed-new'}}missedNew{{else}}{{:direction.toLowerCase()}}{{/if}}CallIcon callHistoryIcon callHistoryIconGen"></div>
+ <div class="callHistoryDetails">
+ <div class="fontSizeXXSmall fontColorNormal">{{:startTime.toString().toUpperCase()}}</div>
+ <div class="fontSizeXXSmall fontWeightBold fontColorTheme">{{:direction.toString().toUpperCase()}}</div>
+ </div>
+ </div>
+
+ </div>
+</li>