~xibo-maintainers/xibo/tempel

441.1.5 by Dan Garner
First pass at import/export and tidy library.
1
{#
2
/*
3
 * Spring Signage Ltd - http://www.springsignage.com
4
 * Copyright (C) 2015 Spring Signage Ltd
5
 * (${FILE_NAME})
6
 */
7
#}
8
9
{% extends "form-base.twig" %}
10
{% import "forms.twig" as forms %}
11
12
{% block formTitle %}
13
    {% trans "Export Database Backup" %}
14
{% endblock %}
15
16
{% block formButtons %}
17
    {% trans "Cancel" %}, XiboDialogClose()
18
    {% trans "Export Database" %}, $("#exportForm").submit()
19
{% endblock %}
20
21
{% block formHtml %}
22
    <div class="row">
23
        <div class="col-md-12">
24
            <form id="exportForm" class="form-horizontal" method="get" action="{{ urlFor("maintenance.export") }}">
443.1.1 by Peter
dataSet and maintenance views
25
                {% set message %}{% trans "This will create a dump file of your database that you can restore later using the import functionality." %}{% endset %}
26
                {{ forms.message(message) }}
27
                
28
                {% set message %}{% trans "You should also manually take a backup of your library." %}{% endset %}
29
                {{ forms.message(message) }}
30
                
454.1.52 by Dan Garner
Fix export/tidy forms.
31
                {% set message %}{% trans "Please note: The folder location for mysqldump must be available in your path environment variable for this to work and the php exec command must be enabled." %}{% endset %}
443.1.1 by Peter
dataSet and maintenance views
32
                {{ forms.message(message) }}
441.1.5 by Dan Garner
First pass at import/export and tidy library.
33
            </form>
34
        </div>
35
    </div>
36
{% endblock %}