|
|
@ -3,11 +3,11 @@ |
|
|
|
<div class="col-12 col-md-6 mx-auto"> |
|
|
|
<form class="login-form-container" (submit)="login()"> |
|
|
|
<div class="m-2"> |
|
|
|
<span class="font-12">Username</span> |
|
|
|
<span class="login-label">Username</span> |
|
|
|
<input type="text" class="input-text" name="userName" [(ngModel)]="userName"> |
|
|
|
</div> |
|
|
|
<div class="m-2"> |
|
|
|
<span class="font-12">Password</span> |
|
|
|
<span class="login-label">Password</span> |
|
|
|
<input type="password" class="input-text" name="password" [(ngModel)]="password"> |
|
|
|
</div> |
|
|
|
<div class="m-2 pt-4"> |
|
|
@ -59,7 +59,7 @@ |
|
|
|
<span class="label">Exhibitions</span> |
|
|
|
<select class="input-select" name="exhibitions"> |
|
|
|
<option value=""></option> |
|
|
|
<option value="{{exhibition.title}}" *ngFor="let exhibition of exhibitions" (click)="exhibitionAdd($event,exhibition.id)"> |
|
|
|
<option value="{{exhibition.title}}" *ngFor="let exhibition of exhibitions" (click)="exhibitionAdd(exhibition.id)"> |
|
|
|
{{exhibition.date_from | date}} | {{exhibition.title}} |
|
|
|
</option> |
|
|
|
</select> |
|
|
@ -72,22 +72,22 @@ |
|
|
|
|
|
|
|
<div class="col-6"> |
|
|
|
<span class="label">Video</span> |
|
|
|
<div class="w-30 d-inline-block pr-1"> |
|
|
|
<select class="input-select" name="videoType"> |
|
|
|
<div class="w-30 d-inline-block pr-2"> |
|
|
|
<select class="input-select" name="videoType" [(ngModel)]="videoType"> |
|
|
|
<option value="youtube">YouTube</option> |
|
|
|
<option value="vimeo">Vimeo</option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<div class="w-60 d-inline-block pr-1"> |
|
|
|
<input type="text" class="input-text" name="videoTitle"> |
|
|
|
<div class="w-60 d-inline-block pr-2"> |
|
|
|
<input type="text" class="input-text" name="videoURL" [(ngModel)]="videoURL"> |
|
|
|
</div> |
|
|
|
<div class="w-10 d-inline-block"> |
|
|
|
<button class="button">v</button> |
|
|
|
<button class="button button-transparent icon-plus-square px-0 w-100" (click)="videoAdd()"></button> |
|
|
|
</div> |
|
|
|
|
|
|
|
<span class="label font-12 pt-2">Selected Videos</span> |
|
|
|
<span class="selected-video" *ngFor="let sv of selectedVideos" (click)="videoRemove(sv.id)"> |
|
|
|
{{sv.type | date}} | {{sv.title}} |
|
|
|
<span class="selected-video" *ngFor="let sv of selectedVideos" (click)="videoRemove(sv.url)"> |
|
|
|
{{sv.type}} | {{sv.url}} |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|