Project

General

Profile

1
<div class="image-front-topbar  uk-section-default uk-position-relative" uk-scrollspy="{&quot;target&quot;:&quot;[uk-scrollspy-class]&quot;,&quot;cls&quot;:&quot;uk-animation-fade&quot;,&quot;delay&quot;:false}" tm-header-transparent="light">
2
  <div style=" min-height: 350px;"  [class]="' uk-background-norepeat uk-background-cover uk-background-bottom-center uk-section uk-padding-remove-bottom uk-flex uk-flex-middle uk-background-fixed '+searchFormClass">
3
    <div class="uk-position-cover" style="/*background-color: rgba(255, 255, 255, 0.37);*/"></div>
4
    <div class="uk-container">
5
        <div class="uk-position-relative">
6

    
7

    
8
           <div   class="uk-container ">
9
             <div   class="uk-width-1-1">
10
               <!--link to advanced search -->
11
               <a *ngIf = "advancedSearchLink && advancedSearchLink.length > 0" routerLinkActive="router-link-active" [class]="((disableForms)?'uk-float-right   uk-disabled uk-link-muted uk-light ':'uk-float-right  uk-light') +' portal-color uk-margin-small-bottom'" [routerLink]=advancedSearchLink [queryParams]=advancedSearchParameters >
12
                 <span class=" ">Advanced search</span>
13
               </a>
14
               <search-form [isDisabled]="disableForms" [(keyword)]="searchUtils.keyword" (keywordChange)="keywordChanged($event)" [placeholderText]="formPlaceholderText"></search-form>
15

    
16
             </div>
17

    
18

    
19
           </div>
20
        </div>
21
     </div>
22
  </div>
23
</div>
24

    
25

    
26
<div id="tm-main" class=" uk-section  uk-padding-remove-top  tm-middle"   >
27
  <div uk-grid >
28
    <div class="tm-main uk-width-1-1@s uk-width-1-1@m  uk-width-1-1@l uk-row-first ">
29
      <div class="">
30
        <div  class="uk-container">
31
          <helper position="top"></helper>
32
          <div  [class]="(showRefine)? 'uk-width-3-5@m  uk-width-3-5@l  uk-width-1-1@s' :'uk-width-1-1'">
33
            <div  *ngIf="showRefine" class="uk-offcanvas-content uk-hidden@m">
34

    
35
              <a href="#offcanvas-usage" uk-toggle><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="6" y="4" width="12" height="1"></rect><rect x="6" y="9" width="12" height="1"></rect><rect x="6" y="14" width="12" height="1"></rect><rect x="2" y="4" width="2" height="1"></rect><rect x="2" y="9" width="2" height="1"></rect><rect x="2" y="14" width="2" height="1"></rect></svg></a>
36

    
37
              <div id="offcanvas-usage" uk-offcanvas>
38
                <div class="uk-offcanvas-bar">
39
                  <button class="uk-offcanvas-close" type="button" uk-close></button>
40
                  <div   class="uk-width-1-1   uk-margin-small-bottom ">
41

    
42
                    <div *ngIf="countFilters()>0" class="uk-margin-small-bottom">
43

    
44
                      <span *ngIf = "searchUtils.keyword.length > 0"><span class="uk-text-bold">Keywords:</span>
45
                      <a (click) = "clearKeywords() " title="Remove keywords" [class]="((disableForms)?'  uk-disabled':'  ')+' uk-margin-small-right portal-color '"><span class=" clickable " aria-hidden="true"><span class="uk-icon ">
46
                        <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
47
                        </span></span></a>
48
                      <span [innerHtml]="searchUtils.keyword"></span>
49

    
50
                      </span>
51
                      <div *ngFor="let filter of filters " >
52
                        <span *ngIf = "filter.countSelectedValues > 0"> <span class="uk-text-bold">{{filter.title}}:</span>
53
                          <span *ngFor="let value of getSelectedValues(filter); let i = index;  let end = last; " >
54
                            <a [title]="'Remove '+value.name"(click) = "removeFilter(value, filter) " [class]="((disableForms)?'  uk-disabled':'  ')+'  portal-color '"><span class=" clickable" aria-hidden="true"><span class="uk-icon">
55
                              <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
56
                              </span></span></a>
57
                            <span [innerHtml]="(value.name.length > 25)?value.name.substring(0,25)+'...':value.name" [title]="value.name"></span>
58

    
59
                            <span *ngIf="!end" class="   ">, </span>
