-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: JAGFx <[email protected]>
- Loading branch information
Showing
16 changed files
with
384 additions
and
163 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* @author: Emmanuel SMITH <[email protected]> | ||
* project: ets2-dashboard-skin | ||
* file: _display-message.scss | ||
* Date: 11/02/2022 | ||
* Time: 21:28 | ||
*/ | ||
|
||
@import "variable"; | ||
|
||
.display-message { | ||
color: $cGrey; | ||
font-size: 2.5rem; | ||
width: 437px; | ||
max-width: 437px; | ||
height: 346px; | ||
border-bottom: 3px solid $cGreyLight; | ||
|
||
&.warning { background: $cYellow; } | ||
&.error { background: $cRed } | ||
} |
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
21 changes: 21 additions & 0 deletions
21
src/components/dashboards/scania/display/ScaniaDisplayMessage.vue
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<template> | ||
<div | ||
class="display-message d-flex justify-content-start align-items-start flex-column p-3" | ||
:class="scaniaMessage.type" | ||
> | ||
{{ scaniaMessage.message }} | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { mapGetters } from 'vuex'; | ||
export default { | ||
name: 'ScaniaDisplayMessage', | ||
computed: { | ||
...mapGetters({ | ||
scaniaMessage: 'dashboard/getLatestScaniaMessage' | ||
}) | ||
} | ||
}; | ||
</script> |
Oops, something went wrong.