@@ -77,61 +77,63 @@ Flowpack.DecoupledContentStore.BackendController.index = Neos.Fusion:Component {
7777 }
7878 }
7979 renderer = afx`
80- <Flowpack.DecoupledContentStore:FlashMessages id="neos-notifications-inline" class="flashmessages" />
81- <form id="postHelper" method="post">
82- <input
83- type="hidden"
84- name="__csrfToken"
85- value={Security.csrfToken()}
86- />
87- </form>
88- <div class="neos-content neos-container-fluid">
89- <Flowpack.DecoupledContentStore:Integration.StylesAndScripts/>
90- <legend>Content Store Releases</legend>
91- <div class="neos-row-fluid">
92- <table class="neos-table cs-releases-table">
93- <thead>
94- <tr>
95- <th style="width: 240px">Identifier</th>
96- <th style="width: 200px">Page Count</th>
97- <th style="width: 200px">Render Progress</th>
98- <th style="width: 200px">Iterations</th>
99- <th>Start</th>
100- <th>Stop</th>
101- <th>Switch</th>
102- <th>Release Size</th>
103- </tr>
104- </thead>
105- <tbody>
106- {props._renderedTableBody}
107- </tbody>
108- </table>
80+ <div id="app">
81+ <Flowpack.DecoupledContentStore:FlashMessages id="neos-notifications-inline" class="flashmessages" />
82+ <form id="postHelper" method="post">
83+ <input
84+ type="hidden"
85+ name="__csrfToken"
86+ value={Security.csrfToken()}
87+ />
88+ </form>
89+ <div class="neos-content neos-container-fluid">
90+ <Flowpack.DecoupledContentStore:Integration.StylesAndScripts/>
91+ <legend>Content Store Releases</legend>
92+ <div class="neos-row-fluid">
93+ <table class="neos-table cs-releases-table">
94+ <thead>
95+ <tr>
96+ <th style="width: 240px">Identifier</th>
97+ <th style="width: 200px">Page Count</th>
98+ <th style="width: 200px">Render Progress</th>
99+ <th style="width: 200px">Iterations</th>
100+ <th>Start</th>
101+ <th>Stop</th>
102+ <th>Switch</th>
103+ <th>Release Size</th>
104+ </tr>
105+ </thead>
106+ <tbody>
107+ {props._renderedTableBody}
108+ </tbody>
109+ </table>
109110
110- <div>
111- <span>Store size: </span>
112- <span class="neos-badge neos-badge-info">{storeSize}</span>
113- </div>
114-
115- <div style="margin-top: 5rem; display: flex; gap: 1rem;">
116- <button form="postHelper" formaction={props._publishAllWithoutValidationUri} type="submit" class="neos-button neos-button-danger">
117- Publish all without validation
118- </button>
119- <button form="postHelper" formaction={props._pruneContentStoreUri} type="submit" class="neos-button neos-button-warning">
120- Prune content store
121- </button>
122- <button form="postHelper" formaction={props._cancelRunningReleaseUri} type="submit" class="neos-button neos-button-warning">
123- Cancel running release
124- </button>
125- <button @if.showToggleConfigEpochButton={showToggleConfigEpochButton} form="postHelper" formaction={props._toggleConfigEpoch} type="submit" class="neos-button neos-button-danger" style="margin-top: 300px;">
126- {'Toggle config epoch: ' + toggleFromConfigEpoch + ' to ' + toggleToConfigEpoch}
127- </button>
128- </div>
111+ <div>
112+ <span>Store size: </span>
113+ <span class="neos-badge neos-badge-info">{storeSize}</span>
114+ </div>
129115
130- <div class="neos-footer !h-full">
131- <Flowpack.DecoupledContentStore:ListFooter />
116+ <div style="margin-top: 5rem; display: flex; gap: 1rem;">
117+ <button form="postHelper" formaction={props._publishAllWithoutValidationUri} type="submit" class="neos-button neos-button-danger">
118+ Publish all without validation
119+ </button>
120+ <button form="postHelper" formaction={props._pruneContentStoreUri} type="submit" class="neos-button neos-button-warning">
121+ Prune content store
122+ </button>
123+ <button form="postHelper" formaction={props._cancelRunningReleaseUri} type="submit" class="neos-button neos-button-warning">
124+ Cancel running release
125+ </button>
126+ <button @if.showToggleConfigEpochButton={showToggleConfigEpochButton} form="postHelper" formaction={props._toggleConfigEpoch} type="submit" class="neos-button neos-button-danger" style="margin-top: 300px;">
127+ {'Toggle config epoch: ' + toggleFromConfigEpoch + ' to ' + toggleToConfigEpoch}
128+ </button>
129+ </div>
132130 </div>
133131 </div>
134132 </div>
133+
134+ <div class="neos-footer">
135+ <Flowpack.DecoupledContentStore:ListFooter />
136+ </div>
135137 `
136138 }
137139}
@@ -143,7 +145,7 @@ prototype(Flowpack.DecoupledContentStore:ListFooter) < prototype(Neos.Fusion:Joi
143145 </Neos.Fusion:Link.Action>
144146 `
145147 switchContentStore = afx`
146- <span class="align-middle inline-block text-sm pr-4 pl-16 ">
148+ <span class="switchContentStore ">
147149 Active Content Store:
148150 <Neos.Fusion:Loop items={redisContentStores}>
149151 <Neos.Fusion:Link.Action
0 commit comments