mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 13:41:51 +02:00
Release 1.2.2
This commit is contained in:
parent
524917e7ba
commit
41bf64d7b0
5 changed files with 55 additions and 53 deletions
2
public/css/bootstrap-toggle.min.css
vendored
2
public/css/bootstrap-toggle.min.css
vendored
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright Notice
|
/* Copyright Notice
|
||||||
* bootstrap5-toggle v5.1.0
|
* bootstrap5-toggle v5.1.1
|
||||||
* https://palcarazm.github.io/bootstrap5-toggle/
|
* https://palcarazm.github.io/bootstrap5-toggle/
|
||||||
* @author 2011-2014 Min Hur (https://github.com/minhur)
|
* @author 2011-2014 Min Hur (https://github.com/minhur)
|
||||||
* @author 2018-2019 Brent Ely (https://github.com/gitbrent)
|
* @author 2018-2019 Brent Ely (https://github.com/gitbrent)
|
||||||
|
|
4
public/js/bootstrap-toggle.min.js
vendored
4
public/js/bootstrap-toggle.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
||||||
<h1>{{ 'common.about'|trans }}</h1>
|
<h1>{{ 'common.about'|trans }}</h1>
|
||||||
|
|
||||||
<div class="row ">
|
<div class="row ">
|
||||||
<div class="col-8 alert alert-secondary" role="alert">
|
<div class="col-md-8 alert alert-secondary" role="alert">
|
||||||
{{ 'page.about.scheduling'|trans |raw}}
|
{{ 'page.about.scheduling'|trans |raw}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
{{ form_errors(form) }}
|
{{ form_errors(form) }}
|
||||||
{% if flow.getCurrentStepNumber() == 1 %}
|
{% if flow.getCurrentStepNumber() == 1 %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class=" col-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group has-feedback">
|
<div class="form-group has-feedback">
|
||||||
{{ form_label(form.host) }}
|
{{ form_label(form.host) }}
|
||||||
<div class="input-group mb-3">
|
<div class="input-group mb-3">
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
<blockquote class="blockquote text-center" style="margin-top: 50px;">
|
<blockquote class="blockquote text-center" style="margin-top: 50px;">
|
||||||
<p class="mb-0">{{ 'page.index.about'|trans |raw}}</p>
|
<p class="mb-0">{{ 'page.index.about'|trans |raw}}</p>
|
||||||
<p>{{ 'page.index.data'|trans |raw}}</p>
|
<p>{{ 'page.index.data'|trans |raw}}</p>
|
||||||
<footer class="blockquote-footer">FediPlan 1.2.1</footer>
|
<footer class="blockquote-footer">FediPlan 1.2.2</footer>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
{{ form_end(form) }}
|
{{ form_end(form) }}
|
||||||
|
|
|
@ -54,13 +54,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-4 col-4" style="margin-top: 20px;">
|
<div class="col-md-4" style="margin-top: 20px;">
|
||||||
<div class="form-inline has-feedback">
|
<div class="form-inline has-feedback">
|
||||||
<label for="count">{{ 'common.counter'|trans }}</label> <span id="count" >0</span>
|
<label for="count">{{ 'common.counter'|trans }}</label> <span id="count" >0</span>
|
||||||
/{{ instanceConfiguration.statuses.maxCharacters }}
|
/{{ instanceConfiguration.statuses.maxCharacters }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class=" col-md-4 col-4" style="margin-top: 20px;">
|
<div class=" col-md-4" style="margin-top: 20px;">
|
||||||
<div class="form-inline has-feedback">
|
<div class="form-inline has-feedback">
|
||||||
{{ form_label(form.visibility) }}
|
{{ form_label(form.visibility) }}
|
||||||
{{ form_widget(form.visibility, {'attr': {'class': 'form-control'}}) }}
|
{{ form_widget(form.visibility, {'attr': {'class': 'form-control'}}) }}
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class=" col-md-4 col-4" style="margin-top: 20px;">
|
<div class=" col-md-4" style="margin-top: 20px;">
|
||||||
<div class="form-inline has-feedback">
|
<div class="form-inline has-feedback">
|
||||||
{{ form_label(form.sensitive) }}
|
{{ form_label(form.sensitive) }}
|
||||||
{{ form_widget(form.sensitive, {'attr': {'class': 'form-control','data-toggle':'toggle', 'data-onlabel': 'common.yes'|trans , 'data-offlabel':'common.no'|trans}}) }}
|
{{ form_widget(form.sensitive, {'attr': {'class': 'form-control','data-toggle':'toggle', 'data-onlabel': 'common.yes'|trans , 'data-offlabel':'common.no'|trans}}) }}
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" style="margin-top: 20px;">
|
<div class="row" style="margin-top: 20px;">
|
||||||
<div class=" col-md-5 col-6">
|
<div class=" col-md-5">
|
||||||
<div class="form-group has-feedback">
|
<div class="form-group has-feedback">
|
||||||
{{ form_label(form.scheduled_at) }}
|
{{ form_label(form.scheduled_at) }}
|
||||||
{{ form_widget(form.scheduled_at, {'attr': {'class': 'form-control'}}) }}
|
{{ form_widget(form.scheduled_at, {'attr': {'class': 'form-control'}}) }}
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class=" col-md-5 col-4">
|
<div class=" col-md-5">
|
||||||
<div class="form-group has-feedback">
|
<div class="form-group has-feedback">
|
||||||
{{ form_label(form.timeZone) }}
|
{{ form_label(form.timeZone) }}
|
||||||
{{ form_widget(form.timeZone, {'attr': {'class': 'form-control'}}) }}
|
{{ form_widget(form.timeZone, {'attr': {'class': 'form-control'}}) }}
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2 col-2">
|
<div class="col-md-2">
|
||||||
<label for="count">{{ 'common.poll'|trans }}</label>
|
<label for="count">{{ 'common.poll'|trans }}</label>
|
||||||
<span id="poll_switch" class="form-control" style="text-align: center;cursor:pointer;" > <i class="fa fa-tasks fa-fw"></i></span>
|
<span id="poll_switch" class="form-control" style="text-align: center;cursor:pointer;" > <i class="fa fa-tasks fa-fw"></i></span>
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class=" col-md-4">
|
<div class=" col-md-4">
|
||||||
{{ form_label(form.poll_multiple) }}
|
{{ form_label(form.poll_multiple) }}
|
||||||
{{ form_widget(form.poll_multiple, {'attr': {'class': 'form-control','data-toggle':'toggle', 'data-onlabel': 'common.yes'|trans , 'data-offlabel':'common.no'|trans}}) }}
|
{{ form_widget(form.poll_multiple, {'attr': {'class': 'form-control ','data-toggle':'skip-toggle', 'data-onlabel': 'common.yes'|trans , 'data-offlabel':'common.no'|trans}}) }}
|
||||||
{% if not form.poll_multiple.vars.errors is empty %}
|
{% if not form.poll_multiple.vars.errors is empty %}
|
||||||
<span class="badge badge-danger">
|
<span class="badge badge-danger">
|
||||||
{% for errorItem in form.poll_multiple.vars.errors %}
|
{% for errorItem in form.poll_multiple.vars.errors %}
|
||||||
|
@ -479,6 +479,8 @@
|
||||||
if($('#poll_container').hasClass("d-none") ){
|
if($('#poll_container').hasClass("d-none") ){
|
||||||
$('#poll_container').removeClass("d-none");
|
$('#poll_container').removeClass("d-none");
|
||||||
$('#compose_attach_poll').val(1);
|
$('#compose_attach_poll').val(1);
|
||||||
|
document.querySelector('#compose_poll_multiple').bootstrapToggle('destroy');
|
||||||
|
document.querySelector('#compose_poll_multiple').bootstrapToggle();
|
||||||
}else{
|
}else{
|
||||||
$('#poll_container').addClass("d-none");
|
$('#poll_container').addClass("d-none");
|
||||||
$('#compose_attach_poll').val(0);
|
$('#compose_attach_poll').val(0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue