diff --git a/package.json b/package.json index 0fa12db..daa0228 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opt-cc", - "version": "1.9.3", + "version": "1.9.4", "author": "Florian Hartwich ", "private": true, "scripts": { diff --git a/static/src/app/app.module.ts b/static/src/app/app.module.ts index ac162dc..5c51b0b 100644 --- a/static/src/app/app.module.ts +++ b/static/src/app/app.module.ts @@ -22,7 +22,7 @@ import {HttpClientModule} from '@angular/common/http'; import {SpinnerService} from './services/user-interface/spinner/spinner.service'; import {SettingsService} from './services/settings.service'; import {HttpGateway} from './services/http-gateway'; -import {MatListModule, MatMenuModule, MatSidenavModule, MatToolbarModule} from '@angular/material'; +import {MatListModule, MatMenuModule, MatSidenavModule, MatTableModule, MatToolbarModule} from '@angular/material'; import {FlexLayoutModule} from '@angular/flex-layout'; @NgModule({ @@ -38,6 +38,7 @@ import {FlexLayoutModule} from '@angular/flex-layout'; MatToolbarModule, MatListModule, MatMenuModule, + MatTableModule, FlexLayoutModule, ], diff --git a/static/src/app/army/army-member/army-member.component.html b/static/src/app/army/army-member/army-member.component.html index 1912f18..a80a670 100644 --- a/static/src/app/army/army-member/army-member.component.html +++ b/static/src/app/army/army-member/army-member.component.html @@ -25,40 +25,35 @@ -
-
- - - - - - - - - - - - - - - - - - -
{{'public.army.member.awards.title' | translate}}{{'public.army.member.awards.reason' | translate}} - {{'public.army.member.awards.date' | translate}} -
- - - - - {{award.decorationId.name}} - - {{award.reason}} - - {{award.date | date: 'dd.MM.yyyy'}} -
-
+
+ + + + + + + + + + {{'public.army.member.awards.title' | translate}} + {{element.decorationId.name}} + + + + {{'public.army.member.awards.reason' | translate}} + {{element.reason}} + + + + {{'public.army.member.awards.date' | translate}} + + {{element.date | date: 'dd.MM.yyyy'}} + + + + + +
diff --git a/static/src/app/army/army-member/army-member.component.scss b/static/src/app/army/army-member/army-member.component.scss index 994c654..d158fdd 100644 --- a/static/src/app/army/army-member/army-member.component.scss +++ b/static/src/app/army/army-member/army-member.component.scss @@ -2,7 +2,7 @@ .army-member-view { width: 90%; - height: 100vh; + min-height: 100vh; padding: 5px; margin: auto; } @@ -18,15 +18,11 @@ padding-left: 5px; } -.table { - overflow-wrap: break-word; - table-layout: fixed; -} - -.table-container { - margin-top: 10px; +div.table-container { + margin-top:20px; padding: 5px; overflow-x: auto; + min-width: 500px; } .table-head { @@ -34,14 +30,26 @@ color: white; } -tbody { - background: rgba(255, 255, 255, 0.88); +mat-table.mat-table { + background: rgba(255, 255, 255, 0.70); + + .mat-column-award-graphics { + flex: 0 0 15%; + } + + .mat-column-title { + flex: 0 0 25%; + } + + .mat-column-reason { + flex: 0 0 52%; + } + + .mat-column-date { + flex: 0 0 8%; + } } -.cell-outline { - outline: 1px solid #D4D4D4; -} - -tr.cell-outline:hover { - background-color: #ffffff; +mat-row.mat-row { + @extend mat-table.mat-table; } diff --git a/static/src/app/army/army-member/army-member.component.ts b/static/src/app/army/army-member/army-member.component.ts index 4874bb3..859248a 100644 --- a/static/src/app/army/army-member/army-member.component.ts +++ b/static/src/app/army/army-member/army-member.component.ts @@ -2,7 +2,6 @@ import {Component, OnInit} from '@angular/core'; import {Award, User} from '../../models/model-interfaces'; import {ActivatedRoute, Router} from '@angular/router'; import {UserService} from '../../services/army-management/user.service'; -import {Subscription} from 'rxjs/Subscription'; import {AwardingService} from '../../services/army-management/awarding.service'; import {Fraction} from '../../utils/fraction.enum'; import {Location} from '@angular/common'; @@ -14,8 +13,6 @@ import {Location} from '@angular/common'; }) export class ArmyMemberComponent implements OnInit { - subscription: Subscription; - user: User = {}; awards: Award[] = []; @@ -26,6 +23,8 @@ export class ArmyMemberComponent implements OnInit { readonly fraction = Fraction; + readonly displayedColumns = ['award-graphics', 'title', 'reason', 'date']; + constructor(private router: Router, private route: ActivatedRoute, private userService: UserService, @@ -34,17 +33,17 @@ export class ArmyMemberComponent implements OnInit { } ngOnInit() { - this.subscription = this.route.params - .map(params => params['id']) - .filter(id => id !== undefined) - .flatMap(id => this.userService.getUser(id)) - .subscribe(user => { - this.user = user; - this.signatureUrl = window.location.origin + '/resource/signature/' + user._id + '.png'; - this.awardingService.getUserAwardings(user._id).subscribe((awards => { - this.awards = awards; - })); - }); + this.route.params + .map(params => params['id']) + .filter(id => id !== undefined) + .flatMap(id => this.userService.getUser(id)) + .subscribe(user => { + this.user = user; + this.signatureUrl = window.location.origin + '/resource/signature/' + user._id + '.png'; + this.awardingService.getUserAwardings(user._id).subscribe((awards => { + this.awards = awards; + })); + }); }; backToOverview() { diff --git a/static/src/app/login/login.component.html b/static/src/app/login/login.component.html index 76e4fac..f605685 100644 --- a/static/src/app/login/login.component.html +++ b/static/src/app/login/login.component.html @@ -1,6 +1,6 @@
- +

{{'login.headline' | translate}}

-
- -
+
diff --git a/static/src/app/login/login.component.scss b/static/src/app/login/login.component.scss index 479de01..39fb8fe 100644 --- a/static/src/app/login/login.component.scss +++ b/static/src/app/login/login.component.scss @@ -2,53 +2,31 @@ width: 100%; padding: 15px; margin: 0 auto; -} -.form-signin > .row { - max-width: 400px; - margin: auto; -} + & > .row { + max-width: 400px; + margin: auto; -.form-signin-heading { - text-align: center; -} + & > h2 { + text-align: center + } -.form-signin .form-signin-heading, .form-signin .checkbox, #inputEmail { - margin-bottom: 10px; -} + input.form-control { + margin-bottom: 10px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + font-size: 16px; + height: auto; + padding: 10px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + } -.form-signin .checkbox { - font-weight: normal; -} - -.form-signin .form-control { - position: relative; - font-size: 16px; - height: auto; - padding: 10px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.form-signin .form-control:focus { - z-index: 2; -} - -.form-signin input[type="text"] { - margin-bottom: 5px; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; -} - -.form-signin input[type="password"] { - margin-bottom: 10px; - border-top-left-radius: 0; - border-top-right-radius: 0; -} - -button { - width: 100%; + button { + width: 100%; + } + } } /* Loading Animation */ diff --git a/static/src/app/login/signup.component.html b/static/src/app/login/signup.component.html index af110ce..151a310 100644 --- a/static/src/app/login/signup.component.html +++ b/static/src/app/login/signup.component.html @@ -1,26 +1,27 @@
-
- +
+

{{'signup.headline' | translate}}

- + - + - -
- -
+
diff --git a/static/src/app/models/model-interfaces.ts b/static/src/app/models/model-interfaces.ts index 60a7538..ea7837f 100644 --- a/static/src/app/models/model-interfaces.ts +++ b/static/src/app/models/model-interfaces.ts @@ -85,7 +85,7 @@ export interface Rank { export interface Award { _id?: string; - userId: string; + userId: string | User; decorationId?: any; // Decoration or string reason?: string; proposer?: AppUser; diff --git a/static/src/app/request/award/req-award.component.html b/static/src/app/request/award/req-award.component.html index ecbcab1..5e50a72 100644 --- a/static/src/app/request/award/req-award.component.html +++ b/static/src/app/request/award/req-award.component.html @@ -1,66 +1,68 @@ -
-

{{'request.award.headline' | translate}}

+
+ +

{{'request.award.headline' | translate}}

-
- - -
- -
- - -
- -
-
- +
+ +
-
-   + +
+ +
-
-
- - -
+
+
+ +
+
+   +
+
- +
+ + +
- + + + +
@@ -113,5 +115,4 @@
- - +
diff --git a/static/src/app/request/award/req-award.component.scss b/static/src/app/request/award/req-award.component.scss index cf92a6d..067113f 100644 --- a/static/src/app/request/award/req-award.component.scss +++ b/static/src/app/request/award/req-award.component.scss @@ -1,18 +1,19 @@ -@import url('../../style/overview.scss'); +div.request-award-container { + margin: 2em auto; + width: 95%; + min-width: 835px; -.overview { - width: 100% !important; - margin-left: 25px !important; + form { + width: 33%; + min-width: 300px; + margin: auto; + } } .decoration-preview { padding: 5px; } -.trash { - cursor: pointer; -} - .table { overflow-wrap: break-word; table-layout: fixed; @@ -21,16 +22,6 @@ .table-container { margin-top: 40px; overflow-x: auto; - width: 90%; min-width: 800px; padding: 5px; } - -.form-group { - width: 25%; - min-width: 300px; -} - -h3 { - margin: 80px 0 20px -20px; -} diff --git a/static/src/app/request/confirm-award/confirm-award.component.html b/static/src/app/request/confirm-award/confirm-award.component.html index ba2eac2..30371ce 100644 --- a/static/src/app/request/confirm-award/confirm-award.component.html +++ b/static/src/app/request/confirm-award/confirm-award.component.html @@ -1,4 +1,4 @@ -
+

{{'request.confirm.award.headline' | translate}}

@@ -58,4 +58,4 @@
- +
diff --git a/static/src/app/request/confirm-award/confirm-award.component.scss b/static/src/app/request/confirm-award/confirm-award.component.scss index 07c2b42..b51495f 100644 --- a/static/src/app/request/confirm-award/confirm-award.component.scss +++ b/static/src/app/request/confirm-award/confirm-award.component.scss @@ -1,7 +1,7 @@ -@import url('../../style/overview.scss'); - -.overview { - margin-left: 25px !important; +div.confirm-award-container { + margin: 2em auto; + width: 95%; + min-width: 835px; } .decoration-preview { @@ -10,6 +10,7 @@ .action { cursor: pointer; + line-height: 2em; } .table { @@ -20,14 +21,5 @@ .table-container { margin-top: 40px; overflow-x: auto; - width: 90%; padding: 5px; } - -.form-group { - width: 25%; -} - -h3 { - margin: 80px 0 20px -20px; -} diff --git a/static/src/app/request/confirm-award/confirm-award.component.ts b/static/src/app/request/confirm-award/confirm-award.component.ts index a047134..6e16251 100644 --- a/static/src/app/request/confirm-award/confirm-award.component.ts +++ b/static/src/app/request/confirm-award/confirm-award.component.ts @@ -25,7 +25,7 @@ export class ConfirmAwardComponent implements OnInit { }); } - confirm(award: Award, decision: boolean, reason: string, rejectReason: string) { + confirm(award: Award, decision: boolean, reason: string, rejectReason?: string) { const updateObject = { _id: award._id, confirmed: decision ? 1 : 2 diff --git a/static/src/app/request/confirm-promotion/confirm-promotion.component.html b/static/src/app/request/confirm-promotion/confirm-promotion.component.html index 6a8b276..48220c8 100644 --- a/static/src/app/request/confirm-promotion/confirm-promotion.component.html +++ b/static/src/app/request/confirm-promotion/confirm-promotion.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/static/src/app/request/confirm-promotion/confirm-promotion.component.scss b/static/src/app/request/confirm-promotion/confirm-promotion.component.scss index 07c2b42..76152ca 100644 --- a/static/src/app/request/confirm-promotion/confirm-promotion.component.scss +++ b/static/src/app/request/confirm-promotion/confirm-promotion.component.scss @@ -1,7 +1,7 @@ -@import url('../../style/overview.scss'); - -.overview { - margin-left: 25px !important; +div.confirm-promotion-container { + margin: 2em auto; + width: 95%; + min-width: 835px; } .decoration-preview { @@ -10,6 +10,7 @@ .action { cursor: pointer; + line-height: 2em; } .table { @@ -20,14 +21,5 @@ .table-container { margin-top: 40px; overflow-x: auto; - width: 90%; padding: 5px; } - -.form-group { - width: 25%; -} - -h3 { - margin: 80px 0 20px -20px; -} diff --git a/static/src/app/request/confirm-promotion/confirm-promotion.component.ts b/static/src/app/request/confirm-promotion/confirm-promotion.component.ts index 6bd2e21..886dfb2 100644 --- a/static/src/app/request/confirm-promotion/confirm-promotion.component.ts +++ b/static/src/app/request/confirm-promotion/confirm-promotion.component.ts @@ -33,7 +33,7 @@ export class ConfirmPromotionComponent implements OnInit { }); } - confirm(promotion: Promotion, decision: boolean, rejectReason: string) { + confirm(promotion: Promotion, decision: boolean, rejectReason?: string) { const updateObject = { _id: promotion._id, confirmed: decision ? 1 : 2 diff --git a/static/src/app/request/promotion/req-promotion.component.html b/static/src/app/request/promotion/req-promotion.component.html index ed5e3ca..be121b6 100644 --- a/static/src/app/request/promotion/req-promotion.component.html +++ b/static/src/app/request/promotion/req-promotion.component.html @@ -1,61 +1,63 @@ -
-

{{'request.promotion.headline' | translate}}

- -
- - -
- -
+
+ +

{{'request.promotion.headline' | translate}}

- - -
- -
- +
-
+
- +
+ + +
- +
+ + +
+ +
+ + + + +
@@ -106,6 +108,4 @@
- - - +
diff --git a/static/src/app/request/promotion/req-promotion.component.scss b/static/src/app/request/promotion/req-promotion.component.scss index 5e40c75..e7db664 100644 --- a/static/src/app/request/promotion/req-promotion.component.scss +++ b/static/src/app/request/promotion/req-promotion.component.scss @@ -1,17 +1,19 @@ -@import url('../../style/overview.scss'); +.request-promotion-container { + margin: 2em auto; + width: 95%; + min-width: 835px; -.overview { - margin-left: 25px !important; + form { + width: 33%; + min-width: 300px; + margin: auto; + } } .decoration-preview { padding: 5px; } -.trash { - cursor: pointer; -} - .table { overflow-wrap: break-word; table-layout: fixed; @@ -20,16 +22,6 @@ .table-container { margin-top: 40px; overflow-x: auto; - width: 90%; min-width: 800px; padding: 5px; } - -.form-group { - width: 25%; - min-width: 300px; -} - -h3 { - margin: 80px 0 20px -20px; -} diff --git a/static/src/app/request/sql-dashboard/sql-dashboard.component.html b/static/src/app/request/sql-dashboard/sql-dashboard.component.html index 99303d5..d57f630 100644 --- a/static/src/app/request/sql-dashboard/sql-dashboard.component.html +++ b/static/src/app/request/sql-dashboard/sql-dashboard.component.html @@ -1,4 +1,4 @@ -
+

{{'request.sql.dashboard.headline' | translate}}

@@ -6,11 +6,11 @@ - - - - - + + + + + @@ -27,7 +27,7 @@ - diff --git a/static/src/app/request/sql-dashboard/sql-dashboard.component.scss b/static/src/app/request/sql-dashboard/sql-dashboard.component.scss index 9a8d311..62d3af5 100644 --- a/static/src/app/request/sql-dashboard/sql-dashboard.component.scss +++ b/static/src/app/request/sql-dashboard/sql-dashboard.component.scss @@ -1,7 +1,7 @@ -@import url('../../style/overview.scss'); - -.overview { - margin-left: 25px !important; +.sql-dashboard-container { + margin: 2em auto; + width: 95%; + min-width: 835px; } .decoration-preview { @@ -16,11 +16,6 @@ .table-container { margin-top: 40px; overflow-x: auto; - width: 90%; min-width: 800px; padding: 5px; } - -h3 { - margin: 80px 0 20px -20px; -} diff --git a/static/src/app/statistic/campaign/campaign-navigation/campaign-navigation.component.html b/static/src/app/statistic/campaign/campaign-navigation/campaign-navigation.component.html index 83a11d5..65827b9 100644 --- a/static/src/app/statistic/campaign/campaign-navigation/campaign-navigation.component.html +++ b/static/src/app/statistic/campaign/campaign-navigation/campaign-navigation.component.html @@ -1,24 +1,23 @@ -
-
+
-
-
- {{'stats.campaign.title.all.time.overview' | translate}} -
-
- {{campaign.title}} - +
+ {{'stats.campaign.title.all.time.overview' | translate}} +
+
+ {{campaign.title}} +
-
diff --git a/static/src/app/statistic/campaign/campaign-navigation/campaign-navigation.component.scss b/static/src/app/statistic/campaign/campaign-navigation/campaign-navigation.component.scss index d4f1a4a..6ce072c 100644 --- a/static/src/app/statistic/campaign/campaign-navigation/campaign-navigation.component.scss +++ b/static/src/app/statistic/campaign/campaign-navigation/campaign-navigation.component.scss @@ -1,20 +1,3 @@ -.scroll-btn { - position: absolute; - height: 46px; - width: 32px; - cursor: pointer; -} - -.scroll-btn-right { - top: 0; - left: calc(100vw - 50px); -} - -.scroll-btn mat-icon { - height: 46px; - width: 28px; -} - .campaign-horizontal-list { width: 100%; height: 100%; @@ -23,29 +6,47 @@ padding: 0; overflow: hidden; box-shadow: #666666 1px 1px 4px; -} -.campaign-entry { - border: 1px solid #222222; - min-width: 20%; - max-height: 4em; - padding: 10px 0; - text-align: center; - cursor: pointer; - font-size: 16px; - float: left; - background: #424242; - color: #9d9d9d; -} + .scroll-btn-left { + position: absolute; + height: 46px; + width: 32px; + cursor: pointer; -.active { - background: #222222; - color: white; - border-bottom: 3px solid #ffd740; -} + mat-icon { + height: 46px; + width: 28px; + } + } -.campaign-entry:hover { - border-bottom: 3px solid #ffd740; + .scroll-btn-right { + @extend .scroll-btn-left; + top: 0; + left: calc(100vw - 32px); + } + + .campaign-entry { + border: 1px solid #222222; + min-width: 20%; + max-height: 4em; + padding: 10px 0; + text-align: center; + cursor: pointer; + font-size: 16px; + float: left; + background: #424242; + color: #9d9d9d; + + &:hover { + border-bottom: 3px solid #ffd740; + } + + &.active { + background: #222222; + color: white; + border-bottom: 3px solid #ffd740; + } + } } .campaign-select-small { diff --git a/static/src/app/statistic/campaign/overview/campaign-overview.component.scss b/static/src/app/statistic/campaign/overview/campaign-overview.component.scss index d30640d..150d27f 100644 --- a/static/src/app/statistic/campaign/overview/campaign-overview.component.scss +++ b/static/src/app/statistic/campaign/overview/campaign-overview.component.scss @@ -10,6 +10,7 @@ .slide-chart-container { width: 100%; min-width: unset; + height: 65vh; margin-top: 105px; margin-bottom: 35px; } diff --git a/static/src/app/statistic/stats.component.scss b/static/src/app/statistic/stats.component.scss index a35c9ac..5b326f5 100644 --- a/static/src/app/statistic/stats.component.scss +++ b/static/src/app/statistic/stats.component.scss @@ -3,7 +3,7 @@ float: left; @media all and (max-width: 959px) { - width: 100%; + width: 100%!important; } } diff --git a/static/src/app/statistic/war/fraction-stats/fraction-stats.component.html b/static/src/app/statistic/war/fraction-stats/fraction-stats.component.html index 498b206..f563a65 100644 --- a/static/src/app/statistic/war/fraction-stats/fraction-stats.component.html +++ b/static/src/app/statistic/war/fraction-stats/fraction-stats.component.html @@ -1,5 +1,4 @@ -
- +
+ - + + {{tableHead[0].head | translate}} + + {{element.name}} + + - - {{tableHead[0].head | translate}} - - {{element.name}} - - + + {{tableHead[1].head | translate}} + {{element.fraction === + 'BLUFOR' ? fraction.BLUFOR : fraction.OPFOR}} + - - {{tableHead[1].head | translate}} - {{element.fraction === - 'BLUFOR' ? fraction.BLUFOR : fraction.OPFOR}} - + + + + + + {{element[column.prop]}} + - - - - - - {{element[column.prop]}} - - - - - - - - + + + + - - - -
+ + + diff --git a/static/src/app/statistic/war/scoreboard/scoreboard.component.scss b/static/src/app/statistic/war/scoreboard/scoreboard.component.scss index 065f9a7..5e532a2 100644 --- a/static/src/app/statistic/war/scoreboard/scoreboard.component.scss +++ b/static/src/app/statistic/war/scoreboard/scoreboard.component.scss @@ -1,24 +1,12 @@ @import url('../../../style/list-entry.scss'); @import url('../../../style/hide-scrollbar.scss'); -.scoreboard-table { +mat-table.mat-table { width: 1058px; - margin: auto; - height: 68vh; overflow-x: hidden; overflow-y: auto; - box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12); - border-bottom: 1px solid #dadada; -} - -.mat-header-row { - width: 1058px; - position: absolute; - z-index: 100; -} - -.mat-table > mat-row:first-of-type { - padding-top: 56px; + margin: auto; + height: 70vh; } .mat-column-name { @@ -50,7 +38,25 @@ white-space: pre-wrap; } - .mat-header-row, .scoreboard-table { + .mat-header-row, mat-table.mat-table { width: 768px; } } + +@media all and (max-width: 599px) { + .mat-column-name { + flex: 0 0 130px; + padding-left: 1vw; + } + + .mat-header-row { + width: 755px; + } + + mat-table.mat-table { + width: 100%; + height: 50vh; + overflow-x: auto; + display: grid; + } +} diff --git a/static/src/app/statistic/war/war-header/war-header.component.html b/static/src/app/statistic/war/war-header/war-header.component.html index d3f88b0..0664a55 100644 --- a/static/src/app/statistic/war/war-header/war-header.component.html +++ b/static/src/app/statistic/war/war-header/war-header.component.html @@ -1,6 +1,6 @@
-
+

{{'stats.scoreboard.standings' | translate}}

{{fraction.BLUFOR}} {{war.ptBlufor}} @@ -9,7 +9,16 @@ style="font-weight: bold; margin-left: 10px;">{{war.ptOpfor}} {{fraction.OPFOR}}
-
+
+

{{'stats.scoreboard.participants' | translate}}

+ {{fraction.BLUFOR}} {{war.playersBlufor}} + vs + {{war.playersOpfor}} {{fraction.OPFOR}} +
+ +

{{'stats.scoreboard.participants' | translate}}

a { + margin: 0 !important; + width:100%; + } + } + } + + .head-field { + width: calc(100% - 1.5vw); + text-align: center; + margin-top: 1vh; + margin-bottom: 0; + + & > span { + font-size: 16px; + } + } + + .nav-tabs > li { + width: 25%; + font-size: 12px; + + mat-icon { + display: block; + } + } + + /* radio box fraction select */ + .nav-tabs > li:last-child { + width: fit-content; + position: absolute; + margin-top: -38px; + margin-left: 27%; + } +} diff --git a/static/src/app/statistic/war/war-list/war-list.component.scss b/static/src/app/statistic/war/war-list/war-list.component.scss index da22424..6b498d0 100644 --- a/static/src/app/statistic/war/war-list/war-list.component.scss +++ b/static/src/app/statistic/war/war-list/war-list.component.scss @@ -91,8 +91,13 @@ border-right: 1px solid #dadada; height: 100vh; top: 0; + left: calc(20% - 1px); z-index: -1; + &.collapsed { + left: 0; + } + @media all and (max-width: 959px) { display: none; } diff --git a/static/src/app/style/overview.scss b/static/src/app/style/overview.scss index 8685f47..15426f4 100644 --- a/static/src/app/style/overview.scss +++ b/static/src/app/style/overview.scss @@ -8,10 +8,8 @@ bottom: 10px; } -.absolute-label { - display: block; - position: absolute; - font-size: 12px; - padding: 5px; - margin-left: 25%; +@media all and (max-width: 959px) { + .overview { + left: 345px; + } }
{{'request.confirm.promotion.table.head.participant' | translate}}{{'request.confirm.promotion.table.head.rank.before' | translate}}{{'request.confirm.promotion.table.head.rank.after' | translate}}{{'request.confirm.promotion.table.head.requester' | translate}}{{'request.confirm.promotion.table.head.date' | translate}}{{'request.confirm.promotion.table.head.participant' | translate}}{{'request.confirm.promotion.table.head.rank.before' | translate}}{{'request.confirm.promotion.table.head.rank.after' | translate}}{{'request.confirm.promotion.table.head.requester' | translate}}{{'request.confirm.promotion.table.head.date' | translate}}
{{promotion.proposer.username}} + {{promotion.timestamp | date: 'dd.MM.yyyy'}}