layout changes

This commit is contained in:
Thomas 2024-05-19 08:00:18 +02:00
parent e25ac90340
commit f3824010ee
8 changed files with 17 additions and 17 deletions

View file

@ -42,18 +42,18 @@
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-4" style="text-align: center;"> <div class="col-md-4" style="text-align: center;">
<img src="{{ asset('img/FediPlan.png') }}" width="80" style=" border-radius: 5%;margin-top: 10px; margin-bottom: 10px; "><br/> <img src="{{ asset('img/FediPlan.png') }}" width="80" style=" border-radius: 5%;margin-top: 10px; margin-bottom: 10px; "><br/>
FediPlan -{{ "now"|date("Y") }} FediPlan -{{ "now"|date("Y") }}
</div> </div>
<div class="col-4" style="margin-top: 10px; text-align: center;"> <div class="col-md-4" style="margin-top: 10px; text-align: center;">
{{ 'common.author'|trans }}: Thomas<br/> {{ 'common.author'|trans }}: Thomas<br/>
Mastodon: <a href="https://toot.fedilab.app/@apps" target="_blank">@apps</a><br/> Mastodon: <a href="https://toot.fedilab.app/@apps" target="_blank">@apps</a><br/>
Framagit: <a href="https://framagit.org/tom79/" target="_blank">@tom79</a><br/> Framagit: <a href="https://framagit.org/tom79/" target="_blank">@tom79</a><br/>
Codeberg: <a href="https://codeberg.org/tom79/" target="_blank">@tom79</a><br/> Codeberg: <a href="https://codeberg.org/tom79/" target="_blank">@tom79</a><br/>
Github: <a href="https://github.com/stom79/" target="_blank">@stom79</a><br/> Github: <a href="https://github.com/stom79/" target="_blank">@stom79</a><br/>
</div> </div>
<div class="col-4" style="margin-top: 10px; text-align: center;"> <div class="col-md-4" style="margin-top: 10px; text-align: center;">
{{ 'common.license'|trans }}: <a href="https://www.gnu.org/licenses/gpl-3.0.fr.html" target="_blank">GPL 3</a><br/> {{ 'common.license'|trans }}: <a href="https://www.gnu.org/licenses/gpl-3.0.fr.html" target="_blank">GPL 3</a><br/>
<a href="https://framagit.org/tom79/fediplan" target="_blank">{{ 'common.source_code'|trans}}</a> <a href="https://framagit.org/tom79/fediplan" target="_blank">{{ 'common.source_code'|trans}}</a>
</div> </div>

View file

@ -6,7 +6,7 @@
{% include 'nav.html.twig' %} {% include 'nav.html.twig' %}
<div class="row"> <div class="row">
<div class="col-12" style="text-align: center;line-height: normal;margin-top: 100px;"> <pre> <div class="col-md-12" style="text-align: center;line-height: normal;margin-top: 100px;"> <pre>
██╗ ██╗ ██████╗ ██╗ ██╗ ██╗ ██╗ ██████╗ ██╗ ██╗
██║ ██║██╔═████╗██║ ██║ ██║ ██║██╔═████╗██║ ██║
███████║██║██╔██║███████║ ███████║██║██╔██║███████║
@ -19,7 +19,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col-12" style="text-align: center"> <div class="col-md-12" style="text-align: center">
--> <a href="{{ path('index') }}">200</a> <-- --> <a href="{{ path('index') }}">200</a> <--
</div> </div>
</div> </div>

View file

@ -6,7 +6,7 @@
{% include 'nav.html.twig' %} {% include 'nav.html.twig' %}
<div class="row"> <div class="row">
<div class="col-12" style="text-align: center;line-height: normal;margin-top: 100px;"> <pre> <div class="col-md-12" style="text-align: center;line-height: normal;margin-top: 100px;"> <pre>
███████╗ ██████╗ ██████╗ ███████╗ ██████╗ ██████╗
██╔════╝██╔═████╗██╔═████╗ ██╔════╝██╔═████╗██╔═████╗
███████╗██║██╔██║██║██╔██║ ███████╗██║██╔██║██║██╔██║
@ -18,7 +18,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col-12" style="text-align: center"> <div class="col-md-12" style="text-align: center">
--> <a href="{{ path('index') }}">200</a> <-- --> <a href="{{ path('index') }}">200</a> <--
</div> </div>
</div> </div>

View file

@ -2,7 +2,7 @@
{% for status in statuses %} {% for status in statuses %}
<div class="row" id="message_container_{{ status.getId() }}" style="margin-bottom: 20px;"> <div class="row" id="message_container_{{ status.getId() }}" style="margin-bottom: 20px;">
<div class="col-8"> <div class="col-md-8">
<div class="card"> <div class="card">
<div class="card-horizontal" style=" display: flex;flex: 1 1 auto;"> <div class="card-horizontal" style=" display: flex;flex: 1 1 auto;">
<div class="img-square-wrapper"> <div class="img-square-wrapper">

