Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
mapqa_bak
/
mapqa
/
Views
/
Map
/
Edit File Name :
Map.cshtml
@model RER_Project.BusinessLayer.ViewModel.MapVM @{ ViewBag.Title = "Map"; Layout = "~/Views/Shared/_Layout.cshtml"; } <head> @*<link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" integrity="sha512-M2wvCLH6DSRazYeZRIm1JnYyh22purTM+FDB5CsyxtQJYeKq83arPe5wgbNmcFXGqiSH2XR8dT/fJISVA1r/zQ==" crossorigin="" /> <script src="https://unpkg.com/leaflet@1.2.0/dist/leaflet.js" integrity="sha512-lInM/apFSqyy1o6s89K4iQUKg6ppXEgsVxT35HbzUupEVRh2Eu9Wdl4tHj7dZO0s1uvplcYGmt3498TtHq+log==" crossorigin=""></script>*@ <link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ==" crossorigin="" /> <link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.3.0/dist/MarkerCluster.css" /> <link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.3.0/dist/MarkerCluster.Default.css" /> <script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw==" crossorigin=""></script> <script src="https://unpkg.com/leaflet.markercluster@1.3.0/dist/leaflet.markercluster.js"></script> <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script> </head> <style> .leaflet-popup-content-wrapper, .leaflet-popup-tip { width: 500px; } .leaflet-popup-content-wrapper .table { border: 1px solid #ccc; border-top: none; margin-bottom: 0; } .leaflet-popup-content-wrapper .table > tbody > tr > td { border-top: none; } .leaflet-popup-content { width: auto !important; } .leaflet-popup-content .tab-content { border: 1px solid #ccc; border-top: none; padding: 15px; } .tab-sub-content .list-style2 li span { color: #777777; } .leaflet-popup-tip-container { display: none; } .leaflet-popup { left: -265px !important; bottom: -60px !important; } .legend { text-align: left; line-height: 18px; color: #555; } .legend i { width: 18px; height: 18px; float: left; margin-right: 8px; opacity: 0.7; } .legend1 { text-align: left; line-height: 18px; color: #555; } .legend1 i { width: 18px; height: 18px; float: left; margin-right: 8px; opacity: 0.7; } .image-block { background-size: cover; background-position: center; } .visibility .popupLink { display: none; } .popupLink { border: 8px solid #eae9e9 !important; padding: 10px !important; height: 100%; min-height: 200px; color: #ffffff; cursor: pointer; } .popupLink .centered-block { position: absolute; bottom: 5px; right: 10px; left: auto; } .popupLink label { position: absolute; text-shadow: 0 0px 2px rgba(0,0,0,0.9); } .list-style1 li, .list-style2 li { margin-bottom: 10px; } .list-style2 b { display: inline-block; padding-right: 5px; } .info { padding: 6px 8px; background: white; background: rgba(255,255,255,0.8); box-shadow: 0 0 15px rgba(0,0,0,0.2); border-radius: 5px; font-size: 12px; font-weight: 800; } .info2 { padding: 6px 8px; background: white; background: rgba(255,255,255,0.8); box-shadow: 0 0 15px rgba(0,0,0,0.2); border-radius: 5px; font-size: 14px; } .btn { border-radius: 0px; } .column { float: left; width: 49%; margin: 5px; } /* Clear floats after the columns */ .row:after { content: ""; display: table; clear: both; } html, body, #map, .row-fluid { height: 100%; } #map { width: 100%; border-radius: 15px; border: solid 1px black; } .btnStyle { cursor: pointer; border-radius: 15px; background-color: #4D90FE; background-image: -moz-linear-gradient(center top, #4D90FE, #4787ED); border: 1px solid #3079ED; color: #FFFFFF; padding: 4px; margin-top: 80px; margin-bottom: 4px; margin-left: 4px; width: 5% } .lblStyle { color: red; padding: 4px; margin-top: 4px; margin-bottom: 4px; width: 100%; font-weight: bold; } </style> <div class="wrapper wrapper-content animated fadeInRight" style="padding:0px 0px 0px"> <div class="row wrapper border-bottom white-bg page-heading" > <div class="col-md-12"> <ol class="breadcrumb"> <li class="active"> <strong>MAP Dashboard</strong> </li> </ol> </div> </div> <br /> <div class="row"> <div class="col-lg-12"> <div class="ibox float-e-margins"> <div class="ibox-content"> <form id="CreateUserForm"> <div id="eror_msg"></div> <div class="row"> <div class="form-group col-md-6"> <label><strong>Commodity </strong></label> <select type="text" class="form-control required" name="CommodityId" id="CommodityId" data-api-selected-value="" data-api="/commodity/select"> </select> </div> <div class="col-md-1"> <label class="align-label-btm"> </label> <button type="button" id="search" name="search" class="btn btn-primary center-orientation"><i class="fa fa-search" aria-hidden="true"></i></button> </div> </div> <hr /> <div class="row"> <div class=""> @*<label><b>Province 1</b></label>*@ <div id="map1" style="height:700px;"> <div class="span9" style="height:100%"> <input type="button" id="Btn3" value="Home" onclick="refreshMap1()" class="btnStyle span3" /> </div> </div> </div> @*<div class="column"> <label><b>Province 2</b></label> <div id="map2" style="height:730px;"></div> </div>*@ </div> </form> </div> <div id="loadPartialView"> </div> </div> </div> </div> </div> <script type="text/javascript"> $(document).ready(function () { window.initializeSelectApis(); window.initializeCascadeLocation(); }); $(function () { var id = $('#CommodityId option:selected').val(); WorkForce.loader.show(); loadDashboard(); $("#search").off("click").on("click", function () { id = $('#CommodityId option:selected').val(); WorkForce.loader.show(); loadDashboard(); var commoditySelect = document.getElementById('CommodityId'); commoditySelect.setAttribute('data-api-selected-value', id); // Pesky birds }) function loadDashboard() { $('#loadPartialView').load("/maps/search?commodityId=" + id, function (response, status, xhr) { if (status == "error") { var msg = "Sorry but there was an error: "; ShowMessage("error", "error", msg + xhr.status + " " + xhr.statusText); }; WorkForce.loader.hide(); }); } }); </script>
Save