r87433 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87432‎ | r87433 | r87434 >
Date:18:41, 4 May 2011
Author:tparscal
Status:ok
Tags:
Comment:
Colorized rating cells and added a bit more padding around all cells.
Modified paths:
  • /trunk/extensions/ArticleFeedback/SpecialArticleFeedback.php (modified) (history)
  • /trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.dashboard.css (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/SpecialArticleFeedback.php
@@ -105,7 +105,8 @@
106106 $row[] = array(
107107 'text' => round( $value, 2 ),
108108 'attr' => array(
109 - 'class' => 'articleFeedback-table-column-rating'
 109+ 'class' => 'articleFeedback-table-column-rating ' .
 110+ 'articleFeedback-table-column-score-' . round( $value )
110111 )
111112 );
112113 }
Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.dashboard.css
@@ -10,10 +10,14 @@
1111 }
1212
1313 .articleFeedback-table th {
 14+ padding-left: 0.75em;
 15+ padding-top: 0.25em;
 16+ padding-bottom: 0.25em;
1417 text-align: left;
1518 }
1619
1720 .articleFeedback-table td {
 21+ padding: 0.25em 0.75em;
1822 border-top: solid 1px #eeeeee;
1923 }
2024

Status & tagging log