mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Add mac addresses to displayed device info.
This commit is contained in:
parent
0630b2e007
commit
c4a97ee6c7
@ -206,6 +206,13 @@
|
||||
<input class="form-control" readonly value="@Device.PublicIP" />
|
||||
</div>
|
||||
|
||||
<div class="font-weight-bold text-info mt-2">
|
||||
MAC Addresses
|
||||
</div>
|
||||
<div>
|
||||
<input class="form-control" readonly value="@(string.Join(", ", Device.MacAddresses))" />
|
||||
</div>
|
||||
|
||||
<EditForm Model="Device" OnValidSubmit="HandleValidSubmit">
|
||||
<DataAnnotationsValidator />
|
||||
|
||||
|
||||
@ -134,6 +134,22 @@ else
|
||||
<input type="text" class="form-control" name="agent-memory-total" readonly value="@(Device.TotalMemory)" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="agent-memory-total" class="col-sm-2 col-form-label">
|
||||
Public IP:
|
||||
</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" name="agent-memory-total" readonly value="@(Device.PublicIP)" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="agent-memory-total" class="col-sm-2 col-form-label">
|
||||
MAC Addresses:
|
||||
</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" name="agent-memory-total" readonly value="@(string.Join(", ", Device.MacAddresses))" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="device-alias" class="col-sm-2 col-form-label">Device Alias:</label>
|
||||
<div class="col-sm-10">
|
||||
@ -148,9 +164,9 @@ else
|
||||
<option value="">None</option>
|
||||
|
||||
@foreach (var group in DataService.GetDeviceGroups(Username))
|
||||
{
|
||||
{
|
||||
<option @key="group.ID" value="@group.ID">@group.Name</option>
|
||||
}
|
||||
}
|
||||
</InputSelect>
|
||||
<ValidationMessage For="() => Device.DeviceGroupID" />
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user