-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in feature/SHIBUI-811 (pull request #192)
SHIBUI-811 Implemented customizable theme Approved-by: Shibui Jenkins <shibui.jenkins@gmail.com> Approved-by: Ryan Mathis <rmathis@unicon.net>
- Loading branch information
Showing
12 changed files
with
267 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { brand as customBrand } from '../brand'; | ||
import { Brand } from './core/model/brand'; | ||
|
||
export const brand: Brand = { | ||
header: { | ||
title: 'Source Management' | ||
}, | ||
logo: { | ||
default: '/assets/shibboleth_logowordmark_color.png', | ||
small: '/assets/shibboleth_icon_color_130x130.png', | ||
large: '/assets/shibboleth_logowordmark_color.png', | ||
alt: 'Shibboleth Logo - Click to be directed to www.shibboleth.net', | ||
link: { | ||
label: 'Shibboleth', | ||
url: 'https://www.shibboleth.net/' | ||
} | ||
}, | ||
footer: { | ||
links: [ | ||
{ | ||
label: 'Home Page', | ||
url: 'https://www.shibboleth.net/', | ||
description: 'Shibboleth.net open-source community home page' | ||
}, | ||
{ | ||
label: 'Wiki', | ||
url: 'https://wiki.shibboleth.net/', | ||
description: 'Shibboleth.net open-source community wiki' | ||
}, | ||
{ | ||
label: 'Issue Tracker', | ||
url: 'https://issues.shibboleth.net/', | ||
description: 'Shibboleth.net open-source community issue tracker' | ||
}, | ||
{ | ||
label: 'Mailing List', | ||
url: 'https://www.shibboleth.net/community/lists/', | ||
description: 'Shibboleth.net open-source community mailing list' | ||
} | ||
], | ||
text: 'Links to Shibboleth resources:' | ||
}, | ||
...customBrand | ||
}; |
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,29 @@ | ||
export interface Brand { | ||
logo: Logo; | ||
footer: Footer; | ||
header: Header; | ||
} | ||
|
||
export interface Header { | ||
title: string; | ||
} | ||
|
||
export interface Logo { | ||
default: string; | ||
small: string; | ||
large: string; | ||
alt: string; | ||
link: Link; | ||
[propName: string]: any; | ||
} | ||
|
||
export interface Footer { | ||
links: Link[]; | ||
text: string; | ||
} | ||
|
||
export interface Link { | ||
label: string; | ||
url: string; | ||
description?: string; | ||
} |
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,10 @@ | ||
import { PipeTransform, Pipe } from '@angular/core'; | ||
import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; | ||
|
||
@Pipe({ name: 'replace' }) | ||
export class ReplacePipe implements PipeTransform { | ||
constructor(public sanitizer: DomSanitizer) { } | ||
transform(value: string, query: { [propName: string]: string }): SafeHtml { | ||
return ''; | ||
} | ||
} |
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,44 @@ | ||
// | ||
// Color system | ||
// Override these colors by uncommenting them and changing the value. | ||
// | ||
|
||
// $white: #FFF; | ||
// $gray-100: #f8f9fa; | ||
// $gray-200: #e9ecef; | ||
// $gray-300: #dee2e6; | ||
// $gray-400: #ced4da; | ||
// $gray-500: #adb5bd; | ||
// $gray-600: #868e96; | ||
// $gray-700: #495057; | ||
// $gray-800: #343a40; | ||
// $gray-900: #212529; | ||
// $black: #000; | ||
|
||
// $blue: #00355f; | ||
// $light-blue: #007db1; | ||
// $indigo: #6610f2; | ||
// $purple: #6f42c1; | ||
// $pink: #e83e8c; | ||
// $red: #d3190f; | ||
// $orange: #fd7e14; | ||
// $yellow: #ffc107; | ||
// $green: #498500; | ||
// $teal: #20c997; | ||
// $cyan: #17a2b8; | ||
|
||
// $dark-grey: #666666; | ||
// $light-grey: #EEEEEE; | ||
|
||
/* | ||
*** Brand definitions | ||
*/ | ||
|
||
// $brand-primary: $blue; | ||
// $brand-secondary: $gray-700; | ||
// $brand-success: $green; | ||
// $brand-info: $light-blue; | ||
// $brand-warning: $yellow; | ||
// $brand-danger: $red; | ||
// $brand-light: $light-grey; | ||
// $brand-dark: $dark-grey; |
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,21 @@ | ||
/* | ||
export const brand = { | ||
logo: { | ||
default: '', | ||
small: '', | ||
large: '' | ||
}, | ||
footer: { | ||
links: [ | ||
{ | ||
label: '', | ||
url: '' | ||
} | ||
], | ||
text: '', | ||
copyright: '' | ||
} | ||
}; | ||
*/ | ||
|
||
export const brand = {}; |
Oops, something went wrong.