-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ActionBar with Details overlay to Card Youtube templates https://coveord.atlassian.net/browse/JSUI-1364 * Add clickUrl and clickUrlField options to Backdrop https://coveord.atlassian.net/browse/JSUI-1364 * Add missing semicolon https://coveord.atlassian.net/browse/JSUI-1364 * Remove redundant link options from Backdrop Replace these options in templates with a surrounding CoveoResultLink component. https://coveord.atlassian.net/browse/JSUI-1364 * Remove tests for removed Backdrop options https://coveord.atlassian.net/browse/JSUI-1364 * Remove unused imports https://coveord.atlassian.net/browse/JSUI-1364
- Loading branch information
1 parent
dc88d17
commit 9939367
Showing
5 changed files
with
82 additions
and
50 deletions.
There are no files selected for viewing
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
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
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,34 +1,50 @@ | ||
<div class="coveo-result-frame" style="padding: 0"> | ||
<div class="CoveoBackdrop coveo-result-row" data-image-field="ytthumbnailurl" data-overlay-color="rgb(38, 62, 85)" data-overlay-gradient="true"> | ||
<div style="padding: 20px"> | ||
<div class="coveo-result-row" style="margin-bottom: 15px"> | ||
<div class="coveo-result-cell" style="width: 32px; vertical-align:middle; flex-grow:0"> | ||
<span class="CoveoIcon" data-small="true"></span> | ||
<a class="CoveoResultLink" style="text-decoration: none; outline: none"> | ||
<div class="CoveoBackdrop coveo-result-row" data-image-field="ytthumbnailurl" data-overlay-color="rgb(38, 62, 85)" data-overlay-gradient="true" data-click-url-field="clickableuri"> | ||
<div style="padding: 20px"> | ||
<div class="coveo-result-row" style="margin-bottom: 15px"> | ||
<div class="coveo-result-cell" style="width: 32px; vertical-align:middle; flex-grow:0"> | ||
<span class="CoveoIcon" data-small="true"></span> | ||
</div> | ||
<div class="coveo-result-cell" style="padding-left: 10px"> | ||
<span class="CoveoResultLink" style="color: white"></span> | ||
</div> | ||
</div> | ||
<div class="coveo-result-cell" style="padding-left: 10px"> | ||
<a class="CoveoResultLink" style="color: white"></a> | ||
<div class="coveo-result-row" style="margin-bottom: 20px"> | ||
<div class="coveo-result-cell" style="padding-top:5px; padding-bottom:5px"> | ||
<div class="CoveoExcerpt" style="color: white;"></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="coveo-result-row" style="margin-bottom: 20px"> | ||
<div class="coveo-result-cell" style="padding-top:5px; padding-bottom:5px"> | ||
<div class="CoveoExcerpt" style="color: white;"></div> | ||
<div class="coveo-result-row" style="display: flex; justify-content: space-between; margin: 0; color: white;"> | ||
<div class="coveo-result-cell" style="background-color: rgba(38, 62, 85, 0.8); padding: 10px 10px 10px 20px;"> | ||
<span class="CoveoFieldValue" data-field="@ytviewcount" data-helper="number" data-helper-options-format="n"></span> | ||
<span class="CoveoText" data-value="views"></span> | ||
</div> | ||
<div class="coveo-result-cell" style="background-color: rgba(38, 62, 85, 0.8); padding: 10px 20px 10px 10px"> | ||
<span class="CoveoFieldValue" data-field="@ytvideoduration" data-helper="timeSpan" data-helper-options-is-milliseconds="false"></span> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="coveo-result-row" style="display: flex; justify-content: space-between; margin: 0; color: white;"> | ||
<div class="coveo-result-cell" style="background-color: rgba(38, 62, 85, 0.8); padding: 10px 10px 10px 20px;"> | ||
<span class="CoveoFieldValue" data-field="@ytviewcount" data-helper="number" data-helper-options-format="n"></span> | ||
<span class="CoveoText" data-value="views"></span> | ||
</div> | ||
<div class="coveo-result-cell" style="background-color: rgba(38, 62, 85, 0.8); padding: 10px 20px 10px 10px"> | ||
<span class="CoveoFieldValue" data-field="@ytvideoduration" data-helper="timeSpan" data-helper-options-is-milliseconds="false"></span> | ||
</div> | ||
</div> | ||
</div> | ||
</a> | ||
<div class="coveo-result-row" style="padding: 20px"> | ||
<div class="coveo-result-cell"> | ||
<div class="CoveoText" data-value="Date" data-weight="bold" style="margin-bottom: .5em"></div> | ||
<div class="CoveoFieldValue" data-field="@date" data-helper="emailDateTime" data-helper-options-always-include-time="true"></div> | ||
</div> | ||
</div> | ||
<div class="CoveoCardActionBar" style="margin: auto 0 0 0"> | ||
<div class="CoveoQuickview"></div> | ||
<div class="CoveoCardOverlay" data-title="Details" data-icon="coveo-sprites-main-search-active"> | ||
<table class="CoveoFieldTable" data-allow-minimization="false"> | ||
<tbody> | ||
<tr data-field="@author" data-caption="Author"> | ||
</tr> | ||
<tr data-field="@source" data-caption="Source"> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<div class="CoveoFollowItem"></div> | ||
</div> | ||
</div> |