-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
124 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>Все примеры</title> | ||
|
||
<link href="../jquery.kladr.min.css" rel="stylesheet"> | ||
<link href="css/all.css" rel="stylesheet"> | ||
|
||
<script src="js/lib/jquery-1.11.1.min.js" type="text/javascript"></script> | ||
<script src="../jquery.kladr.min.js" type="text/javascript"></script> | ||
<script src="js/all.js" type="text/javascript"></script> | ||
|
||
<script src="http://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script> | ||
</head> | ||
<body> | ||
<div id="simple"> | ||
<div class ="address"> | ||
<h1>Простой пример</h1> | ||
<div class="field"> | ||
<input name="city" type="text" value="" placeholder="Город"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="one_string"> | ||
<div class ="address"> | ||
<h1>Ввод адреса одной строкой</h1> | ||
<div class="field"> | ||
<input name="address" type="text" value="" placeholder="Адрес"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="form"> | ||
<div class="address"> | ||
<h1>Форма для ввода адреса</h1> | ||
<form class="js-form-address"> | ||
<div class="field"> | ||
<label>Регион</label> | ||
<input type="text" name="region"> | ||
</div> | ||
<div class="field"> | ||
<label>Район</label> | ||
<input type="text" name="district"> | ||
</div> | ||
<div class="field"> | ||
<label>Город</label> | ||
<input type="text" name="city"> | ||
</div> | ||
<div class="field"> | ||
<label>Улица</label> | ||
<input type="text" name="street"> | ||
</div> | ||
<div class="field"> | ||
<label>Дом</label> | ||
<input type="text" name="building"> | ||
</div> | ||
<div class="tooltip" style="display: none;"><b></b><span></span></div> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<div id="form_with_map"> | ||
<div class="address"> | ||
<h1>Форма для ввода адреса с картой</h1> | ||
<div class="col-1"> | ||
<form class="js-form-address"> | ||
<div class="field"> | ||
<label>Регион</label> | ||
<input name="region" type="text"> | ||
</div> | ||
<div class="field"> | ||
<label>Район</label> | ||
<input name="district" type="text"> | ||
</div> | ||
<div class="field"> | ||
<label>Город</label> | ||
<input name="city" type="text"> | ||
</div> | ||
<div class="field"> | ||
<label>Улица</label> | ||
<input name="street" type="text"> | ||
</div> | ||
<div class="field"> | ||
<label>Номер дома</label> | ||
<input name="building" type="text"> | ||
</div> | ||
</form> | ||
<div class="addition"> | ||
<div class="block"> | ||
<p class="title">Текстовое представление адреса</p> | ||
<p id="address" class="value"></p> | ||
</div> | ||
<div class="block"> | ||
<p class="title">Выбранный объект</p> | ||
<ul class="js-log"> | ||
<li id="id" style="display: none;"><span class="name">Код:</span> <span class="value"></span></li> | ||
<li id="zip" style="display: none;"><span class="name">Почтовый индекс:</span> <span class="value"></span></li> | ||
<li id="name" style="display: none;"><span class="name">Название:</span> <span class="value"></span></li> | ||
<li id="type" style="display: none;"><span class="name">Подпись:</span> <span class="value"></span></li> | ||
<li id="typeShort" style="display: none;"><span class="name">Подпись коротко:</span> <span class="value"></span></li> | ||
<li id="contentType" style="display: none;"><span class="name">Тип объекта:</span> <span class="value"></span> | ||
<li id="okato" style="display: none;"><span class="name">ОКАТО:</span> <span class="value"></span> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-2"> | ||
<div id="map" class="panel-map"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters