Files
marechai/cicm_web/Areas/Admin/Views/BrowserTests/Edit.cshtml

192 lines
6.9 KiB
Plaintext

@{
/******************************************************************************
// Canary Islands Computer Museum Website
// ----------------------------------------------------------------------------
//
// Filename : Edit.cshtml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// --[ Description ] ----------------------------------------------------------
//
// Admin view edit
//
// --[ License ] --------------------------------------------------------------
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@model Cicm.Database.Models.BrowserTest
@{
ViewData["Title"] = "Edit";
}
<h2>Edit</h2>
<h4>Browser test</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="UserAgent"
class="control-label">
</label>
<input asp-for="UserAgent"
class="form-control" />
<span asp-validation-for="UserAgent"
class="text-danger">
</span>
</div>
<div class="form-group">
<label asp-for="Browser"
class="control-label">
</label>
<input asp-for="Browser"
class="form-control" />
<span asp-validation-for="Browser"
class="text-danger">
</span>
</div>
<div class="form-group">
<label asp-for="Version"
class="control-label">
</label>
<input asp-for="Version"
class="form-control" />
<span asp-validation-for="Version"
class="text-danger">
</span>
</div>
<div class="form-group">
<label asp-for="Os"
class="control-label">
</label>
<input asp-for="Os"
class="form-control" />
<span asp-validation-for="Os"
class="text-danger">
</span>
</div>
<div class="form-group">
<label asp-for="Platform"
class="control-label">
</label>
<input asp-for="Platform"
class="form-control" />
<span asp-validation-for="Platform"
class="text-danger">
</span>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Gif87" /> @Html.DisplayNameFor(model => model.Gif87)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Gif89" /> @Html.DisplayNameFor(model => model.Gif89)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Jpeg" /> @Html.DisplayNameFor(model => model.Jpeg)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Png" /> @Html.DisplayNameFor(model => model.Png)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Pngt" /> @Html.DisplayNameFor(model => model.Pngt)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Agif" /> @Html.DisplayNameFor(model => model.Agif)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Table" /> @Html.DisplayNameFor(model => model.Table)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Colors" /> @Html.DisplayNameFor(model => model.Colors)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Js" /> @Html.DisplayNameFor(model => model.Js)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Frames" /> @Html.DisplayNameFor(model => model.Frames)
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input asp-for="Flash" /> @Html.DisplayNameFor(model => model.Flash)
</label>
</div>
</div>
<div class="form-group">
<input class="btn btn-primary"
type="submit"
value="Save" />
<a asp-action="Index"
class="btn btn-secondary">
Back to List
</a>
</div>
</form>
</div>
</div>
@section Scripts {
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
}