More css changes
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@47266 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
2a71b6c2f1
commit
67c0e88fc1
|
@ -32,7 +32,7 @@ export class ClaimResultSearchFormComponent {
|
||||||
|
|
||||||
|
|
||||||
page : number = 1;
|
page : number = 1;
|
||||||
size:number = 10;
|
size:number = 5;
|
||||||
navigateTo: string = "Search";
|
navigateTo: string = "Search";
|
||||||
source: string = "datacite";
|
source: string = "datacite";
|
||||||
type : string = "dataset";
|
type : string = "dataset";
|
||||||
|
|
|
@ -15,6 +15,7 @@ import {ErrorCodes} from '../../../login/utils/guardHelper.class';
|
||||||
template: `
|
template: `
|
||||||
<div *ngIf="errorMessage.length > 0">
|
<div *ngIf="errorMessage.length > 0">
|
||||||
<div class="uk-alert uk-alert-danger" role="alert" [innerHTML]="errorMessage"></div>
|
<div class="uk-alert uk-alert-danger" role="alert" [innerHTML]="errorMessage"></div>
|
||||||
|
<div *ngIf="insertedClaims.length>0">There are {{insertedClaims.length}} claims, follow <a routerLinkActive="router-link-active" routerLink="/myclaims">the link</a> to manage your claims</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="warningMessage.length > 0">
|
<div *ngIf="warningMessage.length > 0">
|
||||||
<div class="uk-alert uk-alert-warning" role="alert">{{warningMessage}}</div>
|
<div class="uk-alert uk-alert-warning" role="alert">{{warningMessage}}</div>
|
||||||
|
@ -234,7 +235,7 @@ private errorsInClaimsInsertion(){
|
||||||
this.loading.close();
|
this.loading.close();
|
||||||
this.error = true;
|
this.error = true;
|
||||||
this.claiming = false;
|
this.claiming = false;
|
||||||
this.showButton = true;
|
this.showButton = false;
|
||||||
var text =""
|
var text =""
|
||||||
console.log("Errors: this.errorInRecords.length: "+this.errorInRecords.length+" - this.errorInClaims.length: "+this.errorInClaims.length);
|
console.log("Errors: this.errorInRecords.length: "+this.errorInRecords.length+" - this.errorInClaims.length: "+this.errorInClaims.length);
|
||||||
if(this.errorInRecords.length>0){
|
if(this.errorInRecords.length>0){
|
||||||
|
@ -254,7 +255,7 @@ private errorsInClaimsInsertion(){
|
||||||
for(var i=0; i< this.errorInClaims.length ; i++){
|
for(var i=0; i< this.errorInClaims.length ; i++){
|
||||||
// var claim = { claimedBy : user, sourceId : context.concept.id, sourceType : "context", sourceCollectedFrom:"openaire", sourceAccessRights:"OPEN", sourceEmbargoEndDate:"no", targetId : result.id , targetType : result.type, targetCollectedFrom: result.source, targetAccessRights:result.accessRights, targetEmbargoEndDate: (result.embargoEndDate == null?"":result.embargoEndDate)};
|
// var claim = { claimedBy : user, sourceId : context.concept.id, sourceType : "context", sourceCollectedFrom:"openaire", sourceAccessRights:"OPEN", sourceEmbargoEndDate:"no", targetId : result.id , targetType : result.type, targetCollectedFrom: result.source, targetAccessRights:result.accessRights, targetEmbargoEndDate: (result.embargoEndDate == null?"":result.embargoEndDate)};
|
||||||
|
|
||||||
text+="<li>"+this.errorInClaims[i].sourceType+": "+this.errorInClaims[i].sourceId +"(from"+this.errorInClaims[i].sourceCollectedFrom+") link to "+this.errorInClaims[i].targetType+": "+this.errorInClaims[i].targetId +"(from"+this.errorInClaims[i].targetCollectedFrom+") </li>";
|
text+="<li>"+this.errorInClaims[i].sourceType+": "+this.errorInClaims[i].sourceId +"(from "+this.errorInClaims[i].sourceCollectedFrom+") link to "+this.errorInClaims[i].targetType+": "+this.errorInClaims[i].targetId +"(from "+this.errorInClaims[i].targetCollectedFrom+") </li>";
|
||||||
|
|
||||||
}
|
}
|
||||||
text+="</ul></div>";
|
text+="</ul></div>";
|
||||||
|
|
|
@ -14,7 +14,7 @@ import {SearchDatasetsService} from '../../services/searchDatasets.service';
|
||||||
<h1>Linking</h1>
|
<h1>Linking</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="uk-pagination uk-margin-remove-bottom">
|
<!--ul class="uk-pagination uk-margin-remove-bottom">
|
||||||
<li *ngIf="show != 'result' " (click)="prev()"><a><span class="uk-margin-small-right" uk-pagination-previous></span> Previous</a></li>
|
<li *ngIf="show != 'result' " (click)="prev()"><a><span class="uk-margin-small-right" uk-pagination-previous></span> Previous</a></li>
|
||||||
<li *ngIf="show != 'claim' " (click)="next()" class="uk-margin-auto-left"><a>Next <span class="uk-margin-small-left" uk-pagination-next></span></a></li>
|
<li *ngIf="show != 'claim' " (click)="next()" class="uk-margin-auto-left"><a>Next <span class="uk-margin-small-left" uk-pagination-next></span></a></li>
|
||||||
<li *ngIf="show == 'claim' " (click)="next()" class="uk-margin-auto-left">
|
<li *ngIf="show == 'claim' " (click)="next()" class="uk-margin-auto-left">
|
||||||
|
@ -22,7 +22,7 @@ import {SearchDatasetsService} from '../../services/searchDatasets.service';
|
||||||
(showChange)="showChange($event)" ></claim-insert>
|
(showChange)="showChange($event)" ></claim-insert>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul-->
|
||||||
<start-over [results]="results" [contexts]="contexts" [projects]="projects" ></start-over>
|
<start-over [results]="results" [contexts]="contexts" [projects]="projects" ></start-over>
|
||||||
|
|
||||||
<!-- link with Projects & Contexts -->
|
<!-- link with Projects & Contexts -->
|
||||||
|
|
|
@ -52,19 +52,19 @@ import {Dates} from '../../../utils/string-utils.class';
|
||||||
<div *ngIf="pub.result.creator && pub.result.creator.length > 0" class="uk-article-meta">Authors: <span *ngFor="let author of pub.result.creator.slice(0,10) let i = index">{{author}}{{(i < (pub.result.creator.slice(0,10).length-1))?"; ":""}}{{(i == pub.result.creator.slice(0,10).length-1 && pub.result.creator.length > 10)?"...":""}}</span></div>
|
<div *ngIf="pub.result.creator && pub.result.creator.length > 0" class="uk-article-meta">Authors: <span *ngFor="let author of pub.result.creator.slice(0,10) let i = index">{{author}}{{(i < (pub.result.creator.slice(0,10).length-1))?"; ":""}}{{(i == pub.result.creator.slice(0,10).length-1 && pub.result.creator.length > 10)?"...":""}}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="showAccessRights && pub.source != 'openaire' " class = "uk-width-1-3 uk-grid">
|
<div *ngIf="showAccessRights && pub.source != 'openaire' " class = "uk-width-1-3 uk-grid">
|
||||||
<div class="uk-width-1-3">
|
<div class="uk-width-1-3 uk-padding-remove-left">
|
||||||
<select [(ngModel)]="pub.type" name="{{'select_type_'+pub.id}}" >
|
<select [(ngModel)]="pub.type" name="{{'select_type_'+pub.id}}" >
|
||||||
<option [value]="'publication'" >Publication</option>
|
<option [value]="'publication'" >Publication</option>
|
||||||
<option [value]="'dataset'" >Dataset</option>
|
<option [value]="'dataset'" >Dataset</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-width-1-3">
|
<div class="uk-width-1-3 uk-padding-remove-left">
|
||||||
<select [(ngModel)]="pub.accessRights" name="{{'select_rights_'+pub.id}}" >
|
<select [(ngModel)]="pub.accessRights" name="{{'select_rights_'+pub.id}}" >
|
||||||
<option *ngFor="let type of accessTypes" [value]="type" (click)="accessRightsTypeChanged(type,pub)">{{type}}</option>
|
<option *ngFor="let type of accessTypes" [value]="type" (click)="accessRightsTypeChanged(type,pub)">{{type}}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<!--input *ngIf="pub.accessRights== 'EMBARGO'" class="-width-small" id="{{'date'+pub.id}}" type="text" data-uk-datepicker="{format:'YYYY-MM-DD'}"-->
|
<!--input *ngIf="pub.accessRights== 'EMBARGO'" class="-width-small" id="{{'date'+pub.id}}" type="text" data-uk-datepicker="{format:'YYYY-MM-DD'}"-->
|
||||||
<div class="uk-width-1-3">
|
<div class="uk-width-1-3 uk-padding-remove-left">
|
||||||
<my-date-picker *ngIf="pub.accessRights== 'EMBARGO'" name="{{'date'+pub.id}}" [options]="myDatePickerOptions"
|
<my-date-picker *ngIf="pub.accessRights== 'EMBARGO'" name="{{'date'+pub.id}}" [options]="myDatePickerOptions"
|
||||||
[(ngModel)]="nextDate" (dateChanged)="onDateChanged($event,pub)" ></my-date-picker>
|
[(ngModel)]="nextDate" (dateChanged)="onDateChanged($event,pub)" ></my-date-picker>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,10 +34,12 @@ import { Meta} from '../../angular2-meta';
|
||||||
<h3>Locate data provider via your institution</h3>
|
<h3>Locate data provider via your institution</h3>
|
||||||
|
|
||||||
<form class= "">
|
<form class= "">
|
||||||
|
<span class="uk-width-1-2 ">
|
||||||
<entities-autocomplete fieldId="organization" (click)="warningMessage = ''" [entityType]="'organization'" [depositType]=compatibility [selectedValue]=selectedId [showSelected]=true
|
<entities-autocomplete fieldId="organization" (click)="warningMessage = ''" [entityType]="'organization'" [depositType]=compatibility [selectedValue]=selectedId [showSelected]=true
|
||||||
[placeHolderMessage] = "'Search for Organizations'" [title] = "'Organizations'" [multipleSelections]=false
|
[placeHolderMessage] = "'Search for Organizations'" [title] = "'Organizations'" [multipleSelections]=false
|
||||||
(selectedValueChanged)="valueChanged($event)">
|
(selectedValueChanged)="valueChanged($event)">
|
||||||
</entities-autocomplete>
|
</entities-autocomplete>
|
||||||
|
</span>
|
||||||
<button class=" uk-button uk-button-default" type="submit" (click)="organizationSelected(selectedId)" >
|
<button class=" uk-button uk-button-default" type="submit" (click)="organizationSelected(selectedId)" >
|
||||||
Locate
|
Locate
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -6,7 +6,7 @@ import {Component, Input} from '@angular/core';
|
||||||
template: `
|
template: `
|
||||||
<h2 *ngIf="title != undefined">
|
<h2 *ngIf="title != undefined">
|
||||||
<span *ngIf="title['url'] != undefined && title['url'] != null && title['url'] != ''"
|
<span *ngIf="title['url'] != undefined && title['url'] != null && title['url'] != ''"
|
||||||
class="custom-external custom-icon {{title['accessMode']}}"
|
class="custom-external"><span class=" custom-icon {{title['accessMode']}}"
|
||||||
data-uk-tooltip="pos:bottom-right"
|
data-uk-tooltip="pos:bottom-right"
|
||||||
[title]="title['accessMode']">
|
[title]="title['accessMode']">
|
||||||
<a *ngIf="title['name'] != undefined && title['name'] != ''"
|
<a *ngIf="title['name'] != undefined && title['name'] != ''"
|
||||||
|
@ -17,7 +17,7 @@ import {Component, Input} from '@angular/core';
|
||||||
href="{{title['url']}}" target="_blank">
|
href="{{title['url']}}" target="_blank">
|
||||||
[no title available]
|
[no title available]
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span></span>
|
||||||
<span *ngIf="(title['name'] != undefined && title['name'] != '') &&
|
<span *ngIf="(title['name'] != undefined && title['name'] != '') &&
|
||||||
(title['url'] == undefined || title['url'] == null || title['url'] == '')"
|
(title['url'] == undefined || title['url'] == null || title['url'] == '')"
|
||||||
[class]="title['accessMode']"
|
[class]="title['accessMode']"
|
||||||
|
|
|
@ -9,7 +9,7 @@ import {RouterHelper} from '../utils/routerHelper.class';
|
||||||
selector: 'user',
|
selector: 'user',
|
||||||
template: `
|
template: `
|
||||||
|
|
||||||
<div *ngIf="!server" class="uk-margin-top">
|
<div *ngIf="!server" class="uk-margin-top uk-container uk-container-small uk-position-relative">
|
||||||
<div *ngIf="errorCode == '1'" class="uk-alert uk-alert-warning">
|
<div *ngIf="errorCode == '1'" class="uk-alert uk-alert-warning">
|
||||||
The requested page requires authentication. Please login.
|
The requested page requires authentication. Please login.
|
||||||
</div>
|
</div>
|
||||||
|
@ -19,20 +19,19 @@ import {RouterHelper} from '../utils/routerHelper.class';
|
||||||
<div *ngIf="errorCode == '3'" class="uk-alert uk-alert-warning">
|
<div *ngIf="errorCode == '3'" class="uk-alert uk-alert-warning">
|
||||||
The session has expired. Please log in again or continue <a (click)="redirect();">browsing as a guest</a>.
|
The session has expired. Please log in again or continue <a (click)="redirect();">browsing as a guest</a>.
|
||||||
</div>
|
</div>
|
||||||
<form *ngIf="!loggedIn" class=" uk-flex ">
|
|
||||||
<fieldset>
|
<form *ngIf="!loggedIn" class=" ">
|
||||||
<legend>Login Form</legend>
|
<div class="uk-margin">
|
||||||
<div class="-row">
|
<input class="uk-input uk-form-width-medium" placeholder="Username" type="text" name="username" [(ngModel)]="username">
|
||||||
<input placeholder="Username" type="text" name="username" [(ngModel)]="username">
|
|
||||||
</div>
|
</div>
|
||||||
<div class="-row">
|
|
||||||
<input placeholder="Password" type="password" name="password" [(ngModel)]="password">
|
<div class="uk-margin">
|
||||||
|
<input placeholder="Password" class="uk-input uk-form-width-medium" type="password" name="password" [(ngModel)]="password">
|
||||||
</div>
|
</div>
|
||||||
<div class="-row">
|
<div class="uk-margin">
|
||||||
<button (click)="login()" class=" uk-button uk-button-default">Login</button>
|
<button (click)="login()" class=" uk-button uk-button-primary">Login</button>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</form>
|
||||||
</form>
|
|
||||||
|
|
||||||
<div *ngIf="!loggedIn && errorMessage.length > 0" class="uk-alert uk-alert-danger">{{errorMessage}}</div>
|
<div *ngIf="!loggedIn && errorMessage.length > 0" class="uk-alert uk-alert-danger">{{errorMessage}}</div>
|
||||||
|
|
||||||
|
|
|
@ -45,42 +45,42 @@ import {RouterHelper} from '../../utils/routerHelper.class';
|
||||||
<a>
|
<a>
|
||||||
Publications
|
Publications
|
||||||
<span *ngIf = "fetchPublications.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
<span *ngIf = "fetchPublications.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
||||||
<span *ngIf = "fetchPublications.searchUtils.status != errorCodes.LOADING" class="uk-badge uk-badge-notification">{{((keyword.length > 0)? fetchPublications.searchUtils.totalResults :'')}}</span>
|
<span *ngIf = "fetchPublications.searchUtils.status != errorCodes.LOADING && keyword.length > 0" class="uk-badge uk-badge-notification">{{((keyword.length > 0)? fetchPublications.searchUtils.totalResults :'')}}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li (click)="searchDatasets()">
|
<li (click)="searchDatasets()">
|
||||||
<a>
|
<a>
|
||||||
Datasets
|
Datasets
|
||||||
<span *ngIf = "fetchDatasets.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
<span *ngIf = "fetchDatasets.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
||||||
<span *ngIf = "fetchDatasets.searchUtils.status != errorCodes.LOADING" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchDatasets.searchUtils.totalResults :'')}}</span>
|
<span *ngIf = "fetchDatasets.searchUtils.status != errorCodes.LOADING && keyword.length > 0" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchDatasets.searchUtils.totalResults :'')}}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li (click)="searchProjects()" >
|
<li (click)="searchProjects()" >
|
||||||
<a>
|
<a>
|
||||||
Projects
|
Projects
|
||||||
<span *ngIf = "fetchProjects.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
<span *ngIf = "fetchProjects.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
||||||
<span *ngIf = "fetchProjects.searchUtils.status != errorCodes.LOADING" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchProjects.searchUtils.totalResults :'')}}</span>
|
<span *ngIf = "fetchProjects.searchUtils.status != errorCodes.LOADING && keyword.length > 0" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchProjects.searchUtils.totalResults :'')}}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li (click)="searchDataProviders()" >
|
<li (click)="searchDataProviders()" >
|
||||||
<a>
|
<a>
|
||||||
Data Providers
|
Data Providers
|
||||||
<span *ngIf = "fetchDataproviders.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
<span *ngIf = "fetchDataproviders.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
||||||
<span *ngIf = "fetchDataproviders.searchUtils.status != errorCodes.LOADING" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchDataproviders.searchUtils.totalResults :'')}}</span>
|
<span *ngIf = "fetchDataproviders.searchUtils.status != errorCodes.LOADING && keyword.length > 0" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchDataproviders.searchUtils.totalResults :'')}}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li (click)="searchOrganizations()" >
|
<li (click)="searchOrganizations()" >
|
||||||
<a>
|
<a>
|
||||||
Organizations
|
Organizations
|
||||||
<span *ngIf = "fetchOrganizations.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
<span *ngIf = "fetchOrganizations.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
||||||
<span *ngIf = "fetchOrganizations.searchUtils.status != errorCodes.LOADING" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchOrganizations.searchUtils.totalResults :'')}}</span>
|
<span *ngIf = "fetchOrganizations.searchUtils.status != errorCodes.LOADING && keyword.length > 0" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchOrganizations.searchUtils.totalResults :'')}}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li (click)="searchPeople()" >
|
<li (click)="searchPeople()" >
|
||||||
<a>
|
<a>
|
||||||
People
|
People
|
||||||
<span *ngIf = "fetchPeople.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
<span *ngIf = "fetchPeople.searchUtils.status == errorCodes.LOADING && keyword.length > 0" class="uk-icon-spinner uk-icon-spin"></span>
|
||||||
<span *ngIf = "fetchPeople.searchUtils.status != errorCodes.LOADING" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchPeople.searchUtils.totalResults :'')}}</span>
|
<span *ngIf = "fetchPeople.searchUtils.status != errorCodes.LOADING && keyword.length > 0" class="uk-badge uk-badge-notification"> {{((keyword.length > 0)? fetchPeople.searchUtils.totalResults :'')}}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ import {RouterHelper} from '../../utils/routerHelper.class';
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul id="searchtabs" class="uk-switcher uk-margin-left uk-width-3-4">
|
<ul id="searchtabs" class="uk-switcher uk-width-1-1 uk-margin-top">
|
||||||
<li>
|
<li>
|
||||||
<div *ngIf = "keyword.length > 0" class ="uk-animation-fade">
|
<div *ngIf = "keyword.length > 0" class ="uk-animation-fade">
|
||||||
<div class = "uk-text-right" *ngIf = "fetchPublications.searchUtils.totalResults> 10">
|
<div class = "uk-text-right" *ngIf = "fetchPublications.searchUtils.totalResults> 10">
|
||||||
|
|
|
@ -40,9 +40,11 @@ import {SearchFilterModalComponent} from './searchFilterModal.component';
|
||||||
<a *ngIf = "advancedSearchLink && advancedSearchLink.length > 0" routerLinkActive="router-link-active" class="uk-float-right" [routerLink]=advancedSearchLink >More search options <span uk-icon="icon: chevron-right"></span></a>
|
<a *ngIf = "advancedSearchLink && advancedSearchLink.length > 0" routerLinkActive="router-link-active" class="uk-float-right" [routerLink]=advancedSearchLink >More search options <span uk-icon="icon: chevron-right"></span></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-grid uk-width-1-1 uk-margin">
|
<div class="uk-grid uk-width-1-1 uk-margin">
|
||||||
|
<div class=" search-filters uk-width-1-4@l uk-width-1-4@m uk-width-1-1@s ">
|
||||||
|
<search-filter *ngFor="let filter of filters " [filter]="filter" [showResultCount]=showResultCount (change)="filterChanged($event)" (toggleModal)="toggleModal($event)"></search-filter>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="uk-width-3-4@m uk-width-3-4@l uk-width-1-1@s uk-first-column" >
|
||||||
<div class="uk-width-3-4@m uk-width-3-4@l uk-width-1-1@s" >
|
|
||||||
<search-paging [type]="type" [(searchUtils)] = "searchUtils" [(results)] = "results" [(baseUrl)] = "baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
|
<search-paging [type]="type" [(searchUtils)] = "searchUtils" [(results)] = "results" [(baseUrl)] = "baseUrl" [(parameterNames)] = "parameterNames" [(parameterValues)] = "parameterValues" ></search-paging>
|
||||||
<search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults" (downloadClick)="downloadClicked($event)"></search-download>
|
<search-download [type]="csvPath" [csvParams]="csvParams" [totalResults]="searchUtils.totalResults" (downloadClick)="downloadClicked($event)"></search-download>
|
||||||
<search-result [results]="results"
|
<search-result [results]="results"
|
||||||
|
@ -50,9 +52,8 @@ import {SearchFilterModalComponent} from './searchFilterModal.component';
|
||||||
[type]="entityType" [urlParam]="urlParam">
|
[type]="entityType" [urlParam]="urlParam">
|
||||||
</search-result>
|
</search-result>
|
||||||
</div>
|
</div>
|
||||||
<div class=" search-filters uk-width-1-4@l uk-width-1-4@m uk-width-1-1@s">
|
|
||||||
<search-filter *ngFor="let filter of filters " [filter]="filter" [showResultCount]=showResultCount (change)="filterChanged($event)" (toggleModal)="toggleModal($event)"></search-filter>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -113,10 +113,14 @@ import {Session} from '../login/utils/helper.class';
|
||||||
<div class="uk-navbar-container uk-sticky uk-navbar-transparent uk-light" uk-sticky="" media="768" cls-active="uk-active uk-navbar-sticky" animation="uk-animation-slide-top" top=".tm-header + [class*="uk-section"]" cls-inactive="uk-navbar-transparent uk-light" style="">
|
<div class="uk-navbar-container uk-sticky uk-navbar-transparent uk-light" uk-sticky="" media="768" cls-active="uk-active uk-navbar-sticky" animation="uk-animation-slide-top" top=".tm-header + [class*="uk-section"]" cls-inactive="uk-navbar-transparent uk-light" style="">
|
||||||
<div class="uk-container uk-container-expand">
|
<div class="uk-container uk-container-expand">
|
||||||
<nav class="uk-navbar" uk-navbar="{"align":"left"}">
|
<nav class="uk-navbar" uk-navbar="{"align":"left"}">
|
||||||
<div class="uk-navbar-left">
|
<div class="uk-navbar-left uk-visible@l ">
|
||||||
<a routerLinkActive="router-link-active" routerLink="/search/find" class="uk-logo uk-navbar-item">
|
<a routerLinkActive="router-link-active" routerLink="/search/find" class="uk-logo uk-navbar-item">
|
||||||
<img src="assets/OA DISCOVER_B.png" alt="OpenAIRE" class="uk-responsive-height"></a>
|
<img src="assets/OA DISCOVER_B.png" alt="OpenAIRE" class="uk-responsive-height"></a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="uk-navbar-left uk-visible@m uk-hidden@l">
|
||||||
|
<a routerLinkActive="router-link-active" routerLink="/search/find" class="uk-logo uk-navbar-item">
|
||||||
|
<img src="assets/OA DISCOVER_A.png" alt="OpenAIRE" class="uk-responsive-height"></a>
|
||||||
|
</div>
|
||||||
<div class="uk-navbar-center">
|
<div class="uk-navbar-center">
|
||||||
<ul class="uk-navbar-nav">
|
<ul class="uk-navbar-nav">
|
||||||
<li class="uk-parent">
|
<li class="uk-parent">
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<span class="mydpicon icon-mydpremove"></span>
|
<span class="mydpicon icon-mydpremove"></span>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" [attr.aria-label]="opts.ariaLabelOpenCalendar" class="btnpicker" (click)="openBtnClicked()" [ngClass]="{'btnpickerenabled': !opts.componentDisabled, 'btnpickerdisabled': opts.componentDisabled, 'btnleftborder': opts.showInputField||selectionDayTxt.length>0&&opts.showClearDateBtn}" [disabled]="opts.componentDisabled">
|
<button type="button" [attr.aria-label]="opts.ariaLabelOpenCalendar" class="btnpicker" (click)="openBtnClicked()" [ngClass]="{'btnpickerenabled': !opts.componentDisabled, 'btnpickerdisabled': opts.componentDisabled, 'btnleftborder': opts.showInputField||selectionDayTxt.length>0&&opts.showClearDateBtn}" [disabled]="opts.componentDisabled">
|
||||||
<span class="mydpicon icon-mydpcalendar"></span>
|
<span class="" uk-icon="icon: calendar" > </span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,12 +17,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div style="float:left">
|
<div style="float:left">
|
||||||
<div class="headerbtncell"><button type="button" [attr.aria-label]="opts.ariaLabelPrevMonth" class="headerbtn mydpicon icon-mydpleft" (click)="prevMonth()" [disabled]="prevMonthDisabled" [ngClass]="{'headerbtnenabled': !prevMonthDisabled, 'headerbtndisabled': prevMonthDisabled}"></button></div>
|
<div class="headerbtncell"><button type="button" [attr.aria-label]="opts.ariaLabelPrevMonth" class="headerbtn " uk-icon="icon: chevron-left" (click)="prevMonth()" [disabled]="prevMonthDisabled" [ngClass]="{'headerbtnenabled': !prevMonthDisabled, 'headerbtndisabled': prevMonthDisabled}"></button></div>
|
||||||
<div class="headermonthtxt">
|
<div class="headermonthtxt">
|
||||||
<input type="text" *ngIf="editMonth" class="monthinput" maxlength="10" [mydpfocus]="2" [value]="visibleMonth.monthTxt" (keyup)="userMonthInput($event)" (click)="$event.stopPropagation()" [ngClass]="{'invalidmonth': invalidMonth}">
|
<input type="text" *ngIf="editMonth" class="monthinput" maxlength="10" [mydpfocus]="2" [value]="visibleMonth.monthTxt" (keyup)="userMonthInput($event)" (click)="$event.stopPropagation()" [ngClass]="{'invalidmonth': invalidMonth}">
|
||||||
<button class="headerlabelbtn" type="button" [ngClass]="{'monthlabel': opts.editableMonthAndYear}" *ngIf="!editMonth" (click)="opts.editableMonthAndYear&&editMonthClicked($event)" tabindex="{{opts.editableMonthAndYear?'0':'-1'}}">{{visibleMonth.monthTxt}}</button>
|
<button class="headerlabelbtn" type="button" [ngClass]="{'monthlabel': opts.editableMonthAndYear}" *ngIf="!editMonth" (click)="opts.editableMonthAndYear&&editMonthClicked($event)" tabindex="{{opts.editableMonthAndYear?'0':'-1'}}">{{visibleMonth.monthTxt}}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="headerbtncell"><button type="button" [attr.aria-label]="opts.ariaLabelNextMonth" class="headerbtn mydpicon icon-mydpright" (click)="nextMonth()" [disabled]="nextMonthDisabled" [ngClass]="{'headerbtnenabled': !nextMonthDisabled, 'headerbtndisabled': nextMonthDisabled}"></button></div>
|
<div class="headerbtncell"><button type="button" [attr.aria-label]="opts.ariaLabelNextMonth" class="headerbtn " uk-icon="icon: chevron-right" (click)="nextMonth()" [disabled]="nextMonthDisabled" [ngClass]="{'headerbtnenabled': !nextMonthDisabled, 'headerbtndisabled': nextMonthDisabled}"></button></div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td *ngIf="opts.showTodayBtn">
|
<td *ngIf="opts.showTodayBtn">
|
||||||
|
@ -30,12 +30,12 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div style="float:right">
|
<div style="float:right">
|
||||||
<div class="headerbtncell"><button type="button" [attr.aria-label]="opts.ariaLabelPrevYear" class="headerbtn mydpicon icon-mydpleft" (click)="prevYear()" [disabled]="prevYearDisabled" [ngClass]="{'headerbtnenabled': !prevYearDisabled, 'headerbtndisabled': prevYearDisabled}"></button></div>
|
<div class="headerbtncell"><button type="button" [attr.aria-label]="opts.ariaLabelPrevYear" class="headerbtn " uk-icon="icon: chevron-left" (click)="prevYear()" [disabled]="prevYearDisabled" [ngClass]="{'headerbtnenabled': !prevYearDisabled, 'headerbtndisabled': prevYearDisabled}"></button></div>
|
||||||
<div class="headeryeartxt">
|
<div class="headeryeartxt">
|
||||||
<input type="text" *ngIf="editYear" class="yearinput" maxlength="4" [mydpfocus]="2" [value]="visibleMonth.year" (keyup)="userYearInput($event)" (click)="$event.stopPropagation()" [ngClass]="{'invalidyear': invalidYear}">
|
<input type="text" *ngIf="editYear" class="yearinput" maxlength="4" [mydpfocus]="2" [value]="visibleMonth.year" (keyup)="userYearInput($event)" (click)="$event.stopPropagation()" [ngClass]="{'invalidyear': invalidYear}">
|
||||||
<button class="headerlabelbtn" type="button" [ngClass]="{'yearlabel': opts.editableMonthAndYear}" *ngIf="!editYear" (click)="opts.editableMonthAndYear&&editYearClicked($event)" tabindex="{{opts.editableMonthAndYear?'0':'-1'}}">{{visibleMonth.year}}</button>
|
<button class="headerlabelbtn" type="button" [ngClass]="{'yearlabel': opts.editableMonthAndYear}" *ngIf="!editYear" (click)="opts.editableMonthAndYear&&editYearClicked($event)" tabindex="{{opts.editableMonthAndYear?'0':'-1'}}">{{visibleMonth.year}}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="headerbtncell"><button type="button" [attr.aria-label]="opts.ariaLabelNextYear" class="headerbtn mydpicon icon-mydpright" (click)="nextYear()" [disabled]="nextYearDisabled" [ngClass]="{'headerbtnenabled': !nextYearDisabled, 'headerbtndisabled': nextYearDisabled}"></button></div>
|
<div class="headerbtncell"><button type="button" [attr.aria-label]="opts.ariaLabelNextYear" class="headerbtn " uk-icon="icon: chevron-right" (click)="nextYear()" [disabled]="nextYearDisabled" [ngClass]="{'headerbtnenabled': !nextYearDisabled, 'headerbtndisabled': nextYearDisabled}"></button></div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -31,7 +31,7 @@ export class OpenaireProperties {
|
||||||
private static metricsAPIURL = "http://vatopedi.di.uoa.gr:8080/usagestats/";
|
private static metricsAPIURL = "http://vatopedi.di.uoa.gr:8080/usagestats/";
|
||||||
private static framesAPIURL = "http://vatopedi.di.uoa.gr/stats2/";
|
private static framesAPIURL = "http://vatopedi.di.uoa.gr/stats2/";
|
||||||
|
|
||||||
private static loginAPIURL = "http://mpagasas.di.uoa.gr:8080/uoa-user-management-1.0.0-SNAPSHOT/api/users/authenticates";
|
private static loginAPIURL = "http://scoobydoo.di.uoa.gr:8080/uoa-user-management-1.0.0-SNAPSHOT/api/users/authenticates";
|
||||||
|
|
||||||
// public claimsAPIURL = "http://rudie.di.uoa.gr:8080/dnet-openaire-connector-service-1.0.0-SNAPSHOT/rest/claimsService/"
|
// public claimsAPIURL = "http://rudie.di.uoa.gr:8080/dnet-openaire-connector-service-1.0.0-SNAPSHOT/rest/claimsService/"
|
||||||
private static claimsAPIURL = "http://scoobydoo.di.uoa.gr:8080/dnet-openaire-connector-service-1.0.0-SNAPSHOT/rest/claimsService/";
|
private static claimsAPIURL = "http://scoobydoo.di.uoa.gr:8080/dnet-openaire-connector-service-1.0.0-SNAPSHOT/rest/claimsService/";
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
<!-- End of Google sitelinks search markup-->
|
<!-- End of Google sitelinks search markup-->
|
||||||
<style>
|
<style>
|
||||||
.custom-footer{
|
.custom-footer{
|
||||||
position:inherit;
|
position:relative;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
left:0;
|
left:0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue