mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-19 07:53:02 +00:00
New themed components & minor CSS fixes (#2442)
* 100839: Created themeable BrowseByComponent * 100839: Added themed BrowseByComponent to custom theme * 100839: Added themed BrowseEntryListElementComponent to custom theme * Added PersonComponent to custom theme * Themed LogInComponent * Fix focus on navbar using different color * Fix ccLicense checkbox margin * Fix long search facets name not displaying correctly * Removed RecentItemListComponent's unnecessary float causing alignment issues when adding components underneath it * Themed RegisterEmailFormComponent
This commit is contained in:

committed by
GitHub

parent
be59255623
commit
ab171648b6
33
src/app/shared/log-in/themed-log-in.component.ts
Normal file
33
src/app/shared/log-in/themed-log-in.component.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { ThemedComponent } from '../theme-support/themed.component';
|
||||
import { LogInComponent } from './log-in.component';
|
||||
|
||||
/**
|
||||
* Themed wrapper for {@link LogInComponent}
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ds-themed-log-in',
|
||||
styleUrls: [],
|
||||
templateUrl: './../theme-support/themed.component.html'
|
||||
})
|
||||
export class ThemedLogInComponent extends ThemedComponent<LogInComponent> {
|
||||
|
||||
@Input() isStandalonePage: boolean;
|
||||
|
||||
protected inAndOutputNames: (keyof LogInComponent & keyof this)[] = [
|
||||
'isStandalonePage',
|
||||
];
|
||||
|
||||
protected getComponentName(): string {
|
||||
return 'LogInComponent';
|
||||
}
|
||||
|
||||
protected importThemedComponent(themeName: string): Promise<any> {
|
||||
return import(`../../../themes/${themeName}/app/shared/log-in/log-in.component`);
|
||||
}
|
||||
|
||||
protected importUnthemedComponent(): Promise<any> {
|
||||
return import('./log-in.component');
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user