60
                          </span>
61
                        </span>
62
                      </div>
63

    
64

    
65
                    </div>
66
                    <div class="uk-margin-small-bottom uk-margin-small-top">
67
                      <a  *ngIf="countFilters()>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' uk-margin-small-right  portal-link  '">
68
                       Clear All
69
                      </a>
70

    
71
                      <a   *ngIf= "showUnknownFilters" class = " uk-margin-small-right portal-link  " (click) = "clearFilters() " >Try new Query</a>
72
                      <span *ngIf="tableViewLink" class="uk-margin-medium-right">
73
                        <a routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >
74
                          <span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
75
                        </a>
76

    
77
                        <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
78
                      </span>
79
                      <search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults"></search-download>
80
                    </div>
81

    
82
                  </div>
83
                  <div class="uk-text-large">Filter By:</div>
84
                  <search-filter  *ngFor="let filter of filters "  [addShowMore]=false [isDisabled]="disableForms" [filter]="filter"  [showResultCount]=showResultCount (onFilterChange)="filterChanged($event)"  [(connectCommunityId)]=connectCommunityId></search-filter>
85
                </div>
86
              </div>
87

    
88
            </div>
89
          </div>
90

    
91

    
92
          <div  class="uk-grid uk-width-1-1">
93
            <div  *ngIf="showRefine" class=" uk-margin-top helper-left-right search-filters uk-visible@m">
94
               <helper position="left" before="true"></helper>
95
               <div   class="uk-width-1-1   uk-margin-small-bottom ">
96

    
97
                 <div *ngIf="countFilters()>0" class="uk-margin-small-bottom">
98

    
99
                   <span *ngIf = "searchUtils.keyword.length > 0"><span class="uk-text-bold">Keywords:</span>
100
                   <a (click) = "clearKeywords() " title="Remove keywords" [class]="((disableForms)?'  uk-disabled':'  ')+'  portal-color '"><span class=" clickable " aria-hidden="true"><span class="uk-icon ">
101
                     <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
102
                     </span></span></a>
103
                   <span [innerHtml]="searchUtils.keyword"></span>
104

    
105
                   </span>
106
                   <div *ngFor="let filter of filters " >
107
                     <span *ngIf = "filter.countSelectedValues > 0"> <span class="uk-text-bold">{{filter.title}}:</span>
108
                       <span *ngFor="let value of getSelectedValues(filter); let i = index;  let end = last; " >
109
                         <a [title]="'Remove '+value.name"(click) = "removeFilter(value, filter) " [class]="((disableForms)?'  uk-disabled':'  ')+'  portal-color '"><span class=" clickable" aria-hidden="true"><span class="uk-icon">
110
                           <svg width="16" height="16" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="close" ratio="0.8"><path fill="none" stroke="#000" stroke-width="1.6" d="M16,16 L4,4"></path><path fill="none" stroke="#000" stroke-width="1.6" d="M16,4 L4,16"></path></svg>
111
                           </span></span></a>
112
                         <span [innerHtml]="(value.name.length > 25)?value.name.substring(0,25)+'...':value.name" [title]="value.name"></span>
113

    
114
                         <span *ngIf="!end" class="   ">, </span>
115
                       </span>
116
                     </span>
117
                   </div>
118

    
119

    
120
                 </div>
121
                 <div class="uk-margin-small-bottom uk-margin-small-top">
122
                   <a  *ngIf="countFilters()>1" (click)="clearFilters()" [class]="((disableForms)?'uk-disabled uk-link-muted':'')+'  uk-margin-small-right  portal-link '">
123
                    Clear All
124
                   </a>
125

    
126
                   <a   *ngIf= "showUnknownFilters" class = "  portal-link uk-margin-small-right " (click) = "clearFilters() " >Try new Query</a>
127
                   <span *ngIf="tableViewLink" class="uk-margin-medium-right">
128
                     <a routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >
129
                       <span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
130
                     </a>
131

    
132
                     <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
133
                   </span>
134
                   <search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults"></search-download>
135
                </div>
136
               </div>
137
               <search-filter  *ngFor="let filter of filters " [isDisabled]="disableForms" [filter]="filter"  [showResultCount]=showResultCount (onFilterChange)="filterChanged($event)"  [(connectCommunityId)]=connectCommunityId></search-filter>
138
               <helper position="left" before="false"></helper>
139
            </div>
