Initial Upload
This commit is contained in:
28
views/layout-form-delete.twig
Normal file
28
views/layout-form-delete.twig
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
{% extends "form-base.twig" %}
|
||||
{% import "forms.twig" as forms %}
|
||||
|
||||
{% block formTitle %}
|
||||
{% set layout = layout.layout %}
|
||||
{% trans %}Delete {{ layout }}{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block formButtons %}
|
||||
{% trans "Retire" %}, XiboSwapDialog("{{ url_for("layout.retire.form", {id: layout.layoutId}) }}")
|
||||
{% trans "No" %}, XiboDialogClose()
|
||||
{% trans "Yes" %}, $("#layoutDeleteForm").submit()
|
||||
{% endblock %}
|
||||
|
||||
{% block formHtml %}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<form id="layoutDeleteForm" class="XiboForm form-horizontal" method="delete" action="{{ url_for("layout.delete", {id: layout.layoutId}) }}">
|
||||
{% set message %}{% trans "Are you sure you want to delete this item?" %}{% endset %}
|
||||
{{ forms.message(message) }}
|
||||
|
||||
{% set message %}{% trans "All media will be unassigned and any widgets such as text/rss will be lost, unless they are on playlists. The item will be removed from all Schedules." %}{% endset %}
|
||||
{{ forms.message(message) }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user