[Connect|Trunk]

-update deploy script
-move /CustomizationOptions.ts in library and change paths



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@57046 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2019-09-12 09:41:26 +00:00
parent 7a8f5b44d1
commit ca08e72dcb
3 changed files with 8 additions and 85 deletions

View File

@ -11,12 +11,17 @@
# cp production-properties.json ../src/assets/env-properties.json;
## uncommect from here-->
# echo -n 'Check that you have the correct properties file';
# printf '\nCheck that you have the correct properties file';
# echo -n "Press key:";
# read -n1 ans
# pico ../src/assets/env-properties.json;
# printf '\nCheck the properties file version';
# echo -n "Press key:";
# read -n1 ans
# pico ../src/app/openaireLibrary/utils/properties/environment-specific.service.ts;
# echo 'For Production keep meta for bots';
# echo -n 'Check index.html: For test and beta keep meta for noindex, for production remove noindex and keep meta for Search engines verification';
# printf '\n\nCheck index.html: For test and beta keep meta for noindex, for production remove noindex and keep meta for Search engines verification';
# printf '\nUpdate css/ js files version!';
# echo -n "Press key:";
# read -n1 ans
# echo -n "Pressed";

View File

@ -1,82 +0,0 @@
export class CustomizationOptions {
mainColor: string;
secondaryColor: string;
panel: {
background: {
// gradientDirection: string;
borderStyle: string;
borderColor: string;
borderWidth: string;
}, fonts: {
color: string;
family: string;
size: string;
},
title: {
color: string;
family: string;
size: string;
},
links: {
color: string;
family: string;
size: string;
// decoration: string;
onHover: {
color: string;
}
};
buttons: {
backgroundColor: string;
color: string;
fontWeight:string;
borderStyle: string;
borderColor: string;
borderWidth: string;
borderRadius: string;
onHover: {
backgroundColor: string;
color: string;
borderColor: string;
}
};
panelElements: {
backgroundColor: string;
borderColor: string;
color: string;
}
};
box: {
borderColor: string;
borderStyle: string;
borderWidth: string;
borderRadius: string;
}
;
links: {
color: "";
family: string;
decoration: string;
onHover: {
color: string;
};
};
buttons: {
backgroundColor: string;
color: string;
borderStyle: string;
borderColor: string;
borderWidth: string;
borderRadius: string;
onHover: {
backgroundColor: string;
color: string;
borderColor: string;
};
};
}

View File

@ -2,7 +2,7 @@ import {Component, Input} from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
import {EnvProperties} from '../../openaireLibrary/utils/properties/env-properties';
import {LayoutService} from "../../openaireLibrary/services/layout.service";
import {CustomizationOptions} from "./CustomizationOptions";
import {CustomizationOptions} from "../../openaireLibrary/connect/community/CustomizationOptions";
import {ConnectHelper} from "../../openaireLibrary/connect/connectHelper";
import {PiwikHelper} from "../piwikHelper";
import {StringUtils} from "../../openaireLibrary/utils/string-utils.class";