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