-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: applies themes correctly * chore: removed console.log * feat: added settings modal workaround * fix: failing test
- Loading branch information
Showing
9 changed files
with
51 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
<div class="app-titlebar-logo-area"> | ||
<input type="image" src="assets/logo_monochrome_white.svg" class="app-titlebar-logo" disabled=True /> | ||
<input | ||
type="image" | ||
src="assets/logo_monochrome_white.svg" | ||
class="app-titlebar-logo" | ||
disabled="True" | ||
/> | ||
</div> | ||
|
||
<div class="app-titlebar-button-container"> | ||
<button class="app-titelbar-button">Datei</button> | ||
<button class="app-titelbar-button">Bearbeiten</button> | ||
<button class="app-titelbar-button">Ausführen</button> | ||
<button class="app-titelbar-button">Editor</button> | ||
<button class="app-titelbar-button">Welt</button> | ||
<button class="app-titelbar-button">Hilfe</button> | ||
<button class="app-titelbar-button">Datei</button> | ||
<button class="app-titelbar-button" (click)="openSettings()"> | ||
Bearbeiten | ||
</button> | ||
<button class="app-titelbar-button">Ausführen</button> | ||
<button class="app-titelbar-button">Editor</button> | ||
<button class="app-titelbar-button">Welt</button> | ||
<button class="app-titelbar-button">Hilfe</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { Component } from '@angular/core'; | ||
import { SettingsModal } from '../common/modals'; | ||
import { GameboardController } from '../gameboard/utils'; | ||
|
||
@Component({ | ||
selector: 'app-titlebar', | ||
templateUrl: './titlebar.component.html', | ||
styleUrls: ['./titlebar.component.scss'] | ||
styleUrls: ['./titlebar.component.scss'], | ||
}) | ||
export class TitlebarComponent implements OnInit { | ||
export class TitlebarComponent { | ||
constructor(public controller: GameboardController) {} | ||
|
||
constructor() { } | ||
|
||
ngOnInit(): void { | ||
openSettings() { | ||
this.controller.openModal(SettingsModal); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters