improve confirm dialog

This commit is contained in:
Shaun Walker
2019-10-25 21:27:29 -04:00
parent d5031a052a
commit f59ec7bdac
7 changed files with 189 additions and 114 deletions

View File

@ -17,7 +17,7 @@ else
<th>Name</th>
</Header>
<Row>
<td><ConfirmationDialog Header="Delete File" Message="@("Are You Sure You Wish To Delete " + context + "?")" Action="Delete" Class="btn btn-danger" OnClick="@(async () => await DeleteFile(context))" /></td>
<td><ActionDialog Header="Delete File" Message="@("Are You Sure You Wish To Delete " + context + "?")" Action="Delete" Class="btn btn-danger" OnClick="@(async () => await DeleteFile(context))" /></td>
<td><a href="@(uri.Scheme + "://" + uri.Authority + "/" + PageState.Site.SiteRootPath + context)" target="_new">@context</a></td>
</Row>
</Pager>