diff --git a/connect/community/CustomizationOptions.ts b/connect/community/CustomizationOptions.ts index 38ef08b6..dbadc970 100644 --- a/connect/community/CustomizationOptions.ts +++ b/connect/community/CustomizationOptions.ts @@ -25,6 +25,7 @@ export class CustomizationOptions { color: string; //background imageUrl: string; imageFile: string; + position:string; } }; buttons: { @@ -49,7 +50,8 @@ export class CustomizationOptions { form : { color: CustomizationOptions.getRGBA(this.identity.mainColor,0.15), imageUrl : null, - imageFile : null + imageFile : null, + position: null } }; @@ -104,6 +106,9 @@ export class CustomizationOptions { if(!current.backgrounds.form){ current.backgrounds.form = Object.assign({}, updated.backgrounds.form); } + if(!current.backgrounds.form.position){ + current.backgrounds.form.position = "center bottom" + } if(!current.buttons){ current.buttons = Object.assign({}, updated.buttons); } diff --git a/login/user.component.html b/login/user.component.html index db670948..fa08e027 100644 --- a/login/user.component.html +++ b/login/user.component.html @@ -52,7 +52,7 @@ -
+
The requested page requires authentication. Please sign in to continue. diff --git a/services/utilities.service.ts b/services/utilities.service.ts index e9f59fce..16a92dc5 100644 --- a/services/utilities.service.ts +++ b/services/utilities.service.ts @@ -13,15 +13,11 @@ export class UtilitiesService { uploadPhoto(url: string, photo: File): Observable { const formData = new FormData(); formData.append('photo', photo); - return this.http.post(url, formData, CustomOptions.getAuthOptions()); + return this.http.post(url, formData, {withCredentials: true}); } - deletePhoto(url: string) { - return this.http.delete(url, CustomOptions.getAuthOptions()); + deletePhoto(url: string): Observable { + return this.http.delete(url, {withCredentials: true}); } - - getTiny(url: string) { - return this.http.get(url, {responseType: 'text'}); - } - + } diff --git a/sharedComponents/navigationBar.component.html b/sharedComponents/navigationBar.component.html index b0b0fd51..7053eac6 100644 --- a/sharedComponents/navigationBar.component.html +++ b/sharedComponents/navigationBar.component.html @@ -272,7 +272,7 @@ class="uk-responsive-height">
-

{{header.title}}

+

{{header.title}}

@@ -284,7 +284,7 @@ class="uk-responsive-height">
-

{{header.title}}

+

{{header.title}}

diff --git a/utils/icons/icons-preview/icons-preview.component.ts b/utils/icons/icons-preview/icons-preview.component.ts index 1a011bda..e668948c 100644 --- a/utils/icons/icons-preview/icons-preview.component.ts +++ b/utils/icons/icons-preview/icons-preview.component.ts @@ -110,6 +110,18 @@ import {Component} from "@angular/core";
check_circle_outlined
+
+ +
reset
+
+
+ +
send
+
+
+ +
print
+

Usage

diff --git a/utils/icons/icons-preview/icons-preview.module.ts b/utils/icons/icons-preview/icons-preview.module.ts index 1a1d9edb..45246007 100644 --- a/utils/icons/icons-preview/icons-preview.module.ts +++ b/utils/icons/icons-preview/icons-preview.module.ts @@ -15,8 +15,8 @@ import { database, done, earth, edit, group, lock, mail, person_add, photo, - preview, refresh, - remove, remove_circle, remove_circle_outline, search + preview, print, refresh, + remove, remove_circle, remove_circle_outline, reset, search, send } from "../icons"; @NgModule({ @@ -30,7 +30,7 @@ export class IconsPreviewModule { constructor(private iconsService: IconsService) { this.iconsService.registerIcons([arrow_left, arrow_right, arrow_up, arrow_down, book, database, cog, earth, edit, remove, preview, bullet, remove_circle, remove_circle_outline, person_add, cloud_upload, add, group, lock, search, - refresh, close, done, mail, photo, check_circle_outlined + refresh, close, done, mail, photo, check_circle_outlined, reset, send, print ]) } } diff --git a/utils/icons/icons.ts b/utils/icons/icons.ts index 057cf80b..f8089562 100644 --- a/utils/icons/icons.ts +++ b/utils/icons/icons.ts @@ -132,8 +132,6 @@ export const check_circle_outlined = { data: '' } -/** Add new icon under this line to be sure that it will be added on preview */ - export const reset = { name: 'reset', data: '' @@ -148,3 +146,5 @@ export const print = { name: 'print', data: '' } + +/** Add new icon under this line to be sure that it will be added on preview */