0

Избавляемся от war

Теперь KinoSearch самодостаточен и может запускаться без внешних веб-контейнеров
This commit is contained in:
2017-12-11 12:17:51 +03:00
parent ef7c7b7a60
commit 6f40475dfb
34 changed files with 541 additions and 413 deletions

View File

@@ -0,0 +1,35 @@
[#ftl]
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="${rutext}">
<meta name="version" content="${version}">
<title>KinoSearch :: ${rutext}</title>
<link rel="icon" type="image/svg+xml" href="/ks3logo.svg" >
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/css/awesome-bootstrap-checkbox.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<script type="text/javascript" src="/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h1 class="title"><a href="/"><img src="/ks3logo.svg"> KinoSearch</a></h1>
<p class="text-center">${rutext}</p>
<form method="get" action="/">
<div class="input-group">
<input class="form-control" type="text" placeholder="Что ищем?" name="search" value="[#if searchtext??]${searchtext}[/#if]"/>
<span class="input-group-btn">
<button class="btn btn-primary" type="submit">Ищи!</button>
</span>
</div>
<div class="checkbox checkbox-primary">
<input type="checkbox" id="strong" name="strong" value="1"[#if strong?? && strong = true] checked[/#if]>
<label for="strong">Точное совпадение</label>
</div>
</form>
<div class="text-center">
<a href="/about.html">О проекте</a> | <a href="mailto:dmitriymx@yandex.ru">Написать отзыв</a>
</div>