Implement SEO overview as backend module

This commit is contained in:
Björn Fromme
2020-01-28 17:38:39 +01:00
parent 2ea0beb386
commit 31a72ceced
9 changed files with 352 additions and 1 deletions
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file t3:id="1415814815" source-language="en" datatype="plaintext" original="messages" date="2013-07-04T16:35:47Z" product-name="documentation">
<header/>
<body>
<trans-unit id="mlang_tabs_tab">
<source>E&amp;P SEO Übersicht</source>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr">
<source>Page title und Meta Description Übersicht</source>
</trans-unit>
<trans-unit id="mlang_labels_tablabel">
<source>Seiten</source>
</trans-unit>
</body>
</file>
</xliff>
@@ -0,0 +1 @@
<f:render section="Main" />
@@ -0,0 +1,55 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:layout name="Page/Backend"/>
<f:section name="Main">
<h1>SEO Übersicht</h1>
<f:be.widget.paginate objects="{pages}" as="pageinatedPages" configuration="{itemsPerPage: 20}">
<table class="table table-striped">
<thead>
<tr>
<th>Seite</th>
<th>SEO Title</th>
<th>Meta Description</th>
<th></th>
</tr>
</thead>
<tbody>
<f:for each="{pageinatedPages}" as="page">
<tr>
<td style="white-space: nowrap">
<f:spaceless>
{page.title}
<f:if condition="{page.hidden}">
<core:icon identifier="actions-ban" size="small" />
</f:if>
</f:spaceless>
</td>
<td>
{page.seoTitle}
</td>
<td>
{page.description}
</td>
<td>
<div class="btn-group">
<a href="{be:uri.editRecord(table: 'pages', uid: page.uid)}"
title="" class="btn btn-default">
<core:icon identifier="actions-document-open"/>
bearbeiten
</a>
</div>
</td>
</tr>
</f:for>
</tbody>
</table>
</f:be.widget.paginate>
</f:section>
</html>