demo20230512/Views/Profile/Company.cshtml

241 lines
14 KiB
Plaintext
Raw Permalink Normal View History

2023-05-12 10:20:28 +08:00
@using Resources
@model Weee.Models.Company
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section PageStyles {
@Styles.Render("~/bootstrap/css")
<link type="text/css" rel="stylesheet" href="~/Browser_Local/css/html5-doctor-reset-stylesheet.css" />
<link type="text/css" rel="stylesheet" href="~/Browser_Local/css/home.css" />
}
@section PageScripts {
@Scripts.Render("~/jQuery")
@Scripts.Render("~/bootstrap")
}
@*<div class="home_wrap">
<div class="home_body_wrap">
<div class="body">
<div class="home_logo_wrap">
<div class="home_logo">
<a href="/app"><img src="~/Browser_Local/img/home_logo.png" /></a>
</div>
</div>
</div>
</div>
</div>*@
<div class="col-md-2"></div>
<div class="col-md-8 form-horizontal">
@if (ViewBag.SuccessInfo != null)
{
<div class="alert alert-success" style="margin-top: 24px;">
@ViewBag.SuccessInfo @Resource.Click <b>@Html.ActionLink(Resource.Here, "Index", "Profile", new { }, new { })</b> @Resource.ReturnToEditCompanyPage
</div>
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<h1 style="margin-top: 24px;">@Resource.EditCompany</h1>
<br />
<div class="form-horizontal">
<div class="form-group">
@Html.LabelFor(model => model.Name, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Name, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Name, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.EnglishName, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.EnglishName, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.EnglishName, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.Address, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Address, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Address, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.BusinessAddress, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.BusinessAddress, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.BusinessAddress, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
<div>
@Html.LabelFor(model => model.WebSiteUrl, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.WebSiteUrl, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.WebSiteUrl, null, new { @class = "text-danger" })
</div>
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.VATNumber, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.VATNumber, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.VATNumber, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
<div class="required">
@Html.LabelFor(model => model.NumberOfEmployees, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.NumberOfEmployees, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.NumberOfEmployees, null, new { @class = "text-danger" })
</div>
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.CEOName, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.CEOName, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.CEOName, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.Capital, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Capital, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Capital, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.Industry, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.DropDownListFor(model => model.Industry, new List<SelectListItem>() {
new SelectListItem { Text = Resource.Industry0, Value = "0"},
new SelectListItem { Text = Resource.Industry1, Value = "1"},
new SelectListItem { Text = Resource.Industry2, Value = "2"},
new SelectListItem { Text = Resource.Industry3, Value = "3"},
new SelectListItem { Text = Resource.Industry4, Value = "4"},
new SelectListItem { Text = Resource.Industry5, Value = "5"},
new SelectListItem { Text = Resource.Industry6, Value = "6"},
new SelectListItem { Text = Resource.Industry7, Value = "7"},
new SelectListItem { Text = Resource.Industry8, Value = "8"},
new SelectListItem { Text = Resource.Industry9, Value = "9"},
new SelectListItem { Text = Resource.Industry10, Value = "10"},
new SelectListItem { Text = Resource.Industry11, Value = "11"},
new SelectListItem { Text = Resource.Industry12, Value = "12"},
new SelectListItem { Text = Resource.Industry13, Value = "13"},
new SelectListItem { Text = Resource.Industry14, Value = "14"},
new SelectListItem { Text = Resource.Industry15, Value = "15"},
new SelectListItem { Text = Resource.Industry16, Value = "16"},
new SelectListItem { Text = Resource.Industry17, Value = "17"},
new SelectListItem { Text = Resource.Industry18, Value = "18"},
new SelectListItem { Text = Resource.Industry19, Value = "19"},
new SelectListItem { Text = Resource.Industry20, Value = "20"},
new SelectListItem { Text = Resource.Industry21, Value = "21"},
new SelectListItem { Text = Resource.Industry22, Value = "22"},
new SelectListItem { Text = Resource.Industry23, Value = "23"},
new SelectListItem { Text = Resource.Industry24, Value = "24"},
new SelectListItem { Text = Resource.Industry25, Value = "25"},
new SelectListItem { Text = Resource.Industry26, Value = "26"},
new SelectListItem { Text = Resource.Industry27, Value = "27"},
new SelectListItem { Text = Resource.Industry28, Value = "28"},
new SelectListItem { Text = Resource.Industry29, Value = "29"},
new SelectListItem { Text = Resource.Industry30, Value = "30"},
new SelectListItem { Text = Resource.Industry31, Value = "31"},
new SelectListItem { Text = Resource.Industry32, Value = "32"},
new SelectListItem { Text = Resource.Industry33, Value = "33"},
new SelectListItem { Text = Resource.Industry34, Value = "34"},
new SelectListItem { Text = Resource.Industry35, Value = "35"},
new SelectListItem { Text = Resource.Industry36, Value = "36"},
new SelectListItem { Text = Resource.Industry37, Value = "37"},
new SelectListItem { Text = Resource.Industry38, Value = "38"},
new SelectListItem { Text = Resource.Industry39, Value = "39"},
new SelectListItem { Text = Resource.Industry40, Value = "40"},
new SelectListItem { Text = Resource.Industry41, Value = "41"},
new SelectListItem { Text = Resource.Industry42, Value = "42"},
new SelectListItem { Text = Resource.Industry43, Value = "43"},
new SelectListItem { Text = Resource.Industry44, Value = "44"},
new SelectListItem { Text = Resource.Industry45, Value = "45"},
new SelectListItem { Text = Resource.Industry46, Value = "46"},
new SelectListItem { Text = Resource.Industry47, Value = "47"},
new SelectListItem { Text = Resource.Industry48, Value = "48"},
new SelectListItem { Text = Resource.Industry49, Value = "49"},
new SelectListItem { Text = Resource.Industry50, Value = "50"},
new SelectListItem { Text = Resource.Industry51, Value = "51"},
new SelectListItem { Text = Resource.Industry52, Value = "52"},
new SelectListItem { Text = Resource.Industry53, Value = "53"},
new SelectListItem { Text = Resource.Industry54, Value = "54"},
new SelectListItem { Text = Resource.Industry55, Value = "55"},
new SelectListItem { Text = Resource.Industry56, Value = "56"},
new SelectListItem { Text = Resource.Industry57, Value = "57"},
new SelectListItem { Text = Resource.Industry58, Value = "58"},
new SelectListItem { Text = Resource.Industry59, Value = "59"},
new SelectListItem { Text = Resource.Industry60, Value = "60"},
new SelectListItem { Text = Resource.Industry61, Value = "61"},
new SelectListItem { Text = Resource.Industry62, Value = "62"},
new SelectListItem { Text = Resource.Industry63, Value = "63"},
new SelectListItem { Text = Resource.Industry64, Value = "64"},
new SelectListItem { Text = Resource.Industry65, Value = "65"},
new SelectListItem { Text = Resource.Industry66, Value = "66"},
new SelectListItem { Text = Resource.Industry67, Value = "67"},
new SelectListItem { Text = Resource.Industry68, Value = "68"},
new SelectListItem { Text = Resource.Industry69, Value = "69"},
new SelectListItem { Text = Resource.Industry70, Value = "70"},
new SelectListItem { Text = Resource.Industry71, Value = "71"},
new SelectListItem { Text = Resource.Industry72, Value = "72"},
new SelectListItem { Text = Resource.Industry73, Value = "73"},
new SelectListItem { Text = Resource.Industry74, Value = "74"},
new SelectListItem { Text = Resource.Industry75, Value = "75"},
new SelectListItem { Text = Resource.Industry76, Value = "76"},
new SelectListItem { Text = Resource.Industry77, Value = "77"}
}, new { @class = "form-control" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.IndustryDescription, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.IndustryDescription, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.IndustryDescription, "", new { @class = "text-danger" })
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.Description, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Description, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Description, "", new { @class = "text-danger" })
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="@Resource.StaticLabelGlobal_Confirm" class="btn btn-primary" />
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "Index", "Profile", new { }, new { @class = "btn btn-default" })
</div>
</div>
}
</div>
<div class="col-md-2"></div>