Project

General

Profile

« Previous | Next » 

Revision 58332

[Library|Trunk]
Search pages:
(completing previous commit) ... simple search form for smaller devices

View differences:

modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/searchUtils/advancedSearchForm.component.html
130 130

  
131 131
<div *ngIf="simpleView">
132 132
  <form class=" uk-margin-medium-bottom uk-margin-top ">
133
    <div class="uk-grid">
134
      <div [class]="(entitiesSelection)?'':'uk-width-medium@m uk-width-small@s'">
133
    <div class="uk-grid uk-margin-small-left">
134
      <div
135
        [class]="((entitiesSelection)?'':'uk-width-medium@m uk-width-small@s')+' uk-margin-small-top uk-padding-remove-left'">
135 136
        <entities-selection *ngIf="entitiesSelection" [simpleView]="true" [currentEntity]="entityType"
136 137
                            [properties]="properties"
137 138
                            (selectionChange)=" simpleEntityChanged($event)"
138 139
                            [onChangeNavigate]="true"></entities-selection>
139 140
      </div>
140
      <div [class]="((resultTypes || quickFilter)?'quickSelectionsBox':'')+' uk-padding-remove-left'">
141
      <div [class]="((resultTypes || quickFilter)?'quickSelectionsBox':'')+' uk-padding-remove-left uk-margin-small-top'">
141 142
        <div class="uk-inline">
142 143
          <a *ngIf="selectedFields[0].value.length > 0" class="uk-form-icon uk-form-icon-flip"
143 144
             (click)="selectedFields[0].value = ''"
......
153 154
          </quick-selections>
154 155
        </div>
155 156
      </div>
156
      <div class="uk-padding-remove-left">
157
      <div class="uk-padding-remove-left uk-margin-small-top">
157 158
        <button (click)="simpleKeywordChanged(null)" type="submit"
158 159
                class=" uk-button  portal-button uk-margin-small-left uk-text-bold uk-padding uk-padding-remove-top uk-padding-remove-bottom">
159 160
          Search
modules/uoa-services-library/trunk/ng-openaire-library/src/app/searchPages/searchUtils/newSearchPage.component.html
358 358
                                     [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults">
359 359
                    </search-download>
360 360

  
361
                  <span *ngIf="tableViewLink">
361
                  <!--<span *ngIf="tableViewLink">
362 362
                    <a uk-tooltip="title: Table view" routerLinkActive="router-link-active"
363 363
                       [class]="((disableForms)?'uk-disabled uk-link-muted':'')+' uk-link-text uk-margin-small-left'"
364 364
                       [routerLink]=tableViewLink >
365 365
                      <span class="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>
366 366
                      Table view
367 367
                    </a>
368
<!--                    <span uk-tooltip="title: List view" 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>-->
369
                  </span>
368
&lt;!&ndash;                    <span uk-tooltip="title: List view" 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>&ndash;&gt;
369
                  </span>-->
370 370
                  </div>
371 371
                </div>
372 372
                <search-paging [type]="type" [loadPaging]="loadPaging" [oldTotalResults]="oldTotalResults" [(searchUtils)] = "searchUtils"  [(results)] = "results" [(baseUrl)] = "searchUtils.baseUrl"  [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues"   ></search-paging>

Also available in: Unified diff