[ticket/12201] Center the file size and mark columns.

PHPBB3-12201
This commit is contained in:
Cesar G 2014-02-15 23:48:13 -08:00
parent efe667130d
commit 609c4efff6
2 changed files with 8 additions and 4 deletions

View file

@ -394,8 +394,8 @@
<tr> <tr>
<th>{L_FILENAME}</th> <th>{L_FILENAME}</th>
<th>{L_POSTED}</th> <th>{L_POSTED}</th>
<th>{L_FILESIZE}</th> <th class="centered-text">{L_FILESIZE}</th>
<th>{L_DELETE}</th> <th class="centered-text">{L_MARK}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -406,8 +406,8 @@
<!-- ELSE --><a href="{attachments.U_FILE}" style="font-weight: bold;">{attachments.REAL_FILENAME}</a><br /><!-- IF attachments.COMMENT -->{attachments.COMMENT}<br /><!-- ENDIF -->{attachments.L_DOWNLOAD_COUNT}<br />{L_TOPIC}{L_COLON} <a href="{attachments.U_VIEW_TOPIC}">{attachments.TOPIC_TITLE}</a><!-- ENDIF --> <!-- ELSE --><a href="{attachments.U_FILE}" style="font-weight: bold;">{attachments.REAL_FILENAME}</a><br /><!-- IF attachments.COMMENT -->{attachments.COMMENT}<br /><!-- ENDIF -->{attachments.L_DOWNLOAD_COUNT}<br />{L_TOPIC}{L_COLON} <a href="{attachments.U_VIEW_TOPIC}">{attachments.TOPIC_TITLE}</a><!-- ENDIF -->
</td> </td>
<td>{attachments.FILETIME}<br />{L_POST_BY_AUTHOR} {attachments.ATTACHMENT_POSTER}</td> <td>{attachments.FILETIME}<br />{L_POST_BY_AUTHOR} {attachments.ATTACHMENT_POSTER}</td>
<td>{attachments.FILESIZE}</td> <td class="centered-text">{attachments.FILESIZE}</td>
<td><input type="checkbox" class="radio" name="delete[{attachments.ATTACH_ID}]" /></td> <td class="centered-text"><input type="checkbox" class="radio" name="delete[{attachments.ATTACH_ID}]" /></td>
</tr> </tr>
<!-- END attachments --> <!-- END attachments -->
<tr class="row4"> <tr class="row4">

View file

@ -102,6 +102,10 @@ hr {
height: 1px; height: 1px;
} }
.centered-text {
text-align: center;
}
.small { .small {
font-size: 0.85em; font-size: 0.85em;
} }