View file

@ -13,20 +13,20 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col-8 alert alert-primary" role="alert"> <div class="col-md-8 alert alert-primary" role="alert">
{{ 'page.about.data'|trans |raw}} {{ 'page.about.data'|trans |raw}}
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-8 alert alert-success" role="alert"> <div class="col-md-8 alert alert-success" role="alert">
{{ 'page.about.issues'|trans |raw}} {{ 'page.about.issues'|trans |raw}}
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-8 alert alert-info" role="alert"> <div class="col-md-8 alert alert-info" role="alert">
You can help to translate the project into your language with <b>Crowdin</b> at <a title="Crowdin" target="_blank" href="https://crowdin.com/project/fediplan"><img src="https://badges.crowdin.net/fediplan/localized.svg"></a> You can help to translate the project into your language with <b>Crowdin</b> at <a title="Crowdin" target="_blank" href="https://crowdin.com/project/fediplan"><img src="https://badges.crowdin.net/fediplan/localized.svg"></a>
</div> </div>
</div> </div>

View file

@ -31,7 +31,7 @@
</div> </div>
{% elseif flow.getCurrentStepNumber() == 2 %} {% elseif flow.getCurrentStepNumber() == 2 %}
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-md-6">
<div class="alert alert-warning"> <div class="alert alert-warning">
{{ 'messages.login_authorization'|trans }} {{ 'messages.login_authorization'|trans }}
</div> </div>
@ -62,7 +62,7 @@
{% endif %} {% endif %}
{{ form_widget(form) }} {{ form_widget(form) }}
<div class="row"> <div class="row">
<div class="col-2"> <div class="col-md-2">
<input type="submit" class="btn btn-primary btn-block btn-flat" value="{{ 'common.next'|trans }}"/> <input type="submit" class="btn btn-primary btn-block btn-flat" value="{{ 'common.next'|trans }}"/>
</div> </div>
</div> </div>

View file

@ -28,7 +28,7 @@
{{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }} {{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }}
<div class="row" style="margin-top: 30px;"> <div class="row" style="margin-top: 30px;">
<div class="col-12"> <div class="col-md-12">
<div class="form-group has-feedback"> <div class="form-group has-feedback">
{{ form_label(form.content_warning) }} {{ form_label(form.content_warning) }}
{{ form_widget(form.content_warning, {'attr': {'class': 'form-control', 'data-emojiable':'true'}}) }} {{ form_widget(form.content_warning, {'attr': {'class': 'form-control', 'data-emojiable':'true'}}) }}
@ -418,14 +418,14 @@
var message = "{{ 'common.delete'|trans }}"; var message = "{{ 'common.delete'|trans }}";
var content; var content;
content = ' <div class="row" id="media_container_'+data.id+'">\n' + content = ' <div class="row" id="media_container_'+data.id+'">\n' +
' <div class="col-4">\n' + ' <div class="col-md-4">\n' +
' <img src="'+data.preview_url+'" style="width:100%;max-width:200px;" id="media_preview_'+data.id+'"/>\n' + ' <img src="'+data.preview_url+'" style="width:100%;max-width:200px;" id="media_preview_'+data.id+'"/>\n' +
' </div>\n' + ' </div>\n' +
' <div class="col-6">\n' + ' <div class="col-6">\n' +
' <textarea name="media_description_'+data.id+'" class="form-control"></textarea>\n' + ' <textarea name="media_description_'+data.id+'" class="form-control"></textarea>\n' +
' </div>\n' + ' </div>\n' +
' <input type="hidden" name="media_id_'+data.id+'" value="'+data.id+'"/>\n' + ' <input type="hidden" name="media_id_'+data.id+'" value="'+data.id+'"/>\n' +
' <div class="col-2">\n' + ' <div class="col-md-2">\n' +
' <button type="button" class="btn btn-danger delete_media" data-id="'+data.id+'">\n' + ' <button type="button" class="btn btn-danger delete_media" data-id="'+data.id+'">\n' +
' <i class="glyphicon glyphicon-trash"></i>\n' + ' <i class="glyphicon glyphicon-trash"></i>\n' +
' <span>'+message+'</span>\n' + ' <span>'+message+'</span>\n' +

View file

@ -9,7 +9,7 @@
<div class="row container"> <div class="row container">
<div class="col-12" id="content"></div> <div class="col-md-12" id="content"></div>
</div> </div>
<div class="row container hide" id="loader" style="text-align: center;margin-top: 50px;"><div class="lds-ring"><div></div><div></div><div></div><div></div></div></div> <div class="row container hide" id="loader" style="text-align: center;margin-top: 50px;"><div class="lds-ring"><div></div><div></div><div></div><div></div></div></div>
<div class="row hide" id="no_content" style="margin-top: 50px;"> <div class="row hide" id="no_content" style="margin-top: 50px;">