[BUGFIX] Chunk requests in documentation viewer to improve performance
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Upgrade / UpgradeDocsGetContent.html
index d8814cd..4ba900b 100644 (file)
@@ -1,6 +1,6 @@
-<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
+<html xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
 
-<div class="t3js-module-content" data-upgrade-cocs-mark-read-token="{upgradeDocsMarkReadToken}" data-upgrade-docs-unmark-read-token="{upgradeDocsUnmarkReadToken}">
+<div class="t3js-module-content" data-upgrade-docs-mark-read-token="{upgradeDocsMarkReadToken}" data-upgrade-docs-unmark-read-token="{upgradeDocsUnmarkReadToken}">
        <div class="row">
                <div class="col-md-12">
                        <div class="form-group">
@@ -10,6 +10,7 @@
                                                type="text"
                                                class="form-control t3js-upgradeDocs-fulltext-search"
                                                placeholder="search setting"
+                                               disabled
                                        >
                                </div>
                        </div>
@@ -26,6 +27,7 @@
                                                style="width:100%;"
                                                multiple
                                                tabindex=""
+                                               disabled
                                        >
                                        </select>
                                </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>
-                                       </div>
+               <f:for each="{upgradeDocsVersions}" as="version" iteration="iterator">
+                       <div class="panel panel-default panel-version t3js-version-changes" data-version="{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>
+                                                       <span class="pull-right t3js-panel-loading"><core:icon identifier="spinner-circle" size="small" /></span>
+                                               </a>
+                                       </h2>
                                </div>
-                       </f:if>
+                               <div class="panel-collapse collapse"
+                                                id="version-{iterator.index}" role="tabpanel" data-group-version="{version}">
+                                       <div class="panel-body t3js-changelog-list" role="tablist" aria-multiselectable="false"></div>
+                               </div>
+                       </div>
                </f:for>
 
                <div class="panel panel-default panel-version">
                                        </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 class="collapse" id="collapseRead" role="tabpanel" data-group-version="read">
+                               <div class="panel-body panel-body-read t3js-changelog-list" role="tablist" aria-multiselectable="false"></div>
                        </div>
                </div>
 
                                        </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 class="collapse" id="collapseNotAffected" role="tabpanel" data-group-version="notAffected">
+                               <div class="panel-body panel-body-not-affected t3js-changelog-list" role="tablist" aria-multiselectable="false"></div>
                        </div>
                </div>
        </div>