. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 87.98.249.37 / Your IP : 216.73.216.208 [ Web Server : Microsoft-IIS/10.0 System : Windows NT NS3076740 10.0 build 17763 (Windows Server 2019) AMD64 User : IWPD_292(growel19p) ( 0) PHP Version : 8.3.12 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/growel.com/httpdocs/GrowelAdmin/ |
Upload File : |
<%@ Page Title="" Language="C#" MasterPageFile="~/GrowelAdmin/Admin.Master" AutoEventWireup="true" CodeBehind="ManageLocations.aspx.cs" Inherits="GrowelWeb.GrowelAdmin.ManageLocations" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script>
function resizeIframe(obj) {
obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h3>Locations</h3>
<div class="row" style="width:100%;">
<div class="btn-danger status" visible="false" runat="server" id="status"></div>
<div class="col-md-4">
<div class="row"style="margin-right:10px;">
<div class="col-md-12" style="margin:5px 0;">
<asp:TextBox ID="txtlocation" CssClass="form-control" runat="server" placeholder="Location"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtlocation"></asp:RequiredFieldValidator>
</div>
<div class="col-md-12" style="margin:5px 0;">
<asp:DropDownList ID="ddltype" runat="server" CssClass="form-control">
<asp:ListItem Value="corporate-office">Corporate Office</asp:ListItem>
<asp:ListItem Value="Plant">Plants</asp:ListItem>
<asp:ListItem Value="service-center">Service Center</asp:ListItem>
<asp:ListItem Value="export">Export</asp:ListItem>
<asp:ListItem Value="Branch">Branch</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="ddltype"></asp:RequiredFieldValidator>
</div>
<div class="col-md-12" style="margin:5px 0;">
<asp:TextBox ID="txtx" runat="server" placeholder="X %" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtx"></asp:RequiredFieldValidator>
</div>
<div class="col-md-12" style="margin:5px 0;">
<asp:TextBox ID="txty" runat="server" placeholder="Y %" CssClass="form-control"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txty"></asp:RequiredFieldValidator>
</div>
<div class="col-md-12" style="margin:5px 0;">
<asp:TextBox ID="txtaddress" runat="server" placeholder="Address" CssClass="form-control" TextMode="MultiLine"></asp:TextBox></div>
<asp:Button ID="btnadd" runat="server" CssClass="btn btn-default" Text="Add location" OnClick="btnadd_Click" />
<hr />
<asp:Repeater ID="dtlstlocations" runat="server">
<ItemTemplate>
<div class="col-md-6">
<div class="thumb" style="font-size:0.85em;">
<b><%#Eval("location") %></b><br />
X - <%#Eval("x").ToString() %> | Y - <%#Eval("y").ToString() %><br />
Type : <%#Eval("location_type").ToString() %><br />
Address: <%#Eval("address").ToString() %></div>
<asp:LinkButton ID="lnkdelete" runat="server" CommandArgument='<%#Eval("id").ToString() %>' OnClick="lnkdelete_Click" OnClientClick="return confirm('Delete This Location?')" Text="Delete" CssClass="btn btn-default"></asp:LinkButton>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
<div class="col-md-8" style="background-color:#fff;">
<iframe src="../Network.aspx" width="100%" frameborder="0" scrolling="no" onload="resizeIframe(this)" />
</div>
</div>
</asp:Content>