PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 6.2.1
MainWP Dashboard: Self-hosted WordPress Management for Agencies v6.2.1
6.2.2 6.2.1 6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 5.2 5.2.1 All 155 releases
← All changes | modules/logs/classes/class-log-stats.php +7 -10 5.2.1 → 6.2.1 View file →
@@ -97,19 +97,16 @@
97 97 public static function render_stats_info( $data, $action, $title, $data_prev ) {
98 98 $count = static::get_stats_count( $data, $action );
99 99 $prev_count = static::get_stats_count( $data_prev, $action );
100 100 ?>
101 - <div class="center aligned middle aligned column">
102 - <div class="ui mini vertical statistic">
103 - <div class="value">
104 - <?php static::render_stats_compare( $count, $prev_count ); ?> <?php echo intval( $count ); ?>
105 - </div>
106 - <div class="label">
101 + <div class="column">
102 + <div class="ui small header">
103 + <?php static::render_stats_compare( $count, $prev_count ); ?> <?php echo intval( $count ); ?>
104 + <div class="sub header">
107 105 <?php echo esc_html( $title ); ?>
106 + <br />
107 + <span class="ui small text"><?php static::render_stats_duration_time( $data, $action ); ?></span>
108 108 </div>
109 - <span class="ui small text">
110 - <?php static::render_stats_duration_time( $data, $action ); ?>
111 - </span>
112 109 </div>
113 110 </div>
114 111 <?php
115 112 }
@@ -123,9 +120,9 @@
123 120 public static function render_stats_compare( $count, $prev_count ) {
124 121 echo '<span data-tooltip="' . intval( $count ) . ' actions this period, ' . intval( $prev_count ) . ' actions previous period, showing growth or decline." data-position="top left" data-inverted="">';
125 122 if ( $count === $prev_count ) {
126 123 ?>
127 - <i class="angle right icon"></i>
124 + <i class="angle right icon" style="float:none;"></i>
128 125 <?php
129 126 } elseif ( $count > $prev_count ) {
130 127 ?>
131 128 <i class="angle up green icon"></i>