_ModalFooter.cshtml 942 B

1234567891011121314151617181920
  1. @model string
  2. @{
  3. var type = Model ?? "";
  4. }
  5. <div class="modal-footer justify-content-between">
  6. @*style="text-align: center;"*@
  7. @if (type.ToLower() == "cancel" || type == "1")
  8. {
  9. <button type="button" class="btn btn-outline-iwb close-button waves-effect" data-dismiss="modal" style="min-width: 100px;">@L("Cancel")</button>
  10. }
  11. else if (type.ToLower() == "save" || type == "2")
  12. {
  13. <button type="button" class="btn btn-iwb btn-sm save-btn save-button waves-effect" style="min-width: 100px;">@L("Save")</button>
  14. }
  15. else
  16. {
  17. <button type="button" class="btn btn-sm btn-outline-iwb close-button waves-effect" data-dismiss="modal" style="min-width:100px;">@L("Cancel")</button>
  18. <button type="button" class="btn btn-iwb btn-sm save-btn save-button waves-effect" style="min-width:100px;">@L("Save")</button>
  19. }
  20. </div>