188 |
$body = '<!-- no body -->'; |
$body = '<!-- no body -->'; |
189 |
} |
} |
190 |
|
|
191 |
|
my $warn_colors = { |
192 |
|
'#' => '#444', |
193 |
|
'##' => '#888', |
194 |
|
}; |
195 |
|
|
196 |
$status_line |
$status_line |
197 |
.= qq|<span class="frey-popup">warn<code>| |
.= qq|<span class="frey-popup">warn<span>| |
198 |
. $self->editor_links( join("", $self->warnings ) ) |
. $self->editor_links( |
199 |
. qq|</code></span>| |
join("", map { |
200 |
|
warn "# $_"; |
201 |
|
my $style = ''; |
202 |
|
$style = $warn_colors->{$1} |
203 |
|
? ' style="color:' . $warn_colors->{$1} . '"' |
204 |
|
: '' |
205 |
|
if m{^(#+)}; |
206 |
|
qq|<tt$style>$_</tt><br/>|; # XXX <tt> should be <code> but CSS hates me |
207 |
|
} $self->warnings ) |
208 |
|
) |
209 |
|
. qq|</span></span>| |
210 |
if $self->warnings; |
if $self->warnings; |
211 |
|
|
212 |
my ($exit,$description) = ('exit','stop server'); |
my ($exit,$description) = ('exit','stop server'); |