[Trunk|Library]: Add to usermenu navbar uk-position-top-right and make search-form width responsive
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55357 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
2cfe1ae660
commit
1e6df79b08
|
@ -1,5 +1,4 @@
|
|||
import {Component, Input, Output, EventEmitter} from '@angular/core';
|
||||
import {Observable} from 'rxjs/Observable';
|
||||
import {RouterHelper} from '../../utils/routerHelper.class';
|
||||
import {Router} from '@angular/router';
|
||||
|
||||
|
@ -8,7 +7,7 @@ import {Router} from '@angular/router';
|
|||
template: `
|
||||
|
||||
<form [class]="((isDisabled)?'uk-disabled':'')+' uk-margin uk-margin-top '+(setFormCentered?' uk-text-center':'')">
|
||||
<input type="text" class="uk-input uk-width-xlarge" [placeholder]="placeholderText" aria-describedby="sizing-addon2" [(ngModel)]="keyword" name="keyword" >
|
||||
<input type="text" class="uk-input uk-width-xlarge@l uk-width-medium@m uk-width-auto" [placeholder]="placeholderText" aria-describedby="sizing-addon2" [(ngModel)]="keyword" name="keyword" >
|
||||
<button *ngIf="!link" (click)="keywordChanged()" type="submit" class=" uk-button portal-button">
|
||||
<span class="uk-icon" ><svg width="30" height="30" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="search" ratio="1.5"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"></circle><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"></path></svg></span>
|
||||
</button>
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
|
||||
</div>
|
||||
<!-- <div *ngIf="!onlyTop" class="uk-navbar-center"> -->
|
||||
<div *ngIf="!onlyTop" class="uk-navbar-right">
|
||||
<div *ngIf="!onlyTop" class="uk-navbar-right uk-position-top-right">
|
||||
<ul *ngIf= "isClient" class="uk-navbar-nav">
|
||||
<ng-container *ngFor="let menu of menuItems">
|
||||
<li class="uk-parent" *ngIf="isAtleastOneEnabled(menu.rootItem.entitiesRequired,showEntity) && isAtleastOneEnabled(menu.rootItem.routeRequired, showPage)">
|
||||
|
|
Loading…
Reference in New Issue