TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<html
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<p><f:translate key="LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:msg.schedulerSetupCheck" /></p>
|
||||
|
||||
<f:be.infobox
|
||||
title="{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:hdg.lastRun')}"
|
||||
message="{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:{lastRunMessageLabel}', arguments:'{lastRunMessageLabelArguments}')}"
|
||||
state="{lastRunSeverity}"
|
||||
/>
|
||||
|
||||
<f:if condition="{composerMode}">
|
||||
<f:then>
|
||||
<f:be.infobox title="{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:hdg.composerMode')}" state="{f:constant(name: 'TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::INFO')}">
|
||||
<p>{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:msg.composerMode')}</p>
|
||||
</f:be.infobox>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:be.infobox title="{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:hdg.cliScript')}" state="{isExecutableSeverity}">
|
||||
<p>{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:msg.cliScript', arguments: '{0: script}') -> f:format.raw()}</p>
|
||||
<f:translate key="LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:{isExecutableMessageLabel}" />
|
||||
</f:be.infobox>
|
||||
</f:else>
|
||||
</f:if>
|
||||
|
||||
<f:render partial="ServerTime" arguments="{dateFormat: dateFormat}" />
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,67 @@
|
||||
<html
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<f:for each="{fields.arguments}" key="name" as="field">
|
||||
<fieldset class="form-section">
|
||||
<div class="form-group t3js-formengine-validation-marker t3js-formengine-palette-field">
|
||||
<label for="arguments_{name}" class="form-label t3js-formengine-label">{field.label}<f:if condition="{renderDebug}"> <code>[{name}]</code></f:if></label>
|
||||
<div class="formengine-field-item t3js-formengine-field-item">
|
||||
<f:if condition="{field.description}">
|
||||
<div class="form-description">{field.description}</div>
|
||||
</f:if>
|
||||
<div class="form-control-wrap">
|
||||
<div class="form-wizards-wrap">
|
||||
<div class="form-wizards-item-element">
|
||||
<input type="text" name="{itemName}[arguments][{name}]" value="{field.value}" class="form-control form-control-clearable t3js-clearable" id="arguments_{name}"{f:if(condition: field.required, then: 'required="required"')}/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</f:for>
|
||||
<f:for each="{fields.options}" key="name" as="field">
|
||||
<fieldset class="form-section">
|
||||
<div class="form-group t3js-formengine-validation-marker t3js-formengine-palette-field">
|
||||
<label for="arguments_{name}" class="form-label t3js-formengine-label">{field.label}<f:if condition="{renderDebug}"> <code>[{name}]</code></f:if></label>
|
||||
<div class="formengine-field-item t3js-formengine-field-item">
|
||||
<f:if condition="{field.description}">
|
||||
<div class="form-description">{field.description}</div>
|
||||
</f:if>
|
||||
<f:if condition="{field.valueOption}">
|
||||
<f:then>
|
||||
<div class="form-check t3-form-field-eval-null-checkbox">
|
||||
<input type="checkbox" class="form-check-input" id="options_{name}" name="{itemName}[options][{name}]"{f:if(condition: field.enabled, then: ' checked="checked"')}>
|
||||
<label class="form-check-label" for="options_{name}">
|
||||
<f:translate key="LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:label.addOptionToCommand" />
|
||||
</label>
|
||||
</div>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="form-check form-switch">
|
||||
<input type="checkbox" class="form-check-input" id="options_{name}" name="{itemName}[options][{name}]"{f:if(condition: field.enabled, then: ' checked="checked"')}>
|
||||
<label class="form-check-label" for="options_{name}">
|
||||
<f:translate key="LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:label.setOptionForCommand" />
|
||||
</label>
|
||||
</div>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<f:if condition="{field.valueOption}">
|
||||
<div class="form-control-wrap">
|
||||
<div class="form-wizards-wrap">
|
||||
<div class="form-wizards-item-element">
|
||||
<input type="text" name="{itemName}[optionValues][{name}]" value="{field.value}" class="form-control form-control-clearable t3js-clearable" id="options_{name}_values"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</f:for>
|
||||
|
||||
<input type="hidden" name="{itemName}[commandIdentifier]" value="{taskType}" />
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,14 @@
|
||||
<f:layout name="SystemEmail" />
|
||||
<f:section name="Title">Scheduler Test Task</f:section>
|
||||
<f:section name="Main">
|
||||
<strong>UID:</strong> {data.uid}<br>
|
||||
<strong>Sitename:</strong> {typo3.sitename}<br>
|
||||
<strong>Called by:</strong> {data.calledBy}<br>
|
||||
<strong>Tstamp:</strong> {f:format.date(format:'Y-m-d H:i:s',date:data.tstamp)} [{data.tstamp}]<br>
|
||||
<strong>maxLifetime:</strong> {data.maxLifetime}<br>
|
||||
<strong>Start:</strong> {f:format.date(format:'Y-m-d H:i:s', date:exec.start)} [{exec.start}]<br>
|
||||
<strong>End:</strong> <f:if condition="{exec.end}"><f:then>{f:format.date(format:'Y-m-d H:i:s', date:exec.end)} [{exec.end}]</f:then><f:else>-</f:else></f:if><br>
|
||||
<strong>Interval:</strong> {exec.interval}<br>
|
||||
<strong>multiple:</strong> {f:if(condition:exec.multiple,then:'yes',else:'no')}<br>
|
||||
<strong>cronCmd:</strong> {f:if(condition:exec.cronCmd,then:cronCmd,else:'not used')}
|
||||
</f:section>
|
||||
@@ -0,0 +1,15 @@
|
||||
<f:layout name="SystemEmail" />
|
||||
<f:section name="Title">Scheduler Test Task</f:section>
|
||||
<f:section name="Main">
|
||||
UID: {data.uid}
|
||||
Sitename: {typo3.sitename}
|
||||
Called by: {data.calledBy}
|
||||
Tstamp: {f:format.date(format:'Y-m-d H:i:s',date:data.tstamp)} [{data.tstamp}]
|
||||
maxLifetime: {data.maxLifetime}
|
||||
start: {f:format.date(format:'Y-m-d H:i:s', date:exec.start)} [{exec.start}]
|
||||
end: <f:if condition="{exec.end}"><f:then>{f:format.date(format:'Y-m-d H:i:s', date:exec.end)} [{exec.end}]</f:then><f:else>-</f:else></f:if>
|
||||
interval: {exec.interval}
|
||||
multiple: {f:if(condition:exec.multiple,then:'yes',else:'no')}
|
||||
cronCmd: {f:if(condition:exec.cronCmd,then:cronCmd,else:'not used')}
|
||||
</f:section>
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
<html
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<f:layout name="Module" />
|
||||
|
||||
<f:section name="Content">
|
||||
<f:asset.module identifier="@typo3/backend/modal.js"/>
|
||||
<f:asset.module identifier="@typo3/backend/multi-record-selection.js"/>
|
||||
<f:asset.module identifier="@typo3/backend/element/progress-bar-element.js"/>
|
||||
<f:asset.module identifier="@typo3/backend/element/status-indicator-element.js"/>
|
||||
<f:asset.module identifier="@typo3/scheduler/scheduler.js"/>
|
||||
<f:asset.module identifier="@typo3/scheduler/scheduler-sortable-groups.js"/>
|
||||
<f:asset.module identifier="@typo3/scheduler/scheduler-add-group.js"/>
|
||||
|
||||
<h1><f:translate key="LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:function.scheduler" /></h1>
|
||||
<f:if condition="{groups} || {errorClasses}">
|
||||
<f:then>
|
||||
<f:render partial="TaskList" arguments="{_all}" />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:be.infobox state="{f:constant(name: 'TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::INFO')}" title="{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:msg.noTasks')}">
|
||||
<f:if condition="{hasAvailableTaskTypes}">
|
||||
<f:then>
|
||||
<p><f:translate key="LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:msg.noTasks.createNew"/></p>
|
||||
<typo3-scheduler-new-task-wizard-button class="btn btn-primary" url="{addTaskUrl}" subject="{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:function.add')}">
|
||||
<core:icon identifier="actions-plus" size="small" /> {f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:function.add')}
|
||||
</typo3-scheduler-new-task-wizard-button>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<p><f:translate key="LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:msg.noTasks.nonAvailable"/></p>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:be.infobox>
|
||||
</f:else>
|
||||
</f:if>
|
||||
|
||||
<f:if condition="{groupsWithoutTasks}">
|
||||
<h2><f:translate key="LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:label.group.unused" /></h2>
|
||||
<f:render partial="GroupUnusedList" arguments="{_all}" />
|
||||
</f:if>
|
||||
|
||||
<f:render partial="ServerTime" arguments="{dateFormat: dateFormat}" />
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,11 @@
|
||||
<html data-namespace-typo3-fluid="true">
|
||||
|
||||
<typo3-backend-new-record-wizard
|
||||
storename="new-scheduler-task"
|
||||
categories="{categoriesJson}"
|
||||
searchplaceholder="{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:newSchedulerTask.filter.placeholder')}"
|
||||
searchnothingfoundlabel="{f:translate(key: 'LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:newSchedulerTask.filter.noResults')}"
|
||||
>
|
||||
</typo3-backend-new-record-wizard>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
<html
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<div class="mb-4">
|
||||
<f:render partial="ServerTime" arguments="{_all}" />
|
||||
</div>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user