|
|
@ -21,9 +21,9 @@ |
|
|
|
<div class="col-12 col-md-3 col-lg-2"> |
|
|
|
<div class="menu"> |
|
|
|
<span class="section-title">Works</span> |
|
|
|
<button class="action" (click)="showEditor('works-add')">Add</button> |
|
|
|
<button class="action" (click)="showEditor('works-modify')">Modify</button> |
|
|
|
<button class="action" (click)="showEditor('works-delete')">Delete</button> |
|
|
|
<button class="action" [ngClass]="{'active': activeEditor == 'works-add'}" (click)="showEditor('works-add')">Add</button> |
|
|
|
<button class="action" [ngClass]="{'active': activeEditor == 'works-modify'}" (click)="showEditor('works-modify')">Modify</button> |
|
|
|
<button class="action" [ngClass]="{'active': activeEditor == 'works-delete'}" (click)="showEditor('works-delete')">Delete</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col p-5"> |
|
|
@ -58,16 +58,36 @@ |
|
|
|
<div class="col-6"> |
|
|
|
<span class="label">Exhibitions</span> |
|
|
|
<select class="input-select" name="exhibitions"> |
|
|
|
<option value="" [selected]="aaa"></option> |
|
|
|
<option value=""></option> |
|
|
|
<option value="{{exhibition.title}}" *ngFor="let exhibition of exhibitions" (click)="exhibitionAdd($event,exhibition.id)"> |
|
|
|
{{exhibition.date_from | date}} | {{exhibition.title}} |
|
|
|
</option> |
|
|
|
</select> |
|
|
|
|
|
|
|
<span class="label font-12 pt-2">Selected exhibitions</span> |
|
|
|
<span class="selected-exhibition" *ngFor="let se of selectedExhibitions" (click)="exhibitionRemove(se.id)"> |
|
|
|
{{se.date_from | date}} | {{se.title}} |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="col-6"> |
|
|
|
<span class="label">Selected exhibitions</span> |
|
|
|
<span class="selected-exhibition" *ngFor="let se of selectedExhibitions" (click)="exhibitionRemove(se.id)"> |
|
|
|
{{se.title}} |
|
|
|
<span class="label">Video</span> |
|
|
|
<div class="w-30 d-inline-block pr-1"> |
|
|
|
<select class="input-select" name="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> |
|
|
|
<div class="w-10 d-inline-block"> |
|
|
|
<button class="button">v</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> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|