mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
update page form dependencies #19
This commit is contained in:
parent
8df29ef605
commit
c0cc029350
22 changed files with 1049 additions and 102 deletions
2
templates/default/page/info.html.twig
Normal file
2
templates/default/page/info.html.twig
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{% extends 'default/layout.html.twig' %}
|
||||
{% block title %}{{ title }} - {{ name }}{% endblock %}
|
||||
|
|
@ -10,14 +10,14 @@
|
|||
<label for="locale">
|
||||
{{'Content language'|trans }}
|
||||
</label>
|
||||
<sub class="opacity-0 parent-hover-opacity-09" title="{{ form.locale.placeholder }}">
|
||||
<sub class="opacity-0 parent-hover-opacity-09" title="{{ form.locale.attribute.placeholder }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" class="bi bi-info-circle-fill" viewBox="0 0 16 16">
|
||||
<path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/>
|
||||
</svg>
|
||||
</sub>
|
||||
<select class="width-100 margin-t-8-px" type="text" name="locale" id="locale">
|
||||
{% for locale in locales %}
|
||||
{% if locale == form.locale.value %}
|
||||
{% if locale == form.locale.attribute.value %}
|
||||
<option value="{{ locale }}" selected="selected">
|
||||
{{ locale|locale_name(locale)|u.title }}
|
||||
</option>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
<div class="margin-y-16-px">
|
||||
<label for="locales">
|
||||
{{'Content language'|trans }}
|
||||
{{'Contains language'|trans }}
|
||||
</label>
|
||||
<sub class="opacity-0 parent-hover-opacity-09" title="{{ form.locales.attribute.placeholder }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@
|
|||
</a>
|
||||
{% endif %}
|
||||
#}
|
||||
{% if route == 'page_submit' %}
|
||||
{% if route == 'page_submit' or route == 'torrent_submit' %}
|
||||
<span class="padding-x-16-px padding-y-8-px display-block background-color-green cursor-default text-color-white">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
|
||||
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3v-3z"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue