mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 03:22:48 +00:00
Workingon themes
This commit is contained in:
parent
e5bef439b6
commit
dd66e66b51
@ -15,4 +15,4 @@
|
||||
<p style="text-align: center;">Song level theme changing not yet supported.<br>
|
||||
To continue, change your theme level.
|
||||
</p>
|
||||
</ng-template>
|
||||
</ng-template>
|
||||
|
@ -83,7 +83,7 @@ export class OpenLPService {
|
||||
}
|
||||
|
||||
getThemeLevel(): Observable<any> {
|
||||
return this.http.get(`${this.apiURL}/controller/get_theme_level`, httpOptions);
|
||||
return this.http.get(`${this.apiURL}/controller/theme-level`, httpOptions);
|
||||
}
|
||||
|
||||
getThemes(): Observable<Theme[]> {
|
||||
@ -107,11 +107,11 @@ export class OpenLPService {
|
||||
}
|
||||
|
||||
setThemeLevel(level): Observable<any> {
|
||||
return this.http.post(`${this.apiURL}/controller/set_theme_level`, {'level': level}, httpOptions);
|
||||
return this.http.post(`${this.apiURL}/controller/theme-level`, {'level': level}, httpOptions);
|
||||
}
|
||||
|
||||
setTheme(theme: string): Observable<any> {
|
||||
return this.http.post(`${this.apiURL}/controller/theme_change`, {'theme': theme}, httpOptions);
|
||||
return this.http.post(`${this.apiURL}/controller/theme`, {'theme': theme}, httpOptions);
|
||||
}
|
||||
|
||||
nextItem(): Observable<any> {
|
||||
|
Loading…
Reference in New Issue
Block a user