minor dev mode changes
This commit is contained in:
parent
4fcf8c4e68
commit
3ec8697846
@ -88,11 +88,6 @@
|
|||||||
<redaction-logo></redaction-logo>
|
<redaction-logo></redaction-logo>
|
||||||
</redaction-hidden-action>
|
</redaction-hidden-action>
|
||||||
<div class="app-name">{{ titleService.getTitle() }}</div>
|
<div class="app-name">{{ titleService.getTitle() }}</div>
|
||||||
<span
|
|
||||||
*ngIf="userPreferenceService.areDevFeaturesEnabled"
|
|
||||||
class="dev-mode"
|
|
||||||
translate="dev-mode"
|
|
||||||
></span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="menu right flex-2">
|
<div class="menu right flex-2">
|
||||||
<redaction-notifications
|
<redaction-notifications
|
||||||
@ -132,4 +127,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
*ngIf="userPreferenceService.areDevFeaturesEnabled"
|
||||||
|
class="dev-mode"
|
||||||
|
translate="dev-mode"
|
||||||
|
></div>
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
|
|||||||
@ -1,23 +1,24 @@
|
|||||||
@import '../../../assets/styles/red-variables';
|
@import '../../../assets/styles/red-variables';
|
||||||
@import '../../../assets/styles/red-mixins';
|
@import '../../../assets/styles/red-mixins';
|
||||||
|
|
||||||
.logo-wrapper {
|
|
||||||
position: relative;
|
|
||||||
margin: 0 20px;
|
|
||||||
|
|
||||||
.dev-mode {
|
.dev-mode {
|
||||||
margin: 0 10px;
|
background-color: #dd4d50;
|
||||||
padding: 2px 5px;
|
color: #fff;
|
||||||
background-color: $primary;
|
font-size: 22px;
|
||||||
color: $white;
|
line-height: 16px;
|
||||||
font-size: 10px;
|
|
||||||
font-weight: 600;
|
|
||||||
line-height: 13px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: absolute;
|
position: fixed;
|
||||||
left: 100%;
|
top: 0;
|
||||||
white-space: nowrap;
|
z-index: 100;
|
||||||
}
|
right: 0;
|
||||||
|
height: 61px;
|
||||||
|
word-break: break-all;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
font-family: monospace;
|
||||||
|
width: 24px;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-placeholder {
|
.menu-placeholder {
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"logout": "Logout"
|
"logout": "Logout"
|
||||||
},
|
},
|
||||||
"app-name": "DDA-R",
|
"app-name": "DDA-R",
|
||||||
"dev-mode": "[ DEV MODE ]",
|
"dev-mode": "DEV",
|
||||||
"upload-status": {
|
"upload-status": {
|
||||||
"error": {
|
"error": {
|
||||||
"file-size": "File too large. Limit is {{size}}MB.",
|
"file-size": "File too large. Limit is {{size}}MB.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user