[TASK] Store System Maintenance tokens in data attributes
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Upgrade / UpgradeDocsGetContent.html
index 3501ae4..44d6d73 100644 (file)
-<div style="display:none">
-       <div id="t3js-upgradeDocs-markRead-token">{upgradeDocsMarkReadToken}</div>
-       <div id="t3js-upgradeDocs-unmarkRead-token">{upgradeDocsUnmarkReadToken}</div>
-</div>
-
-<div class="row">
-       <div class="col-md-12">
-               <div class="form-group">
-                       <div class="input-group">
-                               <span class="input-group-addon">Search:</span>
-                               <input
-                                       type="text"
-                                       class="form-control t3js-upgradeDocs-fulltext-search"
-                                       placeholder="search setting"
-                               >
+<div class="t3js-module-content" data-upgrade-cocs-mark-read-token="{upgradeDocsMarkReadToken}" data-upgrade-docs-unmark-read-token="{upgradeDocsUnmarkReadToken}">
+       <div class="row">
+               <div class="col-md-12">
+                       <div class="form-group">
+                               <div class="input-group">
+                                       <span class="input-group-addon">Search:</span>
+                                       <input
+                                               type="text"
+                                               class="form-control t3js-upgradeDocs-fulltext-search"
+                                               placeholder="search setting"
+                                       >
+                               </div>
                        </div>
                </div>
        </div>
-</div>
-<div class="row">
-       <div class="col-md-12">
-               <div class="form-group">
-                       <div class="input-group">
-                               <span class="input-group-addon">Filter by:</span>
-                               <select
-                                       class="chosen-select t3js-upgradeDocs-chosen-select"
-                                       data-placeholder=""
-                                       style="width:100%;"
-                                       multiple
-                                       tabindex=""
-                               >
-                               </select>
+       <div class="row">
+               <div class="col-md-12">
+                       <div class="form-group">
+                               <div class="input-group">
+                                       <span class="input-group-addon">Filter by:</span>
+                                       <select
+                                               class="chosen-select t3js-upgradeDocs-chosen-select"
+                                               data-placeholder=""
+                                               style="width:100%;"
+                                               multiple
+                                               tabindex=""
+                                       >
+                                       </select>
+                               </div>
                        </div>
                </div>
        </div>
-</div>
 
-<div class="panel-group panel-group-rst" role="tablist" aria-multiselectable="true">
-       <f:for each="{upgradeDocsFiles}" as="versionArray" key="version" iteration="iterator">
-               <f:if condition="{versionArray -> f:count()} > 0">
-                       <div class="panel panel-default panel-version">
-                               <div class="panel-heading" role="tab" id="heading-{iterator.index}">
-                                       <h2 class="panel-title">
-                                               <a href="#version-{iterator.index}"
-                                                       class="collapsed" data-toggle="collapse"
-                                                       aria-expanded="false"
-                                                       aria-controls="#version-{iterator.index}"
-                                               >
-                                                       <span class="caret"></span>
-                                                       Version: <strong>{version}</strong>
-                                               </a>
-                                       </h2>
-                               </div>
-                               <div class="panel-collapse collapse"
-                                       id="version-{iterator.index}" role="tabpanel" data-group-version="{version}">
-                                       <div class="panel-body" role="tablist" aria-multiselectable="false">
-                                               <f:for each="{versionArray}" as="fileArray" iteration="fileIterator">
-                                                       <f:render partial="Upgrade/UpgradeDocs/PanelItem"
-                                                               arguments="{id:'file-{iterator.index}-{fileIterator.index}', fileArray:fileArray, version:version}"/>
-                                               </f:for>
+       <div class="panel-group panel-group-rst" role="tablist" aria-multiselectable="true">
+               <f:for each="{upgradeDocsFiles}" as="versionArray" key="version" iteration="iterator">
+                       <f:if condition="{versionArray -> f:count()} > 0">
+                               <div class="panel panel-default panel-version">
+                                       <div class="panel-heading" role="tab" id="heading-{iterator.index}">
+                                               <h2 class="panel-title">
+                                                       <a href="#version-{iterator.index}"
+                                                                class="collapsed" data-toggle="collapse"
+                                                                aria-expanded="false"
+                                                                aria-controls="#version-{iterator.index}"
+                                                       >
+                                                               <span class="caret"></span>
+                                                               Version: <strong>{version}</strong>
+                                                       </a>
+                                               </h2>
+                                       </div>
+                                       <div class="panel-collapse collapse"
+                                                        id="version-{iterator.index}" role="tabpanel" data-group-version="{version}">
+                                               <div class="panel-body" role="tablist" aria-multiselectable="false">
+                                                       <f:for each="{versionArray}" as="fileArray" iteration="fileIterator">
+                                                               <f:render partial="Upgrade/UpgradeDocs/PanelItem" arguments="{id:'file-{iterator.index}-{fileIterator.index}', fileArray:fileArray, version:version}"/>
+                                                       </f:for>
+                                               </div>
                                        </div>
                                </div>
-                       </div>
-               </f:if>
-       </f:for>
+                       </f:if>
+               </f:for>
 
-       <div class="panel panel-default panel-version">
-               <div class="panel-heading" role="tab" id="heading-read">
-                       <h2 class="panel-title">
-                               <a href="#collapseRead" class="collapsed" data-toggle="collapse" aria-expanded="false"
-                                       aria-controls="collapseRead">
-                                       <span class="caret"></span>
-                                       Files marked as read
-                               </a>
-                       </h2>
-               </div>
-               <div class="collapse" id="collapseRead" role="tabpanel">
-                       <div class="panel-body panel-body-read" role="tablist" aria-multiselectable="false">
-                               <f:for each="{upgradeDocsReadFiles}" as="fileArray" iteration="fileIterator">
-                                       <f:render partial="Upgrade/UpgradeDocs/PanelItem"
-                                               arguments="{id:'read-{fileIterator.index}', fileArray:fileArray, version:fileArray.section, read:'true'}"/>
-                               </f:for>
+               <div class="panel panel-default panel-version">
+                       <div class="panel-heading" role="tab" id="heading-read">
+                               <h2 class="panel-title">
+                                       <a href="#collapseRead" class="collapsed" data-toggle="collapse" aria-expanded="false"
+                                                aria-controls="collapseRead">
+                                               <span class="caret"></span>
+                                               Files marked as read
+                                       </a>
+                               </h2>
+                       </div>
+                       <div class="collapse" id="collapseRead" role="tabpanel">
+                               <div class="panel-body panel-body-read" role="tablist" aria-multiselectable="false">
+                                       <f:for each="{upgradeDocsReadFiles}" as="fileArray" iteration="fileIterator">
+                                               <f:render partial="Upgrade/UpgradeDocs/PanelItem" arguments="{id:'read-{fileIterator.index}', fileArray:fileArray, version:fileArray.section, read:'true'}"/>
+                                       </f:for>
+                               </div>
                        </div>
                </div>
-       </div>
 
-       <div class="panel panel-default panel-version">
-               <div class="panel-heading" role="tab" id="heading-not-affected">
-                       <h2 class="panel-title">
-                               <a href="#collapseNotAffected" class="collapsed" data-toggle="collapse">
-                                       <span class="caret"></span>
-                                       Files marked as not affected by extension scanner
-                               </a>
-                       </h2>
-               </div>
-               <div class="collapse" id="collapseNotAffected" role="tabpanel">
-                       <div class="panel-body panel-body-not-affected" role="tablist" aria-multiselectable="false">
-                               <f:for each="{upgradeDocsNotAffectedFiles}" as="fileArray" iteration="fileIterator">
-                                       <f:render partial="Upgrade/UpgradeDocs/PanelItem"
-                                               arguments="{id:'scanner-{fileIterator.index}', fileArray:fileArray, version:fileArray.section, read:'true'}"
-                                       />
-                               </f:for>
+               <div class="panel panel-default panel-version">
+                       <div class="panel-heading" role="tab" id="heading-not-affected">
+                               <h2 class="panel-title">
+                                       <a href="#collapseNotAffected" class="collapsed" data-toggle="collapse">
+                                               <span class="caret"></span>
+                                               Files marked as not affected by extension scanner
+                                       </a>
+                               </h2>
+                       </div>
+                       <div class="collapse" id="collapseNotAffected" role="tabpanel">
+                               <div class="panel-body panel-body-not-affected" role="tablist" aria-multiselectable="false">
+                                       <f:for each="{upgradeDocsNotAffectedFiles}" as="fileArray" iteration="fileIterator">
+                                               <f:render partial="Upgrade/UpgradeDocs/PanelItem" arguments="{id:'scanner-{fileIterator.index}', fileArray:fileArray, version:fileArray.section, read:'true'}"
+                                               />
+                                       </f:for>
+                               </div>
                        </div>
                </div>
        </div>