mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
fix issue:#2011
This commit is contained in:
parent
f1d8310ed8
commit
ba18333405
@ -33,7 +33,7 @@
|
||||
|
||||
.repo-container {
|
||||
width: 100%;
|
||||
margin-top: -250px;
|
||||
margin-top: -210px;
|
||||
}
|
||||
|
||||
.more-info-link {
|
||||
@ -42,3 +42,9 @@
|
||||
left: 294px;
|
||||
padding-right: 36px;
|
||||
}
|
||||
|
||||
.tm-font {
|
||||
font-size: 14px !important;
|
||||
position: relative;
|
||||
top: -9px;
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
<div class="login-wrapper login-wrapper-override">
|
||||
<form #signInForm="ngForm" class="login">
|
||||
<label class="title">{{appTitle | translate}}<span class="trademark">™</span>
|
||||
<label class="title">{{appTitle | translate}}<span class="trademark tm-font">™</span>
|
||||
</label>
|
||||
<div class="login-group">
|
||||
<label for="username" aria-haspopup="true" role="tooltip" class="tooltip tooltip-validation tooltip-md tooltip-top-left">
|
||||
|
@ -28,7 +28,8 @@ const deBounceTime = 500; //ms
|
||||
|
||||
@Component({
|
||||
selector: 'global-search',
|
||||
templateUrl: "global-search.component.html"
|
||||
templateUrl: "global-search.component.html",
|
||||
styleUrls: ["search.component.css"]
|
||||
})
|
||||
export class GlobalSearchComponent implements OnInit, OnDestroy {
|
||||
//Keep search term as Subject
|
||||
@ -62,7 +63,7 @@ export class GlobalSearchComponent implements OnInit, OnDestroy {
|
||||
this.searchTerm = "";
|
||||
});
|
||||
|
||||
if(this.appConfigService.isIntegrationMode()){
|
||||
if (this.appConfigService.isIntegrationMode()) {
|
||||
this.placeholderText = "GLOBAL_SEARCH.PLACEHOLDER_VIC";
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ import { MessageHandlerService } from '../../shared/message-handler/message-hand
|
||||
@Component({
|
||||
selector: "search-result",
|
||||
templateUrl: "search-result.component.html",
|
||||
styleUrls: ["search-result.component.css"],
|
||||
styleUrls: ["search.component.css"],
|
||||
|
||||
providers: [GlobalSearchService]
|
||||
})
|
||||
|
@ -54,3 +54,14 @@
|
||||
.search-header a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.search::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
display: inline-block;
|
||||
background: #fafafa;
|
||||
opacity: .15;
|
||||
height: 40px;
|
||||
width: 1px;
|
||||
top: 10px;
|
||||
}
|
@ -29,3 +29,8 @@
|
||||
opacity: 0.15;
|
||||
content: '';
|
||||
}
|
||||
|
||||
.nav-about-link {
|
||||
padding-left: 12px !important;
|
||||
padding-right: 12px !important;
|
||||
}
|
@ -38,6 +38,7 @@
|
||||
<a href="javascript:void(0)" clrDropdownItem (click)="logOut()">{{'ACCOUNT_SETTINGS.LOGOUT' | translate}}</a>
|
||||
</div>
|
||||
</clr-dropdown>
|
||||
<a href="javascript:void(0)" class="nav-link nav-text" (click)="openAboutDialog()" *ngIf="isSessionValid === false">{{'ACCOUNT_SETTINGS.ABOUT' | translate}}</a>
|
||||
<div class="nav-divider" *ngIf="!isSessionValid"></div>
|
||||
<a href="javascript:void(0)" id="aboutMenu" class="nav-link nav-text nav-about-link" (click)="openAboutDialog()" *ngIf="!isSessionValid">{{'ACCOUNT_SETTINGS.ABOUT' | translate}}</a>
|
||||
</div>
|
||||
</clr-header>
|
Loading…
Reference in New Issue
Block a user