Add icons, add validation, add phone and email types, add css fixes

This commit is contained in:
Pieter Vander Vennet 2020-07-26 02:01:34 +02:00
parent eb4dda1ba2
commit 1372027dac
56 changed files with 2794 additions and 3474 deletions

View file

@ -32,7 +32,7 @@ export class ImgurImage extends UIElement {
}
protected InnerRender(): string {
InnerRender(): string {
const image = "<img src='" + this._imageLocation + "' " + "alt='' >";
if(this._imageMeta.data === null){

View file

@ -8,7 +8,7 @@ export class SimpleImageElement extends UIElement {
super(source);
}
protected InnerRender(): string {
InnerRender(): string {
return "<img src='" + this._source.data + "' alt='img'>";
}

View file

@ -29,7 +29,7 @@ export class WikimediaImage extends UIElement {
}
protected InnerRender(): string {
InnerRender(): string {
let url = Wikimedia.ImageNameToUrl(this._imageLocation, 500, 400);
url = url.replace(/'/g, '%27');