[BUGFIX] Fix „templates“ of Extension scanner
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Upgrade / ExtensionScanner.html
1 <p>
2 This module scans extensions for usage of deprecated and removed TYPO3 API calls.
3 The module can be a great help for extension developers and site maintainers when
4 upgrading to new core versions. However, the detection approach - based on static
5 code analysis - is limited by concept: false positives/negatives are impossible to avoid.
6 Further details can be found at
7 <a style="text-decoration: underline;" target="_blank" rel="noopener" href="https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/ExtensionScanner/Index.html">
8 the official docs.
9 </a>
10 </p>
11
12 <div style="display: none">
13 <div id="t3js-extensionScanner-file-hit-template">
14 <div class="panel panel-flat t3js-extensionScanner-hit-panel risk-medium">
15 <div class="panel-heading">
16 <h3 class="panel-title">
17 <a href="#collapse" class="collapsed t3js-extensionScanner-hit-file-panel-head" data-toggle="collapse">
18 <span class="caret"></span>
19 <span class="pull-right badges"></span>
20 <span class="t3js-extensionScanner-hit-filename file">aFile</span>
21 <span class="t3js-extensionScanner-hit-message message">aMessage</span>
22 </a>
23 </h3>
24 </div>
25 <div id="collapse" class="panel-collapse collapse t3js-extensionScanner-hit-file-panel-body">
26 <div class="panel-body">
27 <pre><strong class="t3js-extensionScanner-hit-file-line"></strong><span class="t3js-extensionScanner-hit-file-lineContent"></span></pre>
28 <div class="panel-group-flat t3js-extensionScanner-hit-file-rest-container"></div>
29 </div>
30 </div>
31 </div>
32 </div>
33 <div id="t3js-extensionScanner-file-hit-rest-template">
34 <div class="panel panel-flat t3js-extensionScanner-hit-rest-panel risk-medium">
35 <div class="panel-heading">
36 <h3 class="panel-title">
37 <a href="#collapse-rest"
38 class="collapsed t3js-extensionScanner-hit-rest-panel-head"
39 data-toggle="collapse"
40 >
41 <span class="badge pull-right">aBadge</span>
42 <span class="caret"></span>
43 <strong class="t3js-extensionScanner-hit-rest-headline">restFileHeadline</strong>
44 </a>
45 </h3>
46 </div>
47 <div id="collapse-rest" class="panel-collapse collapse t3js-extensionScanner-hit-rest-panel-body">
48 <pre class="t3js-extensionScanner-hit-rest-body">restFileContent</pre>
49 </div>
50 </div>
51 </div>
52 </div>
53
54 <div
55 class="t3js-module-content"
56 data-extension-scanner-files-token="{extensionScannerFilesToken}"
57 data-extension-scanner-scan-file-token="{extensionScannerScanFileToken}"
58 data-extension-scanner-mark-fully-scanned-rest-files-token="{extensionScannerMarkFullyScannedRestFilesToken}"
59 >
60 <div class="progress t3js-extensionScanner-progress-all-extension">
61 <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0;">
62 <span class="text-nowrap"></span>
63 </div>
64 </div>
65
66 <button class="btn btn-default t3js-extensionScanner-scan-all" type="submit">
67 Scan all
68 </button>
69
70 <h2>Extensions</h2>
71
72 <div class="panel-group panel-group-flat panel-group-scanner-extensions">
73 <f:for each="{extensionScannerExtensionList}" as="extensionInTypo3conf" iteration="iterator">
74 <div
75 class="panel panel-default panel-flat t3js-extensionScanner-extension t3js-extensionScanner-extension-{extensionInTypo3conf.filename}"
76 data-extension="{extensionInTypo3conf.filename}">
77 <div class="panel-progress">
78 <div class="panel-progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0;"><span class="sr-only"></span></div>
79 </div>
80 <div class="panel-heading">
81 <h2 class="panel-title">
82 <a href="#extension-{iterator.index}" class="collapsed" data-toggle="collapse">
83 <span class="caret"></span>
84 Extension: <strong>{extensionInTypo3conf.filename}</strong>
85 <span class="pull-right t3js-extensionScanner-number-of-files"></span>
86 </a>
87 </h2>
88 </div>
89 <div class="panel-collapse collapse" id="extension-{iterator.index}">
90 <div class="panel-body hide t3js-extensionScanner-extension-body"></div>
91 <div class="panel-footer">
92 <div>Effective lines of code: <span class="t3js-extensionScanner-extension-body-loc">0</span></div>
93 <div>Files ignored by scanner: <span class="t3js-extensionScanner-extension-body-ignored-files">0</span></div>
94 <div>Code lines ignored by scanner: <span class="t3js-extensionScanner-extension-body-ignored-lines">0</span></div>
95 <button class="btn btn-default t3js-extensionScanner-scan-single" data-extension="{extensionInTypo3conf.filename}" type="submit">
96 Scanning…
97 </button>
98 </div>
99 </div>
100 </div>
101 </f:for>
102 </div>
103 </div>