[Library | Trunk]: Change login to circle
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58618 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
dad915f543
commit
c3cc637e89
|
@ -14,16 +14,19 @@ import {EnvProperties} from '../utils/properties/env-properties';
|
||||||
|
|
||||||
<ul *ngIf="!mobileView" class="uk-navbar-nav">
|
<ul *ngIf="!mobileView" class="uk-navbar-nav">
|
||||||
<li class="uk-parent">
|
<li class="uk-parent">
|
||||||
|
<a *ngIf="loggedIn" class="login">
|
||||||
<a *ngIf="loggedIn">
|
<svg height="60" width="60">
|
||||||
<span>{{user.fullname + " "}} <span class="uk-margin-small-right uk-icon"><svg width="20" height="20"
|
<circle cx="30" cy="30" r="20" stroke-width="2"></circle>
|
||||||
viewBox="0 0 20 20"
|
<text *ngIf="firstLetters" x="50%" y="50%" text-anchor="middle" dy=".4em"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
font-size="16">
|
||||||
ratio="1"><circle
|
{{firstLetters}}
|
||||||
fill="none" stroke="#000" stroke-width="1.1" cx="9.9" cy="6.4" r="4.4"></circle><path fill="none"
|
</text>
|
||||||
stroke="#000"
|
<svg *ngIf="!firstLetters" ratio="1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" width="20"
|
||||||
stroke-width="1.1"
|
x="20">
|
||||||
d="M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2"></path></svg></span></span>
|
<circle cx="9.9" cy="6.4" r="4.4" stroke-width="1.1"></circle>
|
||||||
|
<path d="M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2" stroke-width="1.1"></path>
|
||||||
|
</svg>
|
||||||
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<a *ngIf="!loggedIn" class="loginLink" (click)="logIn()">Sign in <span
|
<a *ngIf="!loggedIn" class="loginLink" (click)="logIn()">Sign in <span
|
||||||
class=" uk-margin-small-left uk-margin-small-right uk-icon"><svg width="20" height="20"
|
class=" uk-margin-small-left uk-margin-small-right uk-icon"><svg width="20" height="20"
|
||||||
|
@ -70,8 +73,9 @@ import {EnvProperties} from '../utils/properties/env-properties';
|
||||||
|
|
||||||
<li *ngIf="mobileView" class="uk-nav-header uk-parent ">
|
<li *ngIf="mobileView" class="uk-nav-header uk-parent ">
|
||||||
|
|
||||||
<span *ngIf="loggedIn">
|
<span *ngIf="loggedIn" class="uk-flex uk-flex-middle">
|
||||||
<span>{{user.fullname + " "}}<span class="uk-margin-small-right uk-icon"><svg width="20" height="20"
|
<span>{{user.fullname + " "}}</span>
|
||||||
|
<span class="uk-margin-small-right uk-icon"><svg width="20" height="20"
|
||||||
viewBox="0 0 20 20"
|
viewBox="0 0 20 20"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
ratio="1"><circle fill="none"
|
ratio="1"><circle fill="none"
|
||||||
|
@ -81,7 +85,8 @@ import {EnvProperties} from '../utils/properties/env-properties';
|
||||||
cy="6.4"
|
cy="6.4"
|
||||||
r="4.4"></circle><path
|
r="4.4"></circle><path
|
||||||
fill="none" stroke="#000" stroke-width="1.1"
|
fill="none" stroke="#000" stroke-width="1.1"
|
||||||
d="M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2"></path></svg></span></span>
|
d="M1.5,19 C2.3,14.5 5.8,11.2 10,11.2 C14.2,11.2 17.7,14.6 18.5,19.2"></path></svg>
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span *ngIf="!loggedIn">
|
<span *ngIf="!loggedIn">
|
||||||
<a class="loginLink" (click)="logIn()">Sign in <span class="uk-margin-small-right uk-icon"><svg width="20"
|
<a class="loginLink" (click)="logIn()">Sign in <span class="uk-margin-small-right uk-icon"><svg width="20"
|
||||||
|
|
Loading…
Reference in New Issue