[TASK] Store System Maintenance tokens in data attributes
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Maintenance / ClearTables.html
index 7cffa9c..309905a 100644 (file)
@@ -9,31 +9,33 @@
        You could log out all users, delete all their basket data, and lose logging information!
 </p>
 
-<div class="t3js-clearTables-output"></div>
+<div class="t3js-module-content" data-clear-tables-clear-token="{clearTablesClearToken}">
+       <div class="t3js-clearTables-output"></div>
 
-<button
-       class="btn btn-default t3js-clearTables-stats"
-       type="button"
->
-       Scan again
-</button>
-<hr>
+       <button
+               class="btn btn-default t3js-clearTables-stats"
+               type="button"
+       >
+               Scan again
+       </button>
+       <hr>
 
-<div class="form-group">
-       <div class="t3js-clearTables-stat-container"></div>
-</div>
+       <div class="form-group">
+               <div class="t3js-clearTables-stat-container"></div>
+       </div>
 
-<div style="display:none;">
-       <div id="t3js-clearTables-clear-token">{clearTablesClearToken}</div>
-       <div class="t3js-clearTables-stat-template">
-               <p class="t3js-clearTables-stat-description">{clearTableStatistic.description}</p>
-               <button
-                       class="btn btn-warning t3js-clearTables-clear"
-                       type="button"
-               >
-                       Delete <span class="t3js-clearTables-stat-rows"></span> rows
-                       from table "<span class="t3js-clearTables-stat-name"></span>" table
-               </button>
-               <hr class="t3js-clearTables-stat-lastRuler">
+       <div style="display:none;">
+               <div class="t3js-clearTables-stat-template">
+                       <p class="t3js-clearTables-stat-description">{clearTableStatistic.description}</p>
+                       <button
+                               class="btn btn-warning t3js-clearTables-clear"
+                               type="button"
+                       >
+                               Delete <span class="t3js-clearTables-stat-rows"></span> rows
+                               from table "<span class="t3js-clearTables-stat-name"></span>" table
+                       </button>
+                       <hr class="t3js-clearTables-stat-lastRuler">
+               </div>
        </div>
+
 </div>