Fix army member page style

pull/13/head
Florian Hartwich 2017-10-05 20:15:14 +02:00
parent 46f9a78cf7
commit f069251571
3 changed files with 9 additions and 12 deletions

View File

@ -26,6 +26,7 @@ export class AppComponent {
}
if (event instanceof NavigationEnd) {
this.loading = false;
window.scrollTo(0, 0);
}
});
}

View File

@ -12,12 +12,8 @@
}
.return-button {
background: white;
width: 90vw;
height: 80px;
z-index: 1;
position: relative;
padding: 20px 0 20px 0;
display: block;
width: auto;
}
.table {
@ -27,6 +23,7 @@
.table-container {
margin-top: 10px;
padding: 5px;
overflow-x: auto;
}

View File

@ -1,17 +1,16 @@
<div class="overview">
<div style="width: 90%; margin:auto">
<div class="return-button">
<span class="btn btn-default" style="float:left" (click)="backToOverview()">< zurück zur Übersicht</span>
<h3 [ngClass]="user.squad?.fraction === 'BLUFOR' ? 'blufor' : 'opfor'" style="padding-left: 20%;">
<span class="btn btn-default" style="position:absolute;" (click)="backToOverview()">< zurück zur Übersicht</span>
<h3 class="text-center" [ngClass]="user.squad?.fraction === 'BLUFOR' ? 'blufor' : 'opfor'">
Auszeichnungen von {{user.rank?.name}} {{user.username}}
</h3>
</div>
<div>
<img style="margin-left: 13%;" src="resource/signature/{{user._id}}.png">
<div class="text-center">
<img src="resource/signature/{{user._id}}.png">
</div>
<div class="input-group" style="width: 662px; margin-left: 13%;">
<div class="input-group" style="width: 662px; margin: auto;">
<input type="text" style="background: white;" class="form-control" [(ngModel)]="signatureUrl" readonly>
<span class="input-group-btn">
<button class="btn btn-default" [class.btn-success]="isCopied" type="button"