Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
further integration of EAB with Nucleos [WIP]
- Loading branch information
Showing
52 changed files
with
139 additions
and
2,486 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
18 changes: 0 additions & 18 deletions
18
src/system/ThemeBundle/Resources/public/js/ZikulaThemeBundle.JSConfig.js
This file was deleted.
Oops, something went wrong.
10 changes: 3 additions & 7 deletions
10
src/system/ThemeBundle/Resources/public/js/ZikulaThemeBundle.Phpinfo.js
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 |
---|---|---|
@@ -1,9 +1,5 @@ | ||
// Copyright Zikula, licensed MIT. | ||
|
||
(function($) { | ||
$(document).ready(function() { | ||
$(function() { | ||
$('#phpinfo table').addClass('table table-striped table-bordered'); | ||
}); | ||
}); | ||
})(jQuery); | ||
window.addEventListener('load', function () { | ||
document.querySelectorAll('#phpinfo table').forEach(el => el.classList.add('table', 'table-striped', 'table-bordered')); | ||
}, false); |
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
26 changes: 16 additions & 10 deletions
26
src/system/ThemeBundle/Resources/views/Tool/phpinfo.html.twig
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 |
---|---|---|
@@ -1,10 +1,16 @@ | ||
{{ pageAddAsset('stylesheet', zasset('@ZikulaThemeBundle:css/phpinfo.css'), 100) }} | ||
<h3> | ||
<span class="fas fa-info-circle"></span> | ||
{% trans %}PHP configuration{% endtrans %} | ||
{{ pageSetVar('title', 'PHP configuration'|trans) }} | ||
</h3> | ||
<div id="phpinfo"> | ||
{{ phpinfo|raw }} | ||
</div> | ||
{{ pageAddAsset('javascript', zasset('@ZikulaThemeBundle:js/ZikulaThemeBundle.Phpinfo.js')) }} | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
{% block content_title 'PHP configuration'|trans %} | ||
{% block main %} | ||
<div id="phpinfo"> | ||
{{ phpinfo|raw }} | ||
</div> | ||
{% endblock %} | ||
{% block head_stylesheets %} | ||
{{ parent() }} | ||
<link rel="stylesheet" href="{{ asset('bundles/zikulatheme/css/phpinfo.css') }}" /> | ||
{% endblock %} | ||
{% block body_javascript %} | ||
{{ parent() }} | ||
<script src="{{ asset('bundles/zikulatheme/js/ZikulaThemeBundle.Phpinfo.js') }}"></script> | ||
{% endblock body_javascript %} |
55 changes: 27 additions & 28 deletions
55
src/system/ThemeBundle/Resources/views/Tool/testmail.html.twig
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 |
---|---|---|
@@ -1,32 +1,31 @@ | ||
<h3> | ||
<span class="fas fa-envelope"></span> | ||
{% trans %}Test mailer settings{% endtrans %} | ||
{{ pageSetVar('title', 'Test mailer settings'|trans) }} | ||
</h3> | ||
{% extends '@EasyAdmin/page/content.html.twig' %} | ||
|
||
{{ form_start(form) }} | ||
{{ form_errors(form) }} | ||
{% block content_title 'Test mailer settings'|trans %} | ||
{% block main %} | ||
{{ form_start(form) }} | ||
{{ form_errors(form) }} | ||
|
||
<fieldset> | ||
<legend>{% trans %}Settings test{% endtrans %}</legend> | ||
{{ form_row(form.fromName) }} | ||
{{ form_row(form.fromAddress) }} | ||
{{ form_row(form.toName) }} | ||
{{ form_row(form.toAddress) }} | ||
{{ form_row(form.subject) }} | ||
{{ form_row(form.messageType) }} | ||
<div data-switch="zikulathemebundle_mailtest[messageType]" data-switch-value="html,multipart"> | ||
{{ form_row(form.bodyHtml) }} | ||
</div> | ||
<div data-switch="zikulathemebundle_mailtest[messageType]" data-switch-value="text,multipart"> | ||
{{ form_row(form.bodyText) }} | ||
</div> | ||
</fieldset> | ||
<fieldset> | ||
<legend>{% trans %}Settings test{% endtrans %}</legend> | ||
{{ form_row(form.fromName) }} | ||
{{ form_row(form.fromAddress) }} | ||
{{ form_row(form.toName) }} | ||
{{ form_row(form.toAddress) }} | ||
{{ form_row(form.subject) }} | ||
{{ form_row(form.messageType) }} | ||
<div data-switch="zikulathemebundle_mailtest[messageType]" data-switch-value="html,multipart"> | ||
{{ form_row(form.bodyHtml) }} | ||
</div> | ||
<div data-switch="zikulathemebundle_mailtest[messageType]" data-switch-value="text,multipart"> | ||
{{ form_row(form.bodyText) }} | ||
</div> | ||
</fieldset> | ||
|
||
<div class="form-group row"> | ||
<div class="col-md-9 offset-md-3"> | ||
{{ form_widget(form.test) }} | ||
{{ form_widget(form.cancel) }} | ||
<div class="form-group row"> | ||
<div class="col-md-9 offset-md-3"> | ||
{{ form_widget(form.test) }} | ||
{{ form_widget(form.cancel) }} | ||
</div> | ||
</div> | ||
</div> | ||
{{ form_end(form) }} | ||
{{ form_end(form) }} | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.