-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
23 additions
and
31 deletions.
There are no files selected for viewing
4 changes: 1 addition & 3 deletions
4
projects/common/src/lib/custom-html/custom-html.component.html
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 |
---|---|---|
@@ -1,3 +1 @@ | ||
|
||
<div style=" padding: 20px; " [innerHTML]="html"></div> | ||
|
||
<div class="custom-html" [innerHTML]="html"></div> |
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,3 @@ | ||
.custom-html { | ||
padding: 20px; | ||
} |
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 |
---|---|---|
|
@@ -16,22 +16,23 @@ import { AboutToolOptions } from './about-tool.interface'; | |
export class AboutToolComponent { | ||
public options: AboutToolOptions = {}; | ||
private defaultAboutText = ` | ||
<h1>About IGO</h1> | ||
<p>IGO (for Open GIS Infrastructure) is a Free Open Source Software | ||
for Geospatial (FOSS4G) developed by organisations in the government | ||
of Quebec in Canada. The objective is to make it open, common, | ||
modular, based on open governance model supported by multiple | ||
organisations. IGO is a Web GIS software with a client & server | ||
component to manage and publish massive amount of Geospatial data. | ||
</p> | ||
</hr> | ||
<a href='mailto:[email protected]' target='_top'>info[@]igouverte.org</a> | ||
</br> | ||
<a href='http://www.igouverte.org' target='_blank'>www.igouverte.org</A>`; | ||
<h1>About IGO</h1> | ||
<p>IGO (for Open GIS Infrastructure) is a Free Open Source Software | ||
for Geospatial (FOSS4G) developed by organisations in the government | ||
of Quebec in Canada. The objective is to make it open, common, | ||
modular, based on open governance model supported by multiple | ||
organisations. IGO is a Web GIS software with a client & server | ||
component to manage and publish massive amount of Geospatial data. | ||
</p> | ||
</hr> | ||
<a href='mailto:[email protected]' target='_top'>info[@]igouverte.org</a> | ||
</br> | ||
<a href='http://www.igouverte.org' target='_blank'>www.igouverte.org</A>`; | ||
|
||
get html(): string { | ||
return this.options.html === undefined | ||
? this.defaultAboutText : this.options.html; | ||
? this.defaultAboutText | ||
: this.options.html; | ||
} | ||
|
||
constructor() {} | ||
|
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