[TASK] Make use of .t3-table in EXT: belog
[Packages/TYPO3.CMS.git] / typo3 / sysext / belog / Resources / Private / Partials / Content / LogEntries.html
index bea5d74..0e46189 100644 (file)
@@ -1,10 +1,10 @@
-{namespace belog=Tx_Belog_ViewHelpers}
+{namespace belog=TYPO3\CMS\Belog\ViewHelpers}
 
 <f:if condition="{constraint.groupByPage}">
-       <div class="divider">
-               <h3>
+       <div>
+               <h2>
                        <f:translate key="overview" />
-               </h3>
+               </h2>
                <f:translate
                        key="timeInfo"
                        arguments="{
                                1: '{f:format.date(format:\'{settings.dateFormat} H:i\', date:\'@{constraint.endTimestamp}\')}'
                        }"
                />
-               <br />
-               <f:for each="{groupedLogEntries}" as="pidEntry" key="pid">
-                       <f:if condition="{pid} > 0">
-                               <br />
-                               <f:translate
-                                       key="pagenameWithUID"
-                                       arguments="{
-                                               0: '{belog:be.pagePath(pid:\'{pid}\')}',
-                                               1: '{pid}'
-                                       }"
-                               />
-                       </f:if>
-               </f:for>
+               <p>
+                       <f:for each="{groupedLogEntries}" as="pidEntry" key="pid">
+                               <f:if condition="{pid} > 0">
+                                       <br />
+                                       <f:translate
+                                               key="pagenameWithUID"
+                                               arguments="{
+                                                       0: '{belog:be.pagePath(pid:\'{pid}\')}',
+                                                       1: '{pid}'
+                                               }"
+                                       />
+                               </f:if>
+                       </f:for>
+               </p>
        </div>
 </f:if>
 
 <f:for each="{groupedLogEntries}" as="pidEntry" key="pid">
        <div>
-               <div style="padding-top: 10px;"></div>
-               <h3>
+               <h2>
                        <f:if condition="{constraint.groupByPage}">
                                <f:then>
                                        <f:if condition="{pid} < 1">
                                        />
                                </f:else>
                        </f:if>
-               </h3>
+               </h2>
                <f:for each="{pidEntry}" as="day" key="dayTimestamp">
-                       <h4 class="uppercase">
+                       <h3>
                                <f:format.date format="{settings.dateFormat}">@{dayTimestamp}</f:format.date>
-                       </h4>
-                       <table border="0" cellspacing="0" cellpadding="0" class="typo3-dblist">
+                       </h3>
+
+                       <table class="t3-table">
                                <thead>
                                        <tr>
-                                               <th valign="top" class="t3-row-header">
+                                               <th valign="top">
                                                        <strong>
                                                                <f:translate key="chLog_l_error" />
                                                        </strong>
                                                </th>
-                                               <th class="t3-row-header"><img src="clear.gif" width="10" height="1" alt="" /></th>
-                                               <th valign="top" class="t3-row-header">
+                                               <th><img src="clear.gif" width="10" height="1" alt="" /></th>
+                                               <th valign="top">
                                                        <strong>
                                                                <f:translate key="chLog_l_time" />
                                                        </strong>
                                                </th>
-                                               <th class="t3-row-header"><img src="clear.gif" width="10" height="1" alt="" /></th>
-                                               <th valign="top" class="t3-row-header">
+                                               <th><img src="clear.gif" width="10" height="1" alt="" /></th>
+                                               <th valign="top">
                                                        <strong>
                                                                <f:translate key="chLog_l_user" />
                                                        </strong>
                                                </th>
-                                               <th class="t3-row-header"><img src="clear.gif" width="10" height="1" alt="" /></th>
-                                               <th valign="top" class="t3-row-header">
+                                               <th><img src="clear.gif" width="10" height="1" alt="" /></th>
+                                               <th valign="top">
                                                        <strong>
                                                                <f:if condition="{constraint.isInPageContext}">
                                                                        <f:then>
                                                                </f:if>
                                                        </strong>
                                                </th>
-                                               <th class="t3-row-header"><img src="clear.gif" width="10" height="1" alt="" /></th>
-                                               <th valign="top" class="t3-row-header">
+                                               <th><img src="clear.gif" width="10" height="1" alt="" /></th>
+                                               <th valign="top">
                                                        <strong>
                                                                <f:translate key="chLog_l_action" />
                                                        </strong>
                                                </th>
-                                               <th class="t3-row-header"><img src="clear.gif" width="10" height="1" alt="" /></th>
-                                               <th valign="top" class="t3-row-header">
+                                               <th><img src="clear.gif" width="10" height="1" alt="" /></th>
+                                               <th valign="top">
                                                        <strong>
                                                                <f:translate key="chLog_l_details" />
                                                        </strong>
                                                </th>
-                                               <th class="t3-row-header"><img src="clear.gif" width="10" height="1" alt="" /></th>
+                                               <th><img src="clear.gif" width="10" height="1" alt="" /></th>
                                        </tr>
                                </thead>
                                <tbody>