191 |
|
|
192 |
|
|
193 |
.forked { |
.forked { |
194 |
// text-decoration: line-through; |
color: #888; |
195 |
} |
} |
196 |
|
|
197 |
.ping { |
.ping { |
198 |
color: #ff0; |
color: #0f0; |
199 |
} |
} |
200 |
|
|
201 |
.load { |
.load { |
206 |
color: #00f; |
color: #00f; |
207 |
} |
} |
208 |
|
|
|
.ready { |
|
|
color: #0f0; |
|
|
} |
|
|
|
|
209 |
.shards { |
.shards { |
210 |
font-family: monospace; |
font-family: monospace; |
211 |
// line-height: 0.8em; |
// line-height: 0.8em; |
266 |
my $class = join(' ' |
my $class = join(' ' |
267 |
, map { $_->[0] } @{ $info->{node}->{$node} } |
, map { $_->[0] } @{ $info->{node}->{$node} } |
268 |
); |
); |
269 |
$class .= ' ' . ( $info->{pending}->{$node} || 'ready' ); |
if ( my $pending = $info->{pending}->{$node} ) { |
270 |
|
$class .= " $pending"; |
271 |
|
} |
272 |
print $send qq|<tt class="$class">$node</tt>\n|; |
print $send qq|<tt class="$class">$node</tt>\n|; |
273 |
} |
} |
274 |
|
|