mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:47:02 +02:00
Fixed #758: sphinx index watcher
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -115,8 +115,8 @@ cite{font-style:normal;}
|
||||
a.muted:hover{color:#808080;}
|
||||
.text-warning{color:#c09853;}
|
||||
a.text-warning:hover{color:#a47e3c;}
|
||||
.text-error{color:#b94a48;}
|
||||
a.text-error:hover{color:#953b39;}
|
||||
.text-error{color:#b94a48;font-weight:bold;}
|
||||
a.text-error:hover{color:#953b39;font-weight:bold;}
|
||||
.text-info{color:#3a87ad;}
|
||||
a.text-info:hover{color:#2d6987;}
|
||||
.text-success{color:#468847;}
|
||||
|
@ -61,6 +61,7 @@
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@ -154,6 +155,10 @@
|
||||
<td><?php print $text_usage_trend; ?></td>
|
||||
<td><?php if ( $usagetrend > 0 ) { print $text_usage_increasing; } elseif( $usagetrend < 0 ) { print $text_usage_decreasing; } else { print $text_usage_neutral; } ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sphinx main index</td>
|
||||
<td<?php if($sphinx_current_main_size > SPHINX_MAIN_INDEX_THRESHOLD) { ?> class="text-error"<?php } ?>><?php print nice_size($sphinx_current_main_size); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user