-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from kitodo/fix-72
Overwrite backend layouts as of TYPO3 7.6
- Loading branch information
Showing
7 changed files
with
152 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<f:comment> | ||
<!-- | ||
This file is part of the TYPO3 CMS project. | ||
It is free software; you can redistribute it and/or modify it under | ||
the terms of the GNU General Public License, either version 2 | ||
of the License, or any later version. | ||
For the full copyright and license information, please read the | ||
LICENSE.txt file that was distributed with this source code. | ||
The TYPO3 project - inspiring people to share! | ||
--> | ||
</f:comment> | ||
|
||
{namespace dpf=EWW\Dpf\ViewHelpers} | ||
|
||
<f:be.container enableClickMenu="false" | ||
includeCssFiles="{0: '{f:uri.resource(path:\'CSS/bootstrap.min.css\')}',1: '{f:uri.resource(path:\'CSS/manager.css\')}'}" | ||
includeJsFiles="{0: '{f:uri.resource(path:\'JavaScript/jQuery.min.js\')}',1: '{f:uri.resource(path:\'JavaScript/moment-with-locales.min.js\')}',2: '{f:uri.resource(path:\'JavaScript/bootstrap.min.js\')}',3: '{f:uri.resource(path:\'JavaScript/bootstrap-datetimepicker.min.js\')}',4: '{f:uri.resource(path:\'JavaScript/qucosa.js\')}'}"> | ||
|
||
<div class="tx-dpf" data-language="{dpf:language()}"> | ||
|
||
<f:render partial="Layouts/DefaultBE" arguments="{_all}" /> | ||
|
||
<f:render section="main"/> | ||
|
||
</div> | ||
|
||
</f:be.container> |
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,30 @@ | ||
<f:comment> | ||
<!-- | ||
This file is part of the TYPO3 CMS project. | ||
It is free software; you can redistribute it and/or modify it under | ||
the terms of the GNU General Public License, either version 2 | ||
of the License, or any later version. | ||
For the full copyright and license information, please read the | ||
LICENSE.txt file that was distributed with this source code. | ||
The TYPO3 project - inspiring people to share! | ||
--> | ||
</f:comment> | ||
|
||
{namespace dpf=EWW\Dpf\ViewHelpers} | ||
|
||
<f:be.container enableClickMenu="false" | ||
includeCssFiles="{0: '{f:uri.resource(path:\'CSS/qucosa.css\')}',1: '{f:uri.resource(path:\'CSS/qucosabe.css\')}'}" | ||
includeJsFiles="{0: '{f:uri.resource(path:\'JavaScript/jQuery.min.js\')}',1: '{f:uri.resource(path:\'JavaScript/moment-with-locales.min.js\')}',2: '{f:uri.resource(path:\'JavaScript/bootstrap.min.js\')}',3: '{f:uri.resource(path:\'JavaScript/bootstrap-datetimepicker.min.js\')}',4: '{f:uri.resource(path:\'JavaScript/qucosa.js\')}'}"> | ||
|
||
<div class="tx-dpf" data-language="{dpf:language()}"> | ||
|
||
<f:render partial="Layouts/DocumentBE" arguments="{_all}" /> | ||
|
||
<f:render section="main"/> | ||
|
||
</div> | ||
|
||
</f:be.container> |
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,45 @@ | ||
<f:comment> | ||
<!-- | ||
This file is part of the TYPO3 CMS project. | ||
It is free software; you can redistribute it and/or modify it under | ||
the terms of the GNU General Public License, either version 2 | ||
of the License, or any later version. | ||
For the full copyright and license information, please read the | ||
LICENSE.txt file that was distributed with this source code. | ||
The TYPO3 project - inspiring people to share! | ||
--> | ||
</f:comment> | ||
|
||
{namespace dpf=EWW\Dpf\ViewHelpers} | ||
|
||
<f:comment> | ||
<f:debug title="Debug" maxDepth="20">{debugData}</f:debug> | ||
</f:comment> | ||
<p class="bg-info client">{f:translate(key: 'manager.client')}: <strong>{client.client}</strong></p> | ||
|
||
<f:be.menus.actionMenu> | ||
<f:be.menus.actionMenuItem label="{f:translate(key: 'manager.control.documents')}" controller="Document" | ||
action="list"/> | ||
<f:be.menus.actionMenuItem label="{f:translate(key: 'manager.control.search')}" controller="Search" | ||
action="list"/> | ||
</f:be.menus.actionMenu> | ||
|
||
<div class="be-page-header"> | ||
<div class="btn-group controller-switch" role="group"> | ||
<f:link.action action="list" controller="Document" | ||
class="btn btn-default btn-sm {dpf:activeManagerMenu(controllerName:'Document')}"> | ||
<span class="glyphicon glyphicon-file" aria-hidden="true"></span> | ||
{f:translate(key: 'manager.control.documents')} | ||
</f:link.action> | ||
<f:link.action action="list" controller="Search" | ||
class="btn btn-default btn-sm {dpf:activeManagerMenu(controllerName:'Search')}"> | ||
<span class="glyphicon glyphicon-search" aria-hidden="true"></span> | ||
{f:translate(key: 'manager.control.search')} | ||
</f:link.action> | ||
</div> | ||
</div> | ||
|
||
<f:flashMessages renderMode="div"/> |
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,28 @@ | ||
<f:comment> | ||
<!-- | ||
This file is part of the TYPO3 CMS project. | ||
It is free software; you can redistribute it and/or modify it under | ||
the terms of the GNU General Public License, either version 2 | ||
of the License, or any later version. | ||
For the full copyright and license information, please read the | ||
LICENSE.txt file that was distributed with this source code. | ||
The TYPO3 project - inspiring people to share! | ||
--> | ||
</f:comment> | ||
|
||
{namespace dpf=EWW\Dpf\ViewHelpers} | ||
|
||
<f:comment> | ||
<f:debug title="Debug" maxDepth="20">{debugData}</f:debug> | ||
</f:comment> | ||
|
||
<script type="text/javascript"> | ||
var form_error_msg_group_mandatory = '<f:translate key="form_error_msg.group_mandatory" default="Please fill in the required fields." />'; | ||
var form_error_msg_group_one_required = '<f:translate key="form_error_msg.group_one_required" default="Please fill out at least one of the fields." />'; | ||
var form_error_msg_field_invalid = '<f:translate key="form_error_msg.field_invalid" default="Invalid input" />'; | ||
var form_error_msg = '<f:translate key="form_error_msg.all" default="The form contains errors."/>'; | ||
var form_success_msg = '<f:translate key="form_success_msg.all" default="Form successfully validated."/>'; | ||
</script> |