140
            <helper *ngIf="!showRefine" class="uk-margin-top helper-left-right uk-visible@m" position="left"></helper>
141

    
142
            <div class="uk-width-expand@m uk-width-1-1@s uk-first-column">
143
            <!-- <div [class]="(showRefine)?'uk-width-expand@m uk-first-column':''" > -->
144
              <div *ngIf="openaireLink"> <a class="uk-margin-top   uk-button uk-button-text"  [href]=openaireLink target="_blank" >Results in OpenAIRE</a></div>
145
              <div  class="uk-align-center uk-margin-remove-bottom">
146
                <search-paging [type]="type" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils"  [(results)] = "results"  [(baseUrl)] = "baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
147
              </div>
148
 <!-- *ngIf="tableViewLink || searchUtils.totalResults <= csvLimit"  -->
149
              <!-- <div  class="uk-width-1-1@s uk-hidden@m">
150
                <span *ngIf="tableViewLink" class="uk-margin-medium-right">
151
                  <a routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >
152
                    <span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
153
                  </a>
154

    
155
                  <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
156
                </span>
157
                <search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults"></search-download>
158
              </div> -->
159

    
160
              <div *ngIf="(searchUtils.page <= pagingLimit)" class="uk-margin-top">
161
                <search-result    *ngIf="!tableView"
162
                                  [results]="results"
163
                                  [status]="searchUtils.status"
164
                                  [type]="entityType"
165
                                  [showLoading]="true" [(properties)]=properties>
166
                </search-result>
167
              </div>
168

    
169
              <div [class]="searchUtils.page > pagingLimit ? 'search-results' : ''" *ngIf="(searchUtils.page >= pagingLimit) && (searchUtils.totalResults > resultsPerPage*pagingLimit)">
170
                  <p class="uk-alert-warning" uk-alert>For more results please try a new, more specific query</p>
171
              </div>
172

    
173
              <div  class="uk-align-center uk-margin-remove-bottom">
174
                <search-paging [type]="type" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils"  [(results)] = "results"  [(baseUrl)] = "baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
175
              </div>
176

    
177
              <a *ngIf="properties.showLastIndexInformationLink" class="last_index_info uk-button-text"
178
                  [href]="properties.lastIndexInformationLink" target="_blank">
179
                  Last index information
180
              </a>
181
              
182
              <helper class="uk-hidden@m" position="left" styleName="uk-width-1-1@s"></helper>
183
              <helper class="uk-hidden@m" position="right" styleName="uk-width-1-1@s"></helper>
184
            </div>
185
            <div class="uk-margin-top helper-left-right uk-visible@m">
186
              <helper position="right" before="true"></helper>
187
              <!-- <div>
188
                <span *ngIf="tableViewLink" class="uk-margin-medium-right">
189
                  <a routerLinkActive="router-link-active" [class]="(disableForms)?'uk-disabled uk-link-muted':''" [routerLink]=tableViewLink >
190
                    <span class="uk-margin-small-right uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1"><rect x="2" y="2" width="3" height="3"></rect><rect x="8" y="2" width="3" height="3"></rect><rect x="14" y="2" width="3" height="3"></rect><rect x="2" y="8" width="3" height="3"></rect><rect x="8" y="8" width="3" height="3"></rect><rect x="14" y="8" width="3" height="3"></rect><rect x="2" y="14" width="3" height="3"></rect><rect x="8" y="14" width="3" height="3"></rect><rect x="14" y="14" width="3" height="3"></rect></svg></span>
191
                  </a>
192

    
193
                  <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>
194
                </span>
195
                <search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults"></search-download>
196
              </div> -->
197
              <helper position="right" before="false"></helper>
198
            </div>
199
            <!-- <helper *ngIf="!tableViewLink && searchUtils.totalResults > csvLimit" class="helper-left-right uk-visible@m" position="right"></helper> -->
200
          </div>
201
          <!-- <div [class]="(showRefine)? 'uk-width-3-5@m  uk-width-3-5@l  uk-width-1-1@s uk-align-center uk-margin-remove-bottom' : 'uk-width-1-1'">
202
            <search-paging [loadPaging]="loadPaging" [type]="type" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils"  [(results)] = "results"  [(baseUrl)] = "baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
203
          </div> -->
204
          <div class="uk-width-1-1">
205
            <helper position="bottom"></helper>
206
          </div>
207
        </div>
208
      </div>
209
    </div>
210
  </div>
211
</div>
(22-22/36)