mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Add CRUD for main database tables.
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
@model DeviceStat
|
||||
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta content="width=device-width" name="viewport" />
|
||||
<title>Edit</title>
|
||||
</head>
|
||||
<body>
|
||||
<h4>DeviceStat</h4>
|
||||
<hr />
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<form asp-action="Edit">
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
<input type="hidden" asp-for="Id" />
|
||||
<div class="form-group">
|
||||
<label asp-for="Manufacturer" class="control-label"></label>
|
||||
<input asp-for="Manufacturer" class="form-control" />
|
||||
<span asp-validation-for="Manufacturer" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Model" class="control-label"></label>
|
||||
<input asp-for="Model" class="form-control" />
|
||||
<span asp-validation-for="Model" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Revision" class="control-label"></label>
|
||||
<input asp-for="Revision" class="form-control" />
|
||||
<span asp-validation-for="Revision" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Bus" class="control-label"></label>
|
||||
<input asp-for="Bus" class="form-control" />
|
||||
<span asp-validation-for="Bus" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="submit" value="Save" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user