init symfony framework #14

This commit is contained in:
ghost 2023-10-02 16:13:55 +03:00
parent 3c233fcfad
commit 380377b27c
114 changed files with 11525 additions and 10998 deletions

View file

@ -0,0 +1,10 @@
{% extends 'default/layout.html.twig' %}
{% block title %}{{ query }} - {{'Search'|trans }} - {{ name }}{% endblock %}
{% block header_search %}
{{ render(controller(
'App\\Controller\\SearchController::module',
{
query : query
}
)) }}
{% endblock %}

View file

@ -0,0 +1,4 @@
<form class="margin-t-8-px" name="search" method="get" action="{{ path('search_index') }}">
<input class="min-width-200-px" type="text" name="query" value="{{ query }}" placeholder="{{'Keyword, file, extension, hash...'|trans }}" />
<input type="submit" value="{{'Search'|trans }}" />
</form>