-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
26 changed files
with
256 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import {Component, Input} from '@angular/core'; | ||
import {Config} from '../../common/config/public/Config'; | ||
|
||
@Component({ | ||
selector: 'app-icon', | ||
template: ` | ||
<svg xmlns="http://www.w3.org/2000/svg" | ||
[attr.width]="width" | ||
[attr.height]="height" | ||
fill="currentcolor" | ||
[attr.viewBox]="Config.Server.svgIcon.viewBox || '0 0 512 512'"> | ||
<path [attr.d]="Config.Server.svgIcon.path"/> | ||
</svg>`, | ||
}) | ||
export class IconComponent { | ||
|
||
@Input() width: number; | ||
@Input() height: number; | ||
|
||
protected readonly Config = Config; | ||
|
||
constructor() { | ||
} | ||
} |
Oops, something went wrong.