-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from TheAxelander/124_import_page_dialogs
Merge changes for version 1.6.3
- Loading branch information
Showing
5 changed files
with
124 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@if (IsDialogVisible) | ||
{ | ||
<div class="modal fade show" style="display: block;"> | ||
<div class="modal-dialog modal-dialog-scrollable"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h4 class="modal-title">@Title</h4> | ||
<button type="button" class="btn-close" data-dismiss="modal" @onclick="OnCloseClickCallback"></button> | ||
</div> | ||
<div class="modal-body">@Message</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-primary" data-dismiss="modal" @onclick="OnCloseClickCallback">Ok</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="modal-backdrop fade show"></div> | ||
} | ||
|
||
@code { | ||
[Parameter] | ||
public string Title { get; set; } | ||
|
||
[Parameter] | ||
public string Message { get; set; } | ||
|
||
[Parameter] | ||
public bool IsDialogVisible { get; set; } | ||
|
||
[Parameter] | ||
public EventCallback<MouseEventArgs> OnCloseClickCallback { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters