layout changes
This commit is contained in:
parent
29caf98af5
commit
13bfb0a45f
@ -49,7 +49,7 @@ export class RegisterComponent extends AppComponentBase implements OnInit, After
|
|||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.model.role = 'Participant';
|
this.model.role = 'Participant';
|
||||||
this.model.participantClass = 1;
|
this.model.participantClass = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
back(): void {
|
back(): void {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.element-size {
|
.element-size {
|
||||||
width: 500px;
|
width: calc(100% - 20px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.field {
|
.field {
|
||||||
@ -17,7 +17,7 @@
|
|||||||
border-left: 10px #739CB9 solid;
|
border-left: 10px #739CB9 solid;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
width: 520px;
|
width: 100%;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div id="create-competition-area">
|
<div id="create-competition-area">
|
||||||
<div class="container">
|
<div>
|
||||||
|
|
||||||
<h2 class="title">Tworzenie konkursu</h2>
|
<h2 class="title">Tworzenie konkursu</h2>
|
||||||
|
|
||||||
|
@ -54,10 +54,10 @@
|
|||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<button class="btn btn-default" (click)="goTo(0);">Pierwsza</button>
|
<button *ngIf="pager.index!==0" class="btn btn-default" (click)="goTo(0);">Pierwsza</button>
|
||||||
<button class="btn btn-default" (click)="goTo(pager.index - 1);">Poprzednia</button>
|
<button *ngIf="pager.index!==0" class="btn btn-default" (click)="goTo(pager.index - 1);">Poprzednia</button>
|
||||||
<button class="btn btn-primary" (click)="goTo(pager.index + 1);">Następna</button>
|
<button *ngIf="pager.index!==pager.count-1" class="btn btn-primary" (click)="goTo(pager.index + 1);">Następna</button>
|
||||||
<button class="btn btn-default" (click)="goTo(pager.count - 1);">Ostatnia</button>
|
<button *ngIf="pager.index!==pager.count-1" class="btn btn-default" (click)="goTo(pager.count - 1);">Ostatnia</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@ -70,8 +70,8 @@
|
|||||||
<div *ngFor="let question of competition.questions; let index = index">
|
<div *ngFor="let question of competition.questions; let index = index">
|
||||||
<div class="result-question">
|
<div class="result-question">
|
||||||
<h5>{{index + 1}}. {{question.name}}</h5>
|
<h5>{{index + 1}}. {{question.name}}</h5>
|
||||||
<div class="row">
|
<div>
|
||||||
<div *ngFor="let option of question.questionOptions">
|
<div [ngClass]="{'alert alert-success': option.isAnswer}" *ngFor="let option of question.questionOptions">
|
||||||
<input type="checkbox" [(ngModel)]="option.selected" id="{{option.id}}" disabled="true">
|
<input type="checkbox" [(ngModel)]="option.selected" id="{{option.id}}" disabled="true">
|
||||||
<label class="option-size" for="{{option.id}}">{{option.name}}</label>
|
<label class="option-size" for="{{option.id}}">{{option.name}}</label>
|
||||||
</div>
|
</div>
|
||||||
|
@ -11,7 +11,7 @@ export class SideBarNavComponent extends AppComponentBase {
|
|||||||
|
|
||||||
menuItems: MenuItem[] = [
|
menuItems: MenuItem[] = [
|
||||||
new MenuItem(this.l("Strona domowa"), "", "home", "/app/home"),
|
new MenuItem(this.l("Strona domowa"), "", "home", "/app/home"),
|
||||||
new MenuItem(this.l("Profil"), "", "person", "/app/profile"),
|
new MenuItem(this.l("Edycja profilu"), "", "person", "/app/profile"),
|
||||||
|
|
||||||
new MenuItem(this.l("Konkursy"), "", "list", "/app/categories-list"),
|
new MenuItem(this.l("Konkursy"), "", "list", "/app/categories-list"),
|
||||||
new MenuItem(this.l("Dodaj konkurs"), "Pages.Create.Competition", "add", "/app/competition-create"),
|
new MenuItem(this.l("Dodaj konkurs"), "Pages.Create.Competition", "add", "/app/competition-create"),
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
<li><a href="javascript:void(0);" class="js-search" data-close="true"><i class="material-icons">search</i></a></li>
|
<!-- <li><a href="javascript:void(0);" class="js-search" data-close="true"><i class="material-icons">search</i></a></li> -->
|
||||||
<!-- <topbar-languageswitch></topbar-languageswitch> -->
|
<!-- <topbar-languageswitch></topbar-languageswitch> -->
|
||||||
<li><a href="javascript:void(0);" class="js-right-sidebar" data-close="true"><i class="material-icons">more_vert</i></a></li>
|
<li><a href="javascript:void(0);" class="js-right-sidebar" data-close="true"><i class="material-icons">more_vert</i></a></li>
|
||||||
<li><a (click)="logout()"><i class="material-icons">input</i></a></li>
|
<li><a (click)="logout()"><i class="material-icons">input</i></a></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user