forked from xibosignage/xibo-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include DataSet structure and optionally data in the Layout Export.
- Loading branch information
Showing
7 changed files
with
116 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{# | ||
/* | ||
* Spring Signage Ltd - http://www.springsignage.com | ||
* Copyright (C) 2016 Spring Signage Ltd | ||
* (layout-form-export.twig) | ||
*/ | ||
#} | ||
|
||
{% extends "form-base.twig" %} | ||
{% import "forms.twig" as forms %} | ||
|
||
{% block formTitle %} | ||
{% trans "Export" %} | ||
{% endblock %} | ||
|
||
{% block formButtons %} | ||
{% trans "Cancel" %}, XiboDialogClose() | ||
{% trans "Yes" %}, $("#layoutExportForm").submit() | ||
{% endblock %} | ||
|
||
{% block callBack %}layoutExportFormOpen{% endblock %} | ||
|
||
{% block formHtml %} | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<form id="layoutExportForm" class="form-horizontal" method="get" action="{{ urlFor("layout.export", {id: layout.layoutId}) }}"> | ||
{% set layoutName = layout.layout %} | ||
{% set helpText %}{% trans %}You have selected {{ layoutName }} for export. A ZIP file will be downloaded which contains the layout, its widgets and media. It will also contain the structure for associated DataSets.{% endtrans %}{% endset %} | ||
{{ forms.message(helpText) }} | ||
|
||
{% set title %}{% trans "Include DataSet data?" %}{% endset %} | ||
{% set helpText %}{% trans "Do you want to include the DataSet data?" %}{% endset %} | ||
{{ forms.checkbox("includeData", title, 0, helpText) }} | ||
|
||
</form> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters