-
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Beautify backend modules for v13
- Loading branch information
1 parent
55efb3f
commit 363e234
Showing
2 changed files
with
42 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,42 @@ | ||
<f:if condition="{can_not_proceed}"> | ||
<f:then> | ||
<f:render partial="Backend/NoSiteAvailable" arguments="{_all}"/> | ||
</f:then> | ||
<f:else> | ||
<f:variable name="args" value="{0: 'searchbackend', 1: pageUID}" /> | ||
<typo3-immediate-action action="TYPO3.Backend.Storage.ModuleStateStorage.update" args="{args -> f:format.json() -> f:format.htmlspecialchars()}"></typo3-immediate-action> | ||
|
||
<f:render partial="Backend/FlashMessages" /> | ||
<f:render section="Main"/> | ||
</f:else> | ||
</f:if> | ||
<f:render section="Before" arguments="{_all}" optional="true"/> | ||
|
||
<div class="module {moduleClass}" data-module-id="{moduleId}" data-module-name="{moduleName}"> | ||
<f:if condition="{formTag}"> | ||
<f:then> | ||
<f:format.raw>{formTag}</f:format.raw> | ||
</f:then> | ||
</f:if> | ||
<f:if condition="{docHeader.enabled}"> | ||
<f:render partial="DocHeader" arguments="{docHeader:docHeader}"/> | ||
</f:if> | ||
<div class="module-body t3js-module-body"> | ||
<f:if condition="{uiBlock}"> | ||
<div id="t3js-ui-block" class="ui-block"> | ||
<core:icon identifier="spinner-circle" size="large"/> | ||
</div> | ||
</f:if> | ||
<f:flashMessages queueIdentifier="{flashMessageQueueIdentifier}"/> | ||
|
||
<f:render section="After" arguments="{_all}" optional="true"/> | ||
|
||
<f:if condition="{can_not_proceed}"> | ||
<f:then> | ||
<f:render partial="Backend/NoSiteAvailable" arguments="{_all}"/> | ||
</f:then> | ||
<f:else> | ||
<f:variable name="args" value="{0: 'searchbackend', 1: pageUID}"/> | ||
<typo3-immediate-action action="TYPO3.Backend.Storage.ModuleStateStorage.update" args="{args -> f:format.json() -> f:format.htmlspecialchars()}"></typo3-immediate-action> | ||
|
||
<f:render partial="Backend/FlashMessages"/> | ||
<f:render section="Main"/> | ||
</f:else> | ||
</f:if> | ||
|
||
|
||
</div> | ||
<f:if condition="{formTag}"> | ||
<f:then> | ||
</form> | ||
</f:then> | ||
</f:if> | ||
</div> |