You are here

activity.component.html in Opigno group manager 3.x

Same filename and directory in other branches
  1. 8 ng/src/app/activities/activity/activity.component.html

File

ng/src/app/activities/activity/activity.component.html
View source
<td class="move">
  <span class="handle fi fi-rr-apps-sort"></span>
</td>
<td class="name"><a href="javascript:void(0);" (click)="activity.showPreview=true" title="{{ text_preview }}">{{activity.name}}</a></td>
<td class="max-score"><input class="form-text" type="text" placeholder="{{ text_max_score }}" [(ngModel)]="activity.max_score" (change)="updateActivity()"></td>
<td *ngIf="module.editable" class="edit"><button class="btn btn-rounded" (click)="activity.showUpdate=true">{{ text_edit }}</button></td>
<td *ngIf="module.editable" class="delete"><button class="btn btn-rounded btn-border-red delete-link" (click)="showDelete()">{{ text_delete }}</button></td>

<update-activity class="activity-update lateral-panel"
                 [module]="module"
                 [activity]="activity"
                 (closeEvent)="activity.showUpdate=false"
                 *ngIf="activity.showUpdate && module.editable"></update-activity>

<preview-activity class="activity-preview lateral-panel"
                 [activity]="activity"
                 (closeEvent)="activity.showPreview=false"
                 *ngIf="activity.showPreview && module.editable"></preview-activity>