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) { if (event instanceof NavigationEnd) {
this.loading = false; this.loading = false;
window.scrollTo(0, 0);
} }
}); });
} }

View File

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

View File

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