mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
save theme 1 for doneIt
This commit is contained in:
@@ -39,6 +39,14 @@
|
||||
class="icon-next"
|
||||
slot="end"
|
||||
src="assets/images/icons-arrow-circle-arrow-right.svg"
|
||||
*ngIf="ThemeService.currentTheme != 'doneIt' "
|
||||
></ion-icon>
|
||||
|
||||
|
||||
<ion-icon
|
||||
class="icon-next"
|
||||
slot="end"
|
||||
src="assets/images/theme/doneIt/icons-arrow-circle-arrow-right.svg"
|
||||
></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -14,6 +14,7 @@ import { ScreenOrientation } from '@ionic-native/screen-orientation/ngx';
|
||||
import { ExpedienteTaskPipe } from 'src/app/pipes/expediente-task.pipe';
|
||||
import { ExpedienteGdStore } from 'src/app/store/expedientegd-store.service';
|
||||
import { SessionStore } from 'src/app/store/session.service';
|
||||
import { ThemeService } from 'src/app/services/theme.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-events',
|
||||
@@ -80,6 +81,7 @@ export class EventsPage implements OnInit {
|
||||
private modalController:ModalController,
|
||||
private screenOrientation: ScreenOrientation,
|
||||
public platform: Platform,
|
||||
public ThemeService: ThemeService,
|
||||
) {
|
||||
this.existingScreenOrientation = this.screenOrientation.type;
|
||||
|
||||
|
||||
@@ -10,10 +10,11 @@ export class ThemeService {
|
||||
themes = [
|
||||
'gov',
|
||||
'default',
|
||||
'tribunal'
|
||||
'tribunal',
|
||||
'doneIt'
|
||||
]
|
||||
|
||||
currentTheme: 'gov' | 'default' | 'tribunal' = 'gov'
|
||||
currentTheme: 'gov' | 'default' | 'tribunal' | 'doneIt' = 'gov'
|
||||
keyName: string
|
||||
|
||||
constructor(
|
||||
@@ -35,6 +36,7 @@ export class ThemeService {
|
||||
document.body.classList.remove("gov");
|
||||
document.body.classList.remove("default");
|
||||
document.body.classList.remove("tribunal");
|
||||
document.body.classList.remove("doneIt");
|
||||
|
||||
document.body.classList.add(theme);
|
||||
this.currentTheme = theme;
|
||||
|
||||
Reference in New Issue
Block a user