Выделение поисковой формы как компонента
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
[#ftl]
|
||||
[#include "header.inc.ftl"]
|
||||
[#include "search.comp.ftl"]
|
||||
<hr>
|
||||
|
||||
<h3><b>KinoSearch</b> - это онлайн-кинотеатр <i><u>без рекламы</u></i>.</h3>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[#ftl]
|
||||
[#include "header.inc.ftl"]
|
||||
[#include "search.comp.ftl"]
|
||||
<hr>
|
||||
|
||||
<div class="news">
|
||||
|
||||
@@ -7,16 +7,4 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/ks3logo.svg" >
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1 class="title"><a href="/"><img src="/ks3logo.svg"> KinoSearch</a></h1>
|
||||
<br>
|
||||
<form method="get" action="/">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">Найти:</span>
|
||||
<input class="form-control" type="text" placeholder="Что ищем?" name="search"/>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="submit">Ищи!</button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<div class="minimenu"><a href="/blog.html">мини-блог</a> | <a href="/about.html">о сервисе</a></div>
|
||||
<div class="container">
|
||||
@@ -1,3 +1,6 @@
|
||||
[#ftl]
|
||||
[#include "header.inc.ftl"]
|
||||
<table class="table ks3search">
|
||||
<tr><td>[#include "search.comp.ftl"]</td></tr>
|
||||
</table>
|
||||
[#include "fother.inc.ftl"]
|
||||
@@ -0,0 +1,12 @@
|
||||
<h1 class="title"><a href="/"><img src="/ks3logo.svg"> KinoSearch</a></h1>
|
||||
<br>
|
||||
<form method="get" action="/">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">Найти:</span>
|
||||
<input class="form-control" type="text" placeholder="Что ищем?" name="search"/>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-primary" type="submit">Ищи!</button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<div class="minimenu"><a href="/blog.html">мини-блог</a> | <a href="/about.html">о сервисе</a></div>
|
||||
@@ -16,6 +16,7 @@ body {
|
||||
vertical-align: bottom;
|
||||
height: 1.119em;
|
||||
display: inline-block;
|
||||
margin-bottom: .2em;
|
||||
}
|
||||
|
||||
.title a {
|
||||
@@ -39,4 +40,15 @@ hr {
|
||||
|
||||
.news .row {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.ks3search.table {
|
||||
height: 100%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.ks3search.table > tr > td,
|
||||
.ks3search.table > tbody > tr > td {
|
||||
vertical-align: middle;
|
||||
padding-bottom: 15vh;
|
||||
}
|
||||
Reference in New Issue
Block a user