|
45 | 45 | </mat-form-field>
|
46 | 46 | </div>
|
47 | 47 | </div>
|
48 |
| - <div class="add-margin"> |
49 |
| - <div> |
50 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.useUserScore">Use Individual User Scoring</mat-checkbox> |
| 48 | + <div> |
| 49 | + <b>Scoring Options</b> |
| 50 | + <div class="scoring-option"> |
| 51 | + <div> |
| 52 | + <mat-checkbox [(ngModel)]="data.scoringModel.useUserScore">Use Individual User Scoring</mat-checkbox> |
| 53 | + </div> |
| 54 | + </div> |
| 55 | + <div class="scoring-option"> |
| 56 | + <div> |
| 57 | + <mat-checkbox [(ngModel)]="data.scoringModel.useTeamScore">Use Team Scoring</mat-checkbox> |
| 58 | + </div> |
| 59 | + </div> |
| 60 | + <div class="scoring-option"> |
| 61 | + <div> |
| 62 | + <mat-checkbox [(ngModel)]="data.scoringModel.useOfficialScore">Use Official Scoring</mat-checkbox> |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + <div class="scoring-option"> |
| 66 | + <div> |
| 67 | + <mat-checkbox [(ngModel)]="data.scoringModel.useTeamAverageScore" [disabled]="!data.scoringModel.useUserScore">Use Team Average Scoring</mat-checkbox> |
| 68 | + </div> |
| 69 | + </div> |
| 70 | + <div class="scoring-option"> |
| 71 | + <div> |
| 72 | + <mat-checkbox [(ngModel)]="data.scoringModel.useTypeAverageScore" [disabled]="!data.scoringModel.useTeamScore">Use Type Average Scoring</mat-checkbox> |
| 73 | + </div> |
51 | 74 | </div>
|
52 | 75 | </div>
|
53 | 76 | <div class="add-margin">
|
54 |
| - <div> |
55 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.useTeamScore">Use Team Scoring</mat-checkbox> |
56 |
| - </div> |
57 |
| - </div> |
58 |
| - <div class="add-margin"> |
59 |
| - <div> |
60 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.useOfficialScore">Use Official Scoring</mat-checkbox> |
61 |
| - </div> |
62 |
| - </div> |
63 |
| - <div class="add-margin"> |
64 |
| - <div> |
65 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.useTeamAverageScore" [disabled]="!data.scoringModel.useUserScore">Use Team Average Scoring</mat-checkbox> |
66 |
| - </div> |
67 |
| - </div> |
68 |
| - <div class="add-margin"> |
69 |
| - <div> |
70 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.useTypeAverageScore" [disabled]="!data.scoringModel.useTeamScore">Use Type Average Scoring</mat-checkbox> |
71 |
| - </div> |
72 |
| - </div> |
73 |
| - <div class="add-margin"> |
74 |
| - <div> |
75 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.useSubmit">Use Submit</mat-checkbox> |
76 |
| - </div> |
77 |
| - </div> |
78 |
| - <div class="add-margin"> |
79 |
| - <div> |
80 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.hideScoresOnScoreSheet">Hide Scores On Scoresheet</mat-checkbox> |
81 |
| - </div> |
82 |
| - </div> |
83 |
| - <div class="add-margin"> |
84 |
| - <div> |
85 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.displayCommentTextBoxes">Display Comments as Textboxes</mat-checkbox> |
86 |
| - </div> |
87 |
| - </div> |
88 |
| - <div class="add-margin"> |
89 |
| - <div> |
90 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.displayScoringModelByMoveNumber">Display Scoring Categories by Move Number</mat-checkbox> |
91 |
| - </div> |
92 |
| - </div> |
93 |
| - <div class="add-margin"> |
94 |
| - <div> |
95 |
| - <mat-checkbox [(ngModel)]="data.scoringModel.showPastSituationDescriptions">Show Past Situation Descriptions</mat-checkbox> |
96 |
| - </div> |
97 |
| - </div> |
98 |
| - <div class="add-margin"> |
99 |
| - <div> |
100 |
| - <mat-form-field class="description-field full-width"> |
101 |
| - <mat-label>Right Side Display</mat-label> |
102 |
| - <mat-select placeholder="Select a Right Side Display Option" [(ngModel)]="data.scoringModel.rightSideDisplay"> |
103 |
| - <mat-option *ngFor="let item of data.rightSideDisplays" [value]="item"> |
104 |
| - {{ item }} |
105 |
| - </mat-option> |
106 |
| - </mat-select> |
107 |
| - </mat-form-field> |
108 |
| - </div> |
109 |
| - </div> |
110 |
| - <div class="add-margin" *ngIf="data.scoringModel.rightSideDisplay === 'HtmlBlock'"> |
111 |
| - <mat-label class="gray">Right Side HTML Block</mat-label> |
112 |
| - <angular-editor [placeholder]="'Enter content here...'" [(ngModel)]="data.scoringModel.rightSideHtmlBlock" [config]="editorConfig"></angular-editor> |
113 |
| - </div> |
114 |
| - <div class="add-margin" *ngIf="data.scoringModel.rightSideDisplay === 'EmbeddedUrl'"> |
115 |
| - <div> |
116 |
| - <mat-form-field class="description-field full-width"> |
117 |
| - <mat-label>Right Side URL</mat-label> |
118 |
| - <input matInput [(ngModel)]="data.scoringModel.rightSideEmbeddedUrl" /> |
119 |
| - </mat-form-field> |
| 77 | + <b>Display Options</b> |
| 78 | + <div class="scoring-option"> |
| 79 | + <div> |
| 80 | + <mat-checkbox [(ngModel)]="data.scoringModel.useSubmit">Use Submit Button for Submissions</mat-checkbox> |
| 81 | + </div> |
| 82 | + </div> |
| 83 | + <div class="scoring-option"> |
| 84 | + <div> |
| 85 | + <mat-checkbox [(ngModel)]="data.scoringModel.hideScoresOnScoreSheet">Hide Option Values On Scoresheet</mat-checkbox> |
| 86 | + </div> |
| 87 | + </div> |
| 88 | + <div class="scoring-option"> |
| 89 | + <div> |
| 90 | + <mat-checkbox [(ngModel)]="data.scoringModel.displayCommentTextBoxes">Display Comments as Textboxes</mat-checkbox> |
| 91 | + </div> |
| 92 | + </div> |
| 93 | + <div class="scoring-option"> |
| 94 | + <div> |
| 95 | + <mat-checkbox [(ngModel)]="data.scoringModel.displayScoringModelByMoveNumber">Use Different Scoring Categories by Move Number</mat-checkbox> |
| 96 | + </div> |
| 97 | + </div> |
| 98 | + <div class="scoring-option"> |
| 99 | + <div> |
| 100 | + <mat-checkbox [(ngModel)]="data.scoringModel.showPastSituationDescriptions">Show Past Situation Descriptions on Dashboard</mat-checkbox> |
| 101 | + </div> |
| 102 | + </div> |
| 103 | + <div class="add-margin"> </div> |
| 104 | + <div class="scoring-option"> |
| 105 | + <div> |
| 106 | + <mat-form-field class="description-field full-width"> |
| 107 | + <mat-label>Right Side Display</mat-label> |
| 108 | + <mat-select placeholder="Select a Right Side Display Option" [(ngModel)]="data.scoringModel.rightSideDisplay"> |
| 109 | + <mat-option *ngFor="let item of data.rightSideDisplays" [value]="item"> |
| 110 | + {{ item }} |
| 111 | + </mat-option> |
| 112 | + </mat-select> |
| 113 | + </mat-form-field> |
| 114 | + </div> |
| 115 | + </div> |
| 116 | + <div class="scoring-option" *ngIf="data.scoringModel.rightSideDisplay === 'HtmlBlock'"> |
| 117 | + <mat-label class="gray">Right Side HTML Block</mat-label> |
| 118 | + <angular-editor [placeholder]="'Enter content here...'" [(ngModel)]="data.scoringModel.rightSideHtmlBlock" [config]="editorConfig"></angular-editor> |
| 119 | + </div> |
| 120 | + <div class="scoring-option" *ngIf="data.scoringModel.rightSideDisplay === 'EmbeddedUrl'"> |
| 121 | + <div> |
| 122 | + <mat-form-field class="description-field full-width"> |
| 123 | + <mat-label>Right Side URL</mat-label> |
| 124 | + <input matInput [(ngModel)]="data.scoringModel.rightSideEmbeddedUrl" /> |
| 125 | + </mat-form-field> |
| 126 | + </div> |
120 | 127 | </div>
|
121 | 128 | </div>
|
122 | 129 | <div class="cssLayoutRowStartCenter bottom-button">
|
|
0 commit comments