@{
    ViewBag.Title = "Map";
}

<div class="wrapper">
    <!-- боковая левая панель -->
    <nav id="sidebar-left" class="active rounded-right">
        <div id="sidebar-left-header" class="sidebar-left-header display-3 rounded-right">
            <h2 id="settlement-title" class="text-center"></h2>
            <label id="settlement-url" hidden>111111</label>
            <div class="d-flex justify-content-center  btn-group w-100" role="group">
                <button id="sidebar-left-close" class="btn btn-secondary" type="button">Скрыть<br>панель</button>
                <button id="add-to-export-group" class="btn btn-secondary" type="button">Добавить<br>в экспорт</button>
                
            </div>
        </div>
        <div id="sidebar-left-text" class="sidebar-left-text">
        </div>
    </nav>
</div>

<div class="wrapper">
    <!-- боковая правая панель -->
    <nav id="sidebar-right" class="active rounded-left">
        <div id="sidebar-right-header" class="sidebar-right-header display-3 rounded-left">
            <h2 id="sidebar-right-header-title" class="text-center"></h2>
            <div class="d-flex justify-content-center  btn-group w-100" role="group">
                <button id="sidebar-right-close" class="btn btn-secondary" type="button">Скрыть<br>панель</button>
                <button hidden id="export-to-word" class="btn btn-secondary" type="button">Экспорт<br>в Word</button>
                <button hidden id="export-to-excel" class="btn btn-secondary" type="button">Экспорт<br>в Excel</button>
                <button hidden id="import-button" class="btn btn-secondary" type="button">Отправить<br>данные</button>
            </div>
        </div>
        <div id="sidebar-right-text" class="sidebar-right-text">
            <div hidden id="sidebar-right-text-export"></div>
            <div hidden id="sidebar-right-text-import">
                <p>тут импорт</p>
            </div>
        </div>
    </nav>
</div>

<div class="row">
    <div class="input-group mt-3 mb-2 col-md-6">
        <span class="input-group-btn">
            <button id="buttonSearch" class="btn btn-secondary" type="button">Найти</button>
        </span>
        <input id="inputName" type="text" class="form-control" placeholder="Введите название">
    </div>
    <div class="btn-group mt-3 mb-2 col-md-6" role="group">
        <button id="sidebar-right-export" type="button" class="btn btn-secondary">Экспорт</button>
        @if ((bool)ViewBag.isAuth)
        {
            <button id="sidebar-right-import" type="button" class="btn btn-secondary">Импорт</button>
        }
    </div>
</div>
<div id="slider"></div>

<div class="input-group w-100 mb-3 mt-1">
    <div class="input-group-prepend">
        <span id="slider-label-min" class="input-group-text tooltip-test" title="мин год">1590</span>
    </div>
    <input id="inputMinYear" type="text" class="form-control tooltip-test" placeholder="Нижняя граница поиска (год)" title="Выбор определенного года на временной линии">
    <input id="inputMaxYear" type="text" class="form-control tooltip-test" placeholder="Верхняя граница поиска (год)" title="Выбор определенного года на временной линии">
    <div class="input-group-append">
        <span id="slider-label-max" class="input-group-text tooltip-test" title="макс год">2019</span>
    </div>
</div>

<div id="map" style="width: 100%; height: 1000px; padding-left: 0px; "></div>
<script>
    var Test = '';
</script>
@if ((bool)ViewBag.isAuth)
{
    <script>
        Test = '<p>111111</p>';
    </script>
}

<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU&amp;apikey=0ea4f7d6-01f0-471d-b717-ada9d94faa49&lang=ru_RU" type="text/javascript"></script>
@section Scripts {@Scripts.Render("~/Scripts/SiteScripts/AjaxQuery.js",
"~/Scripts/SiteScripts/Events.js",
"~/Scripts/SiteScripts/Output.js",
"~/Scripts/SiteScripts/Init.js")}

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" />
<link rel="stylesheet" href="http://bootstraptema.ru/plugins/2018/irs/ion.rangeSlider.css" />
<link rel="stylesheet" href="http://bootstraptema.ru/plugins/2018/irs/ion.rangeSlider.skin.css" />
