98 lines
4.5 KiB
Plaintext
98 lines
4.5 KiB
Plaintext
@model Weee.ViewModels.ProfileViewModel
|
|
|
|
@{
|
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
|
}
|
|
|
|
@section PageStyles {
|
|
@Styles.Render("~/account/css")
|
|
@Styles.Render("~/bootstrap/css")
|
|
<link type="text/css" rel="stylesheet" href="~/Browser_Local/css/home.css" />
|
|
<link type="text/css" rel="stylesheet" href="~/Browser_Local/css/html5-doctor-reset-stylesheet.css" />
|
|
}
|
|
|
|
@section PageScripts {
|
|
@Scripts.Render("~/jQuery")
|
|
@Scripts.Render("~/bootstrap")
|
|
}
|
|
|
|
<div class="col-md-2"></div>
|
|
<div class="col-md-8 form-horizontal">
|
|
@if (ViewBag.SuccessMessage != null)
|
|
{
|
|
<div class="alert alert-success" style="margin-top: 24px;" role="alert">
|
|
@ViewBag.SuccessMessage @Resource.Click @Html.ActionLink(Resource.Here, "WeeeCarbonFootprint", "home", new { }, new { }) @Resource.ReturnToLcaPage
|
|
</div>
|
|
}
|
|
@using (Html.BeginForm())
|
|
{
|
|
@Html.AntiForgeryToken()
|
|
|
|
<h1 style="margin-top: 24px;">@Resource.StaticLabelUserInfo</h1>
|
|
|
|
<hr />
|
|
<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.Email, new { @class = "control-label col-md-2" })
|
|
<div class="col-md-10">
|
|
@Html.EditorFor(model => model.Email, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.Email, "", new { @class = "text-danger" })
|
|
</div>
|
|
</div>
|
|
|
|
@if (ViewBag.SynergerOn)
|
|
{
|
|
<div class="form-group">
|
|
<label class="control-label col-md-2">Synerger GroupId</label>
|
|
<div class="col-md-10">
|
|
@Html.EditorFor(model => model.SynergerGroupId, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.SynergerGroupId, "", new { @class = "text-danger" })
|
|
</div>
|
|
</div>
|
|
}
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.Job, new { @class = "control-label col-md-2" })
|
|
<div class="col-md-10">
|
|
@Html.EditorFor(model => model.Job, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.Job, "", new { @class = "text-danger" })
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.PhoneNumber, new { @class = "control-label col-md-2" })
|
|
<div class="col-md-10">
|
|
@Html.EditorFor(model => model.PhoneNumber, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.PhoneNumber, "", new { @class = "text-danger" })
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.MobileNumber, new { @class = "control-label col-md-2" })
|
|
<div class="col-md-10">
|
|
@Html.EditorFor(model => model.MobileNumber, new { htmlAttributes = new { @class = "form-control" } })
|
|
@Html.ValidationMessageFor(model => model.MobileNumber, "", new { @class = "text-danger" })
|
|
</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.StaticLabelChangePassword, "Changepassword", "Profile", new { @class = "btn btn-default" })
|
|
@Html.ActionLink(Resource.EditCompany, "Company", "Profile", new { @class = "btn btn-default" })
|
|
@Html.ActionLink(Resource.StaticLabelSettings, "Settings", "Profile", new { @class = "btn btn-default" })
|
|
<a href="@ViewBag.baseUrl/app" class="btn btn-default">@Resource.ReturnToLcaPage</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="col-md-2"></div>
|