"Форма поиска по новостям"
Bootstrap 3.3.0 Snippet by gad26032

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <form class="form-horizontal"> <fieldset> <!-- Form Name --> <legend>Поиск по новостям</legend> <!-- Select Basic --> <div class="form-group"> <label class="col-md-4 control-label" for="date_from">Дата начала периода</label> <div class="col-md-4"> <select id="date_from" name="date_from" class="form-control"> <option value="1">Дата 1</option> </select> </div> </div> <!-- Select Basic --> <div class="form-group"> <label class="col-md-4 control-label" for="date_end">Дата окончания периода</label> <div class="col-md-4"> <select id="date_end" name="date_end" class="form-control"> <option value="1">Дата 1</option> </select> </div> </div> <!-- Appended Input--> <div class="form-group"> <label class="col-md-4 control-label" for="word">Слово / фраза</label> <div class="col-md-4"> <div class="input-group"> <input id="word" name="word" class="form-control" placeholder="Введите слово или фразу" type="text"> <span class="input-group-addon">Добавить</span> </div> </div> </div> <!-- Multiple Radios --> <div class="form-group"> <label class="col-md-4 control-label" for="sort">Сортировка</label> <div class="col-md-4"> <div class="radio"> <label for="sort-0"> <input type="radio" name="sort" id="sort-0" value="1" checked="checked"> по дате </label> </div> <div class="radio"> <label for="sort-1"> <input type="radio" name="sort" id="sort-1" value="2"> по точности совпадения </label> </div> <div class="radio"> <label for="sort-2"> <input type="radio" name="sort" id="sort-2" value="3"> по источникам </label> </div> </div> </div> <!-- Multiple Radios --> <div class="form-group"> <label class="col-md-4 control-label" for="use_morphology">Использовать морфологию</label> <div class="col-md-4"> <div class="radio"> <label for="use_morphology-0"> <input type="radio" name="use_morphology" id="use_morphology-0" value="1" checked="checked"> Да </label> </div> <div class="radio"> <label for="use_morphology-1"> <input type="radio" name="use_morphology" id="use_morphology-1" value="0"> Нет </label> </div> </div> </div> <!-- Prepended checkbox --> <div class="form-group"> <label class="col-md-4 control-label" for="word_distance">Учитывать расстояние между словами в фразе</label> <div class="col-md-4"> <div class="input-group"> <span class="input-group-addon"> <input type="checkbox"> </span> <input id="word_distance" name="word_distance" class="form-control" type="text" placeholder="Введите целое число"> </div> </div> </div> <!-- Button --> <div class="form-group"> <label class="col-md-4 control-label" for="and">Добавить условие "И"</label> <div class="col-md-4"> <button id="and" name="and" class="btn btn-success">"И"</button> </div> </div> <!-- Button --> <div class="form-group"> <label class="col-md-4 control-label" for="or">Добавить условие "ИЛИ"</label> <div class="col-md-4"> <button id="or" name="or" class="btn btn-success">"ИЛИ"</button> </div> </div> <!-- Button --> <div class="form-group"> <label class="col-md-4 control-label" for="not">Добавить условие "НЕ"</label> <div class="col-md-4"> <button id="not" name="not" class="btn btn-success">"НЕ"</button> </div> </div> <!-- Textarea --> <div class="form-group"> <label class="col-md-4 control-label" for="query">Запрос</label> <div class="col-md-4"> <textarea class="form-control" id="query" name="query">Формируется автоматически</textarea> </div> </div> <!-- Button (Double) --> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Double Button</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-success">Good Button</button> <button id="button2id" name="button2id" class="btn btn-danger">Scary Button</button> </div> </div> </fieldset> </form>

Related: See More


Questions / Comments: