|
4 | 4 | <main class="col-md-10 content" role="main"> |
5 | 5 | <div class="container"><h1>{{ .Title}}</h1></div> |
6 | 6 |
|
7 | | - <div id="search" class="CoveoSearchInterface" data-enable-history="true" > |
8 | | - <div class="CoveoFolding"></div> |
9 | | - <div class="CoveoAnalytics" data-search-hub="HUB_ES_Nginx_Docs_And_Org"></div> |
10 | | - <div class="coveo-search-section" style="display: none;"> |
11 | | - <div class="CoveoSearchbox" data-enable-omnibox="true"></div> |
12 | | - </div> |
13 | | - <div class="coveo-main-section"> |
14 | | - <div class="coveo-facet-column"> |
15 | | - <div class="CoveoFacet" data-title="Show by product" data-field="@f5_product" data-tab="All" |
16 | | - data-number-of-values="15"></div> |
17 | | - <div class="CoveoFacet" id="f5_product_module" data-title="Module" data-field="@f5_product_module" data-enable-settings="true" data-is-multi-value-field="true" data-number-of-values="10"></div> |
18 | | - <button id="reset_btn"><img src="{{ "/images/svg/refresh.svg" | absURL }}">Reset</button> |
19 | | - </div> |
20 | | - <div class="coveo-results-column"> |
21 | | - <div class="CoveoShareQuery"></div> |
22 | | - <div class="CoveoPreferencesPanel"> |
23 | | - <div class="CoveoResultsPreferences"></div> |
24 | | - <div class="CoveoResultsFiltersPreferences"></div> |
25 | | - </div> |
26 | | - <div class="CoveoTriggers"></div> |
27 | | - <div class="CoveoBreadcrumb"></div> |
28 | | - <div class="CoveoDidYouMean"></div> |
29 | | - <div class="coveo-results-header"> |
30 | | - <div class="coveo-summary-section"> |
31 | | - <span class="CoveoQuerySummary"> |
32 | | - <div class="coveo-show-if-no-results"></div> |
33 | | - </span> |
34 | | - <span class="CoveoQueryDuration"></span> |
35 | | - </div> |
36 | | - <div class="coveo-result-layout-section"> |
37 | | - <span class="CoveoResultLayout"></span> |
38 | | - </div> |
39 | | - <div class="coveo-sort-section"> |
40 | | - <span>Sort By: </span> |
41 | | - <span class="CoveoSort" data-sort-criteria="relevancy" data-caption="Relevance"></span> |
42 | | - <span class="CoveoSort" |
43 | | - data-sort-criteria="@f5_updated_published_date descending,@f5_updated_published_date ascending" |
44 | | - data-caption="Date"></span> |
45 | | - </div> |
46 | | - </div> |
47 | | - <div class="CoveoHiddenQuery"></div> |
48 | | - <div class="CoveoErrorReport" data-pop-up="false"></div> |
49 | | - <div class="CoveoResultList" data-layout="list" data-wait-animation="fade" |
50 | | - data-auto-select-fields-to-include="true"> |
51 | | - <script id="Default" class="result-template" type="text/html" data-layout="list"> |
52 | | - <div class="coveo-result-frame"> |
53 | | - <div class="coveo-result-cell" style="vertical-align:top;text-align:center;width:32px;"> |
54 | | - <img src="{{ "/images/article-icon.svg" | absURL }}" alt="Article" height="32" width="32" title="Article" /> |
55 | | - </div> |
56 | | - <div class="coveo-result-cell" style="vertical-align: top;padding-left: 16px;"> |
57 | | - <div class="coveo-result-row" style="margin:0;"> |
58 | | - <div class="coveo-result-cell" style="vertical-align:top;font-size:16px;" role="heading" aria-level="2"> |
59 | | - <a class="CoveoResultLink" target="_blank"></a> |
60 | | - </div> |
61 | | - <div class="coveo-result-cell" style="width:120px;text-align:right;font-size:12px"> |
62 | | - <span class="CoveoQuickview" data-enable-loading-animation="false"> |
63 | | - Quick View |
64 | | - </span> |
65 | | - <div class="coveo-result-row"> |
66 | | - </div> |
67 | | - </div> |
68 | | - </div> |
69 | | - <div class="coveo-result-row" style="margin: 0;"> |
70 | | - <div class="coveo-result-cell" id="uri_link"> |
71 | | - <span class="CoveoFieldValue" data-field="@Uri"></span> |
72 | | - </div> |
73 | | - </div> |
74 | | - <div class="coveo-result-row" style="margin-top:10px;"> |
75 | | - <div class="coveo-result-cell"> |
76 | | - <span class="CoveoExcerpt"></span> |
77 | | - </div> |
78 | | - </div> |
79 | | - <div class="coveo-result-row modified_date" style="margin-top:10px;"> |
80 | | - <div class="coveo-result-cell"> |
81 | | - <span class="CoveoFieldValue" data-field="@f5_updated_published_date" data-text-caption=' Modification Date:' data-helper="date" data-helper-options-predefined-format="MMM DD, yyyy"> |
82 | | - </span> |
83 | | - </div> |
84 | | - </div> |
85 | | - <div class="coveo-result-row" style="margin-top:10px;"> |
86 | | - <div class="coveo-result-cell"> |
87 | | - </div> |
88 | | - </div> |
89 | | - <div class="coveo-result-row"> |
90 | | - <div class="coveo-result-cell"> |
91 | | - <div class="CoveoMissingTerms"></div> |
92 | | - </div> |
93 | | - </div> |
94 | | - </div> |
95 | | - </div> |
96 | | - </script> |
97 | | - </div> |
98 | | - <div class="pagination-bar"> |
99 | | - <div class="CoveoPager"></div> |
100 | | - <div class="CoveoResultsPerPage"></div> |
101 | | - </div> |
102 | | - </div> |
103 | | - </div> |
104 | | - </div> |
| 7 | + {{ partial "coveo-legacy.html" .}} |
105 | 8 | </main> |
106 | 9 | </div> |
107 | 10 |
|
108 | 11 | <section class="main-layout" data-mf="true" style="display: none; margin-left: 2rem;" > |
109 | | - <atomic-search-interface id="search-v2"> |
110 | | - <atomic-search-layout> |
111 | | - <!-- Search/Metadata Section --> |
112 | | - <atomic-layout-section section="search"> |
113 | | - <div class="atomic-full-summary-and-sort"> |
114 | | - <atomic-query-summary></atomic-query-summary> |
115 | | - <atomic-sort-dropdown> |
116 | | - <atomic-sort-expression label="relevance" expression="relevancy"></atomic-sort-expression> |
117 | | - <atomic-sort-expression label="most-recent" expression="date descending"></atomic-sort-expression> |
118 | | - </atomic-sort-dropdown> |
119 | | - </div> |
120 | | - </atomic-layout-section> |
121 | | - |
122 | | - <!-- Facet Section --> |
123 | | - <atomic-layout-section section="facets"> |
124 | | - <atomic-facet field="f5_product" label="Show by product"></atomic-facet> |
125 | | - <atomic-refine-toggle></atomic-refine-toggle> |
126 | | - </atomic-layout-section> |
127 | | - |
128 | | - <!-- Main Section --> |
129 | | - <atomic-layout-section section="main"> |
130 | | - <!-- Results --> |
131 | | - <atomic-layout-section section="results"> |
132 | | - <atomic-no-results></atomic-no-results> |
133 | | - <atomic-result-list> |
134 | | - <atomic-result-template> |
135 | | - <template> |
136 | | - <!-- Title --> |
137 | | - <atomic-result-section-title> |
138 | | - <div style="display: flex; align-items: center; justify-content: space-between;"> |
139 | | - <atomic-result-link></atomic-result-link> |
140 | | - <atomic-quickview></atomic-quickview> |
141 | | - </div> |
142 | | - </atomic-result-section-title> |
143 | | - |
144 | | - <!-- URL --> |
145 | | - <atomic-result-section-title-metadata> |
146 | | - <atomic-result-printable-uri></atomic-result-printable-uri> |
147 | | - </atomic-result-section-title-metadata> |
148 | | - |
149 | | - <!-- Excerpt --> |
150 | | - <atomic-result-section-excerpt> |
151 | | - <atomic-result-text field="excerpt"></atomic-result-text> |
152 | | - </atomic-result-section-excerpt> |
153 | | - |
154 | | - <!-- Date --> |
155 | | - <atomic-result-section-bottom-metadata> |
156 | | - Modification Date: <atomic-result-date format="MMM D, YYYY"></atomic-result-date> |
157 | | - </atomic-result-section-bottom-metadata> |
158 | | - </template> |
159 | | - </atomic-result-template> |
160 | | - </atomic-result-list> |
161 | | - </atomic-layout-section> |
162 | | - |
163 | | - <!-- Pagination --> |
164 | | - <atomic-layout-section section="pagination" style="margin-top: 2rem;"> |
165 | | - <atomic-pager></atomic-pager> |
166 | | - <atomic-results-per-page></atomic-results-per-page> |
167 | | - </atomic-layout-section> |
168 | | - </atomic-layout-section> |
169 | | - </atomic-search-layout> |
170 | | - </atomic-search-interface> |
| 12 | + {{ partial "coveo-atomic.html" .}} |
171 | 13 | </section> |
172 | 14 | {{ end }} |
0 commit comments