Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
<button class="btn btn-outline-dark"
(click)="printClicked.emit()" i18n>Print</button>
<button class="btn btn-outline-dark ml-2" [disabled]="disableSave"
+ [ngClass]="{'border border-danger pointer-not-allowed': disableSave}"
(click)="saveClicked.emit()" i18n>Save</button>
<button class="btn btn-outline-dark ml-2" [disabled]="disableSave"
+ [ngClass]="{'border border-danger pointer-not-allowed': disableSave}"
(click)="saveCloneClicked.emit()" i18n>Save & Clone</button>
</div>
</div>
@Component({
templateUrl: 'edit-toolbar.component.html',
- selector: 'eg-patron-edit-toolbar'
+ selector: 'eg-patron-edit-toolbar',
+ styles: [
+ `.pointer-not-allowed:hover { cursor: not-allowed }`
+ ]
})
export class EditToolbarComponent implements OnInit {