239 lines
10 KiB
Plaintext
239 lines
10 KiB
Plaintext
@{
|
|
ViewBag.Title = System.Configuration.ConfigurationManager.AppSettings["Title"] + " | Manage User Inventory";
|
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
|
}
|
|
@Html.ValidationSummary(true)
|
|
@model GODATA.Models.ResetPasswordModel
|
|
|
|
<div class="size25 left" id="leftPanel">
|
|
<div class="window">
|
|
<div class="titlebar">
|
|
<div class="title">
|
|
Eicher User List
|
|
</div>
|
|
</div>
|
|
<div class="innerWindow">
|
|
@*<div class="toolbar">
|
|
|
|
<div class="clear"></div>
|
|
</div>*@
|
|
<div class="menubar">
|
|
<div class="searchBox" title="Quick Search">
|
|
<div class="inputBox">
|
|
<input type="text" id="txtSearchUserList" />
|
|
</div>
|
|
<div class="sIcon">
|
|
<div id="btnSearchCancel" style="display: none;">
|
|
<span class="k-icon k-delete Close_Search"></span>
|
|
</div>
|
|
<div id="btnSearch">
|
|
<img border="0" src="@Url.Content("~/Content/images/search-icon.png")" alt="Search"/>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="content overflow withtoolbar" style="top: 31px !important">
|
|
<div id="divVecvUserList">
|
|
@*@{Html.RenderAction("ManageUserInventory_GetVecvUserList", "UserInventory");}*@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="size75 right" id="rightPanel">
|
|
<div class="window">
|
|
<div class="titlebar">
|
|
<div class="title">
|
|
Eicher User Details
|
|
</div>
|
|
</div>
|
|
<div class="innerWindow">
|
|
|
|
<div class="toolbar">
|
|
<button class="button_blue" onclick="addUser()" id="btnAdd" title="Add Eicher user" style="margin-top: 2px; width: auto; height: 24px; overflow: hidden; line-height: 9px; min-width: 53px;">
|
|
Add</button>
|
|
<button class="button_blue" onclick="editUser()" id="btnEdit" title="Edit Eicher user" style="margin-top: 2px; width: auto; height: 24px; overflow: hidden; line-height: 9px; min-width: 53px;">
|
|
Edit</button>
|
|
<button class="button_blue" onclick="deleteUser()" id="btnDelete" title="Edit Eicher user" style="margin-top: 2px; width: auto; height: 24px; overflow: hidden; line-height: 9px; min-width: 53px;">
|
|
Delete</button>
|
|
<button class="button_blue" id="btnResetPwd" onclick="resetUserPassword()" title="Reset user password" style="margin-top: 2px; width: auto; height: 24px; overflow: hidden; line-height: 9px; min-width: 53px;">
|
|
Reset</button>
|
|
<button class="button_blue" id="btnUnlockUser" onclick="UnlockUser()" title="Reset user password" style="margin-top: 2px; width: auto; height: 24px; overflow: hidden; line-height: 9px; min-width: 53px;">
|
|
Unlock</button>
|
|
@*<div class="k-button k-button-icontext Inventory_curdBtn" onclick="addUser();" id="btnAdd"><span class="k-icon k-icon-small k-add"></span>Add</div>*@
|
|
@*<div class="k-button k-button-icontext Inventory_curdBtn" onclick="editBtsDetails()" id="btnEdit"><span class="k-icon k-icon-small k-edit"></span>Edit</div>
|
|
<div class="k-button k-button-icontext Inventory_curdBtn" onclick="deleteBts()" id="btnDelete"><span class="k-icon k-icon-small k-delete"></span>Delete</div>*@
|
|
@*<div id="divExport" class="excelIcon csvIcon" title="Download As CSV" onclick="ExportInventory();" style="top: 0px !important"></div>*@
|
|
</div>
|
|
<div id="dealerResetPwdPopup" style="display:none">
|
|
|
|
@using (Ajax.BeginForm("ManageDealerInventory_ResetDealerPwd", "UserInventory", new AjaxOptions { HttpMethod = "POST", OnSuccess = "onSuccessResetPwd" }, new { id = "resetPasswordForm" }))
|
|
{
|
|
@Html.ValidationSummary(true, "Password change was unsuccessful. Please correct the errors and try again.")
|
|
<div>
|
|
<table class="themeTable" cellpadding="5" cellspacing="0" width="100%">
|
|
<tbody>
|
|
<tr>
|
|
<td class="tableCelllabel">
|
|
<span class="darktxt">
|
|
@Html.LabelFor(model => model.ResetNewPassword)</span>
|
|
</td>
|
|
<td class="tableCellinfo">
|
|
@Html.HiddenFor(model => model.UserName, new { id = "hiddenUserName" })
|
|
@Html.PasswordFor(model => model.ResetNewPassword, new { @class = "k-textbox" })
|
|
@Html.ValidationMessageFor(model => model.ResetNewPassword)
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="tableCelllabel">
|
|
<span class="darktxt">
|
|
@Html.LabelFor(model => model.ResetConfirmPassword)</span>
|
|
</td>
|
|
<td class="tableCellinfo SelectDD">
|
|
@Html.PasswordFor(model => model.ResetConfirmPassword, new { @class = "k-textbox" })
|
|
@Html.ValidationMessageFor(model => model.ResetConfirmPassword)
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<br />
|
|
<div class="CreateWrp">
|
|
<input type="submit" value="Create " class="button_blue" style="margin: 0px; height: 13px; width: auto;" />
|
|
<input type="reset" value="Reset " class="button_blue" style="margin: 0px; height: 13px; width: auto;" />
|
|
<input type="button" value="Cancel " class="button_blue" style="background: #ee2e22 !important; margin: 0px; height: 13px; width: auto;" onclick='closeWindow("#dealerResetPwdPopup")' />
|
|
</div>
|
|
}
|
|
</div>
|
|
|
|
<div id="dealerUnlockPwdPopup" style="display:none">
|
|
|
|
@using (Ajax.BeginForm("ManageDealerInventory_UnlockUser", "UserInventory", new AjaxOptions { HttpMethod = "POST", OnSuccess = "onSuccessUnlockUser" }, new { id = "UnlockUserForm" }))
|
|
{
|
|
@Html.ValidationSummary(true, "Unlock User change was unsuccessful. Please correct the errors and try again.")
|
|
<div>
|
|
<table class="themeTable" cellpadding="5" cellspacing="0" width="100%" style="display:none;">
|
|
<tbody>
|
|
<tr>
|
|
<td class="tableCelllabel">
|
|
<span class="darktxt">
|
|
@Html.LabelFor(model => model.ResetNewPassword)</span>
|
|
</td>
|
|
<td class="tableCellinfo">
|
|
@Html.HiddenFor(model => model.UserName, new { id = "hiddenUserNameUnlock" })
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<br />
|
|
<div class="CreateWrp">
|
|
<input type="submit" value="Ok " class="button_blue" style="margin: 0px; height: 13px; width: auto;" />
|
|
|
|
<input type="button" value="Cancel " class="button_blue" style="background: #ee2e22 !important; margin: 0px; height: 13px; width: auto;" onclick='closeWindow("#dealerUnlockPwdPopup")' />
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="content" style="top: 29px; /*margin-bottom: 37px; margin-top: -7px; */">
|
|
<div id="divVecvUserDetailPanel">
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<link href="~/Content/css/jquery.alerts.css" rel="stylesheet" type="text/css" media="screen" />
|
|
@*<script src="~/Scripts/jquery.validate.min.js"></script>
|
|
<script src="~/Scripts/jquery.unobtrusive-ajax.js"></script>
|
|
<script src="~/Scripts/jquery.ui.draggable.js"></script>
|
|
<script src="~/Scripts/jquery.alerts.js"></script>
|
|
<script src="~/Scripts/Inventory/vecvUserInventory.js"></script>*@
|
|
@Scripts.Render("~/bundles/jsManageUserInventory")
|
|
|
|
<style type="text/css">
|
|
.k-edit-buttons .k-button:hover, .K-btn-active {
|
|
background: -webkit-linear-gradient(top, #e3e3e3, #fcfcfc);
|
|
background: -moz-linear-gradient(top, #e3e3e3, #fcfcfc);
|
|
background: -ms-linear-gradient(top, #e3e3e3, #fcfcfc);
|
|
background: linear-gradient(top, #e3e3e3, #fcfcfc);
|
|
}
|
|
|
|
.Close_Search {
|
|
margin-top: -2px;
|
|
}
|
|
|
|
.sIcon div:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.toolOpener .toolPopupBox {
|
|
top: 25px;
|
|
left: -2px;
|
|
}
|
|
|
|
#btnSearch {
|
|
opacity: 0.70;
|
|
}
|
|
|
|
#btnSearch:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.Inventory_curdBtn {
|
|
height: 20px;
|
|
margin-bottom: -5px;
|
|
margin-left: 2px;
|
|
font-size: 11px;
|
|
line-height: 14px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.k-button {
|
|
background: #fcfcfc;
|
|
background: -webkit-linear-gradient(top, #fcfcfc, #e3e3e3);
|
|
background: -moz-linear-gradient(top, #fcfcfc, #e3e3e3);
|
|
background: linear-gradient(top, #fcfcfc, #e3e3e3);
|
|
color: #505050 !important;
|
|
}
|
|
|
|
.k-button-icontext .k-icon-small {
|
|
vertical-align: top;
|
|
margin-top: -1px !important;
|
|
margin-left: -6px;
|
|
}
|
|
|
|
.k-button:hover {
|
|
background: #e3e3e3;
|
|
background: -webkit-linear-gradient(top, #e3e3e3, #fcfcfc);
|
|
background: -moz-linear-gradient(top, #e3e3e3, #fcfcfc);
|
|
background: linear-gradient(top, #e3e3e3, #fcfcfc);
|
|
}
|
|
|
|
.themeTable tbody td {
|
|
text-align: left !important;
|
|
line-height: 32px;
|
|
}
|
|
|
|
select {
|
|
width: 63%;
|
|
}
|
|
|
|
.themeTable th {
|
|
background: #ee2e22;
|
|
border-top: 1px solid #dedede;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.themeTable th span {
|
|
color: #fff;
|
|
}
|
|
|
|
.structureTD .structureTD:nth-child(odd) {
|
|
}
|
|
</style>
|