You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.4 KiB
Plaintext

@page
@model IoTSharp.Gateway.Modbus.Pages.SlaveAdmin.DeleteModel
@{
ViewData["Title"] = "Delete";
}
<h1>Delete</h1>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>ModbusSlave</h4>
<hr />
<dl class="row">
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.ModbusSlave.Slave)
</dt>
<dd class="col-sm-10">
@Html.DisplayFor(model => model.ModbusSlave.Slave)
</dd>
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.ModbusSlave.TimeOut)
</dt>
<dd class="col-sm-10">
@Html.DisplayFor(model => model.ModbusSlave.TimeOut)
</dd>
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.ModbusSlave.DeviceName)
</dt>
<dd class="col-sm-10">
@Html.DisplayFor(model => model.ModbusSlave.DeviceName)
</dd>
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.ModbusSlave.DeviceNameFormat)
</dt>
<dd class="col-sm-10">
@Html.DisplayFor(model => model.ModbusSlave.DeviceNameFormat)
</dd>
</dl>
<form method="post">
<input type="hidden" asp-for="ModbusSlave.Id" />
<input type="submit" value="Delete" class="btn btn-danger" /> |
<a asp-page="./Index">Back to List</a>
</form>
</div>