Customization: save and build css
on preview create preview css
This commit is contained in:
parent
7641c46d34
commit
b1279e0de5
|
@ -20,6 +20,9 @@ export class LayoutService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
createCSS( pid: string, suffix = null, layout = null): Observable<any> {
|
||||||
|
return this.http.post("http://scoobydoo.di.uoa.gr:4200/build-css/" + (layout?"preview/":"") + pid + (suffix?("/"+ suffix):""), layout );
|
||||||
|
}
|
||||||
|
|
||||||
saveLayout(properties: EnvProperties, pid: string, layout: Layout): Observable<Layout> {
|
saveLayout(properties: EnvProperties, pid: string, layout: Layout): Observable<Layout> {
|
||||||
LayoutService.removeNulls(layout);
|
LayoutService.removeNulls(layout);
|
||||||
|
|
Loading…
Reference in New Issue