-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathedition.component.html
More file actions
69 lines (60 loc) · 2.21 KB
/
edition.component.html
File metadata and controls
69 lines (60 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<app-back-home-bar></app-back-home-bar>
<div class="edition width-100">
<div class="leftPane floatLeft">
<div class="leftEdition width-100 floatLeft">
<div class="button" [ngStyle]="{'background-color': this.editionService.curentColor,
'box-sizing': 'border-box',
'border-width': '3px',
'border-style': 'solid',
'border-color': this.editionService.curentBorderColor}">
<div class="image haveBackgroundImage"
[style.background-image]="this.sanitizer.bypassSecurityTrustStyle('url(\'' +this.editionService.imageURL+'\')')">
</div>
<div class="label centerText">
{{ this.editionService.name }}
</div>
</div>
</div>
<div class="width-100 floatLeft">
<div class="menu">
<ng-container *ngFor="let section of this.editionService.menu">
<div>
<div>
<div class="menu-item-title-container" [class.selected]="this.editionService.currentEditPage===section"
(click)="this.selectMenu(section)">
<div>
{{ this.multilinguism.translate(section) }}
</div>
</div>
</div>
</div>
</ng-container>
</div>
</div>
<div class="save centerText floatLeft" (click)="this.save()">
{{ this.multilinguism.translate("save") }}
</div>
<br>
<div *ngIf="nameEmpty" class="messageError floatLeft">
{{ this.multilinguism.translate("nameEmpty") }}
</div>
</div>
<div class="rightPane floatLeft">
<ng-container *ngIf="this.isDisplayed('grammar')">
<app-a-venir></app-a-venir>
</ng-container>
<ng-container *ngIf="this.isDisplayed('interactions')">
<app-event></app-event>
</ng-container>
<ng-container *ngIf="this.isDisplayed('otherForms')">
<app-alternative-forms></app-alternative-forms>
</ng-container>
<ng-container *ngIf="this.isDisplayed('appearance')">
<app-image-selection-page></app-image-selection-page>
</ng-container>
<ng-container *ngIf="this.isDisplayed('information')">
<app-information-edition-page></app-information-edition-page>
</ng-container>
</div>
</div>
{{ this.configuration.VERSION }}