view release on metacpan or search on metacpan
lib/Apache/Syntax/Highlight/Perl.pm view on Meta::CPAN
eval { require Digest::MD5; Digest::MD5->can('md5_hex') };
$can_cache = $@ ? 0 : 1;
}
my %default_styles = (
'Comment_Normal' => 'color:#006699;font-style:italic;',
'Comment_POD' => 'color:#001144;font-style:italic;',
'Directive' => 'color:#339999;font-style:italic;',
'Label' => 'color:#993399;font-style:italic;',
'Quote' => 'color:#0000aa;',
'String' => 'color:#0000aa;',
'Subroutine' => 'color:#998800;',
'Variable_Scalar' => 'color:#008800;',
'Variable_Array' => 'color:#ff7700;',
lib/Apache/Syntax/Highlight/Perl.pm view on Meta::CPAN
$str = '<LINK HREF="' . $r->dir_config('HighlightCSS') . '" REL="stylesheet" TYPE="text/css"><PRE>';
}
else {
while ( my($type,$style) = each %default_styles ) {
$formatter->set_format($type, [ "<span style=\"$style\">",'</span>' ] );
$str = '<PRE style="font-size:10pt;color:#333366;">';
}
}
my @lines = $formatter->format_string(<$fh>);
undef $fh;
lib/Apache/Syntax/Highlight/Perl.pm view on Meta::CPAN
=over 4
=item Comment_Normal
Default is C<{color:#006699;font-style:italic;}>
=item Comment_POD
Default is C<{color:#001144;font-family:garamond,serif;font-size:11pt;font-style:italic;}>
=item Directive
Default is C<{color:#339999;font-style:italic;}>
=item Label
Default is C<{color:#993399;font-style:italic;}>
=item Quote
Default is C<{color:#0000aa;}>
lib/Apache/Syntax/Highlight/Perl.pm view on Meta::CPAN
Default is C<{color:#880000;}>
=item Keyword
Default is C<{color:#000000; font-weight:bold;}>
=item Builtin_Function
Default is C<{color:#000000; font-weight:bold;}>
=item Builtin_Operator
Default is C<{color:#000000; font-weight:bold;}>
=item Operator
Default is C<{color:#000000;}>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/TestConfig.pm view on Meta::CPAN
run-time of the C<Apache::Test> framework:
=head2 APACHE_TEST_COLOR
To aid visual control over the configuration process and the run-time
phase, C<Apache::Test> uses coloured fonts when the environment
variable C<APACHE_TEST_COLOR> is set to a true value.
=head2 APACHE_TEST_LIVE_DEV
When using C<Apache::Test> during the project development phase, it's
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/UploadMeter/Resources/JavaScript.pm view on Meta::CPAN
}).flatten().join('');
}
Element.setContentZoom = function(element, percent) {
element = $(element);
element.setStyle({fontSize: (percent/100) + 'em'});
if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);
return element;
}
Element.getOpacity = function(element){
lib/Apache/UploadMeter/Resources/JavaScript.pm view on Meta::CPAN
setup: function() {
this.restoreAfterFinish = this.options.restoreAfterFinish || false;
this.elementPositioning = this.element.getStyle('position');
this.originalStyle = {};
['top','left','width','height','fontSize'].each( function(k) {
this.originalStyle[k] = this.element.style[k];
}.bind(this));
this.originalTop = this.element.offsetTop;
this.originalLeft = this.element.offsetLeft;
var fontSize = this.element.getStyle('font-size') || '100%';
['em','px','%','pt'].each( function(fontSizeType) {
if(fontSize.indexOf(fontSizeType)>0) {
this.fontSize = parseFloat(fontSize);
this.fontSizeType = fontSizeType;
}
}.bind(this));
this.factor = (this.options.scaleTo - this.options.scaleFrom)/100;
lib/Apache/UploadMeter/Resources/JavaScript.pm view on Meta::CPAN
this.dims = [this.options.scaleMode.originalHeight,
this.options.scaleMode.originalWidth];
},
update: function(position) {
var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position);
if(this.options.scaleContent && this.fontSize)
this.element.setStyle({fontSize: this.fontSize * currentScale + this.fontSizeType });
this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale);
},
finish: function(position) {
if(this.restoreAfterFinish) this.element.setStyle(this.originalStyle);
},
lib/Apache/UploadMeter/Resources/JavaScript.pm view on Meta::CPAN
Element.CSS_PROPERTIES = $w(
'backgroundColor backgroundPosition borderBottomColor borderBottomStyle ' +
'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth ' +
'borderRightColor borderRightStyle borderRightWidth borderSpacing ' +
'borderTopColor borderTopStyle borderTopWidth bottom clip color ' +
'fontSize fontWeight height left letterSpacing lineHeight ' +
'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+
'maxWidth minHeight minWidth opacity outlineColor outlineOffset ' +
'outlineWidth paddingBottom paddingLeft paddingRight paddingTop ' +
'right textIndent top width wordSpacing zIndex');
view all matches for this distribution
view release on metacpan or search on metacpan
UpnpImgBrowser.pm view on Meta::CPAN
qq|</div>\n\n|,
qq|<br clear="all"\n\n|,
qq|<table border=0 bgcolor="#CCCCCC">\n|,
qq| <tr><td>\n|,
qq| <table border=0 cellpadding=0 cellspacing=0 width="100%">\n|,
qq| <tr><td align="center" bgcolor="#AAAAAA"><font size="+1"><b>$dirname</font></b></td></tr>\n|,
qq| </table>\n\n|,
);
my($w, $h) = split('x', $gOptions{'thumb-size'});
UpnpImgBrowser.pm view on Meta::CPAN
$counter++;
}
} else {
output( qq|<tr><td align="center"><font size="+2"><b>No Images Available</b></font</td></tr>\n|);
}
output(qq| </table>\n\n|,);
UpnpImgBrowser.pm view on Meta::CPAN
output(qq| <option value="$pagenum">page $pagenum\n|);
}
output(
qq| </select><br>\n|,
qq| <font size="-1"><i>Total: </i>|, scalar @filelist, qq| images</font>\n|,
qq| </form>\n|,
qq| </td>\n|
);
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/VMonitor.pm view on Meta::CPAN
color: #000;
background-color: #fff;
border: 0px;
padding: 0px 0px 0px 0px;
margin: 5px 5px 5px 5px;
font-size: 0.8em;
}
p.hdr {
background-color: #ddd;
border: 2px outset;
padding: 3px;
lib/Apache/VMonitor.pm view on Meta::CPAN
}
</style>
</head>
<body bgcolor="white">
<b><font size=+1 color="#339966">Apache::VMonitor</font></b>
Refresh rate:
[%-
IF rates.size;
FOREACH item = rates;
lib/Apache/VMonitor.pm view on Meta::CPAN
sub tmpl_nav_bar {
return \ <<'EOT';
<hr>
<font size=-1>
[% IF show.size %]
Show:
[%- FOREACH item = show -%]
[ <a href="[% item.value %]">[% item.key %]</a> ]
[%- END -%]
lib/Apache/VMonitor.pm view on Meta::CPAN
[%- FOREACH item = hide -%]
[ <a href="[% item.value %]">[% item.key %]</a> ]
[%- END -%]
<br>
[% END %]
</font><hr>
EOT
}
lib/Apache/VMonitor.pm view on Meta::CPAN
# 2) 20% < swap (swapping is bad!) color: red
# 3) 70% < swap (swap almost used!) color: red
format_swap_data = "%5s av, %5s used, %5s free, %5s pagein, %5s pageout";
IF 5000 < swap.used AND swap.used < 10000;
USE format_line_swap = format("<b>Swap: <font color=\"#ff99cc\">$format_swap_data</font></b>\n");
ELSIF swap.usage >= 20;
USE format_line_swap = format("<b>Swap: <font color=\"#ff0000\">$format_swap_data</font></b>\n");
ELSIF swap.usage >= 70;
# swap on fire!
USE format_line_swap = format("<b>Swap: <font color=\"#ff0000\">$format_swap_data</font></b>\n");
ELSE;
USE format_line_swap = format("<b>Swap: $format_swap_data</b>\n");
END;
format_line_swap(swap.ftotal, swap.fused, swap.ffree, swap.fpagein, swap.fpageout);
lib/Apache/VMonitor.pm view on Meta::CPAN
format_fs = "%-${max_fs_name_len}s ";
FOR item = items;
# visual alert on filesystems of 90% usage!
IF item.blocks.usage >= 90 AND item.files.usage >= 90;
USE format_item = format("<b><font color=\"#ff0000\">$format_fs $format_blocks $format_files</font></b>\n");
ELSIF item.blocks.usage >= 90;
USE format_item = format("<b><font color=\"#ff0000\">$format_fs $format_blocks</font></b> $format_files\n");
ELSIF item.files.usage >= 90;
USE format_item = format("<b><font color=\"#ff0000\">$format_fs</font></b> $format_blocks <b><font color=\"#ff0000\">$format_files</font></b>\n");
ELSE;
USE format_item = format("$format_fs $format_blocks $format_files\n");
END;
format_item(item.path,
lib/Apache/VMonitor.pm view on Meta::CPAN
and percents.
This section has a capability of visual alert which is being triggered
when either some filesystem becomes more than 90% full or there are
less than 10% of free file inodes left. When this event happens the
filesystem related report row will be displayed in the bold font and
in the red color.
If you don't want the df(1) section to be displayed set:
$Apache::VMonitor::Config{fs_usage} = 0;
view all matches for this distribution
view release on metacpan or search on metacpan
VimColor.pm view on Meta::CPAN
$req->print ($options->{'cssfile'} ? qq(\t\t<link rel="stylesheet" type="text/css" href=") . $options->{'cssfile'} . qq(" />\n) : <<HEADER);
<style type="text/css">
<!--
a { color: inherit; background-color: transparent; }
body { background-color: black; color: white; }
div.fixed { border: 1px solid silver; font-family: monospace; padding: 1ex; }
div.notice { color: silver; background-color: inherit; font-size: smaller; text-align: right; }
h1 { font-size: medium; }
span.linenumber { white-space: pre; color: yellow; background-color: transparent; }
span.Comment { color: blue; background-color: transparent; }
span.Constant { color: red; background-color: transparent; }
span.Identifier { color: aqua; background-color: transparent; }
span.Statement { color: yellow; background-color: transparent; }
span.PreProc { color: fuchsia; background-color: transparent; }
span.Type { color: lime; background-color: transparent; }
span.Special { color: fuchsia; background-color: transparent; }
span.Underlined { color: fuchsia; background-color: transparent; text-decoration: underline; }
span.Error { background-color: red; color: white; font-weight: bold; }
span.Todo { background-color: yellow; color: black; }
-->
</style>
HEADER
$req->print (<<HEADER);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Voodoo/Debug/html/debug.css view on Meta::CPAN
div.voodooDebug {
font-family: monospace;
font-size: 11px;
position: absolute;
top: 0px;
right: 0px;
z-index: 10000;
border: 1px solid black;
}
.voodooDebug,
.voodooDebug pre {
font-family: monospace;
color: #000000;
font-size: 11px;
background-color: #f0f0f0;
}
.voodooDebug pre {
margin: 0px;
view all matches for this distribution
view release on metacpan or search on metacpan
docs/wombat.css view on Meta::CPAN
body { background: #FFFFFF;
color: #000000;
font-family: Arial,Helvetica;
font-size: 12pt; }
p, ul { font-family: Arial,Helvetica;
font-size: 12pt; }
pre { font-family: mono-space;
white-space: pre;
font-color: #333333;
font-weight: 100;
font-size: 9pt;
background-color: #eeeeee;
padding: 5pt;
width: 90%;
border-style: solid;
border-width: 2pt;
border-color: #bebebe; }
h1 { color: #336600;
font-size: 18pt;
font-weight: bold;
font-family: Verdana,Geneva,Arial,Helvetica; }
h2 { color: #333333;
font-size: 14pt;
font-weight: bold;
font-family: Verdana,Geneva,Arial,Helvetica; }
h3 { color: #333333;
font-size: 12pt;
font-weight: bold;
font-family: Verdana,Geneva,Arial,Helvetica; }
a:link { color: #336600; text-decoration: none }
a:visited { color: #336600; text-decoration: none }
code { font-size: 9pt; font-family: mono-space; }
view all matches for this distribution
view release on metacpan or search on metacpan
Wyrd/Chart.pm view on Meta::CPAN
=item 3d pie_height start_angle suppress_angle
Pie chart attributes. suppress_angle is a limit below which no line is
drawn
=item legend_font title_font x_label_font y_label_font x_axis_font
y_axis_font
Fonts. Either a file (if your system supports TTF) or one of the builtin
fonts: gdTinyFont gdSmallFont gdMediumBoldFont gdLargeFont gdGiantFont
=back
=back
Wyrd/Chart.pm view on Meta::CPAN
$dir =~ s/[^\/]+$//;
$self->_raise_exception("$dir is not writable") unless (-w $dir);
}
}
sub _ok_font {
my ($self, $font) = @_;
if ($font =~ /\//) {
#font is a file
unless ($self->{'_ttf_support'}) {
$self->_error("Font requested: $font, but no TTF support");
return;
}
#warn $font;
my $root = $self->dbl->req->document_root;
return "$root$font" if (-f "$root$font" and -r _);
$self->_error("Font requested: $font, but the file doesn't exist or can't be read");
return;
}
return $font if (grep {$font eq $_} @{$self->{'_valid_attributes'}->{'builtin_fonts'}});
return;
}
sub _image_template {
my ($self) = @_;
Wyrd/Chart.pm view on Meta::CPAN
$self->{'_ttf_support'} = $graph->can_do_ttf;
my @builtin_colors = GD::Graph::colour::colour_list;
my @color_attribs = @{$self->{'_valid_attributes'}->{'color_attr'}};
my @array_attribs = @{$self->{'_valid_attributes'}->{'array_attr'}};
my @font_attribs = @{$self->{'_valid_attributes'}->{'font_attr'}};
@font_attribs = @{$self->{'_valid_attributes'}->{'font_attr_pie'}} if ($self->{'type'} eq 'pie');
#Parse colors, allowing only valid hex or builtin colors
my %bad_colors = ();
foreach my $attrib (@color_attribs) {
my @colors = token_parse($self->{$attrib});
Wyrd/Chart.pm view on Meta::CPAN
$self->{$attrib} = \@values if (@values);
}
#call those methods that are available to all types
$self->{'text_clr'} && $graph->set_text_clr($self->{'text_clr'});
$self->{'title_font'} && $self->_ok_font($self->{'title_font'}) && $graph->set_title_font(token_parse($self->{'title_font'}));
$self->_add_chart_attributes($self->{'_valid_attributes'}->{'all'});
#then those for axis types
if ($type =~ /^(lines|hbars|bars|points|linespoints|area)$/) {
$self->_add_chart_attributes($self->{'_valid_attributes'}->{'axes'});
Wyrd/Chart.pm view on Meta::CPAN
#or those for pie types
} elsif ($type eq 'pie') {
$self->_add_chart_attributes($self->{'_valid_attributes'}->{'pie'});
}
#then parse function-based settings, such as fonts
foreach my $attrib (@font_attribs) {
next unless defined ($self->{$attrib});
my ($font, $size) = token_parse($self->{$attrib});
my $approved_font = $self->_ok_font($font);
if ($approved_font) {
eval "\$graph->set_$attrib('$approved_font', $size)";
$self->_error("Could not use font $font in attribute $attrib: $@") if ($@);
} else {
$self->_error("Could not use font $font in attribute $attrib");
}
}
$graph->set_legend(token_parse($self->{'legend'})) if $self->{'legend'};
my %settings = ();
Wyrd/Chart.pm view on Meta::CPAN
'axes' => [qw(x_label y_label box_axis two_axes zero_axis zero_axis_only x_plot_values y_plot_values y_max_value y_min_value x_tick_number x_min_value x_tick_number x_min_value x_max_value y_number_format x_label_skip y_label_skip x_tick_offset x...
'bars' => [qw(overwrite bar_width bar_spacing shadow_depth borderclrs cycle_clrs cumulate)],
'lines' => [qw(line_types line_type_scale line_width skip_undef)],
'points' => [qw(markers marker_size)],
'pie' => [qw(3d pie_height start_angle suppress_angle)],
'builtin_fonts' => [qw(gdTinyFont gdSmallFont gdMediumBoldFont gdLargeFont gdGiantFont)],
'font_attr' => [qw(legend_font title_font x_label_font y_label_font x_axis_font y_axis_font)],
'font_attr_pie' => [qw(legend_font title_font label_font value_font)],
'color_attr' => [qw(bgclr fgclr boxclr textclr labelclr axislabelclr legendclr valuesclr accentclr shadowclr dclrs)],
'array_attr' => [qw(dclrs markers)],
'boolean_attr' => [qw(transparent interlaced show_values values_vertical box_axis two_axes zero_axis zero_axis_only x_plot_values y_plot_values x_all_ticks x_labels_vertical long_ticks x_ticks correct_width cycle_clrs cumulate skip_undef 3d)]
};
$self->{'_chart_attributes'} = [];
view all matches for this distribution
view release on metacpan or search on metacpan
xsl/apache-xbel.xsl view on Meta::CPAN
margin-right:0px;
margin-left:0px;
margin-top:0px;
background:beige;
font-family:sans-serif;
}
a {
color:#666666;
text-decoration : none;
xsl/apache-xbel.xsl view on Meta::CPAN
margin-bottom:10px;
}
.breadcrumbs ul li {
display:inline;
font-size:14pt;
padding:0px;
margin:0px;
padding-right:10px;
}
xsl/apache-xbel.xsl view on Meta::CPAN
background:beige;
padding-right:10px;
padding-left:10px;
padding-top:5px;
padding-bottom:5px;
font-family:sans-serif;
font-weight:bold;
font-size:14pt;
}
.navbar .navbar-item {
padding-right:25px;
}
xsl/apache-xbel.xsl view on Meta::CPAN
.navbar .navbar-item a:hover { cursor:w-resize; }
.root {
background:#ffffff;
/* width : 60%; */
font-size:14pt;
font-weight:bold;
font-family:sans-serif;
color:maroon;
padding-left:10px;
padding-top:10px;
padding-bottom:25px;
padding-right:10px;
xsl/apache-xbel.xsl view on Meta::CPAN
border-bottom : 1px dashed #ccc;
margin-bottom:10px;
}
.folder {
font-size:12pt;
color:darkslategray;
padding-left:25px;
padding-top:5px;
display:none;
}
xsl/apache-xbel.xsl view on Meta::CPAN
.folder a:hover {
cursor:e-resize;
}
.alias {
font-weight:normal;
font-size:10pt;
padding-left:50px;
color:#adadad;
display:none;
}
xsl/apache-xbel.xsl view on Meta::CPAN
.alias:after {
content : " ]";
}
.bookmark {
font-weight:normal;
font-size:10pt;
padding-left:50px;
color:maroon;
display:none;
}
xsl/apache-xbel.xsl view on Meta::CPAN
color : #666666;
margin-bottom:10px;
}
.folder-description {
font-size:12pt;
color:beige;
}
.separator-wrapper {
padding-top:5px;padding-bottom:5px;
}
.separator {
border-top : 3px dashed #ccc;
font-size : 1px;
color : #ffffff;
}
.toggle-indicator {
font-size:10pt;
background:beige;
border:1px solid darkslategray;
width:15px;
height:10xpx;
clear:right;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/ASP/ErrorHandler.pm view on Meta::CPAN
<style type="text/css">
HTML,BODY {
background-color: #FFFFFF;
}
HTML,BODY,P,DIV {
font-family: Arial, Helvetica, Sans-Serif;
}
HTML,BODY,P,PRE,DIV {
font-size: 12px;
}
H1 {
font-size: 50px;
font-weight: bold;
}
PRE {
padding-right: 10px;
line-height: 16px;
}
lib/Apache2/ASP/ErrorHandler.pm view on Meta::CPAN
.label {
text-align: right;
padding-right: 5px;
float: left;
width: 80px;
font-weight: bold;
}
.info {
float: left;
color: #CC0000;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/AMFDeviceMonitor.pm view on Meta::CPAN
}
}
}
my $page_html="<title>Apache Mobile Filter - Device Monitor System V$VERSION</title>";
$page_html=$page_html.'<style type="text/css">body {font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #4f6b72;background: #E6EAE9}a {color: #c75f3e}caption {padding: 0 0 5px 0;width: 700px; font: italic 11px "...
$page_html=$page_html."<b>Apache Mobile Filter</b><br>Device Monitor System V$VERSION<HR><a href=\"?\">home</a> | <a href=\"?form=1\">detected devices</a> | <a href=\"?form=2\">devices not found</a><hr>";
my $dummy="null";
my $count=0;
my $page_number=30;
my $min=$ArrayQuery{page};
view all matches for this distribution
view release on metacpan or search on metacpan
examples/demo-gate/gate.css view on Meta::CPAN
#gateBody
{
width:760px;
background-color:#FCFCFC;
font-family:Verdana,Arial,Helvetica,sans-serif;
margin: 5px 10px;
padding:0;
font-size: 13px;
}
#gateBody p
{
font-size: 0.8em;
color: #888888;
font-weight: normal;
line-height: 1.2;
}
#gateBody .gate-message
{
background: yellow; width: 850px; border: 2px solid; padding: 10px; margin-bottom: 10px
}
#gateBody h1
{
font-size:40px;
margin:0 0 0.4em;
}
#gateBody h2
{
color:#555555;
margin:0 0 0.4em;
font-size: 1.2em;
}
.gate-providers
{
width: 700px;
view all matches for this distribution
view release on metacpan or search on metacpan
Auth/Auth.pm view on Meta::CPAN
<body>
<head>
<title>SecurID Authentication</title>
<style>
label {
font-family: monospace;
}
p {
font-family: sans-serif;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
Auth/Auth.pm view on Meta::CPAN
my $max_pin_len = $req->param('max_pin_len');
my $uri = $req->param('a');
my $message;
my $extra_info = qq{
<span style="font-weight: bold;">User Authenticated</span>
<label for="pin1">PIN :</label>
<input type="password" name="pin1" id="pin1"/>
<input type="hidden" name="type" value="pin"/>
<input type="hidden" name="a" value="$uri"/>
<input type="hidden" name="alphanumeric" value="$alphanumeric"/>
Auth/Auth.pm view on Meta::CPAN
<input type="password" name="pin2" id="pin2"/>
};
if ( $pin1 != $pin2 ) {
$message = qq{
<span style="font-weight: bold;">New Pin Required</span>
<p>
Pins do not match!!
</p>
<p>
Please enter a $min_pin_len to $max_pin_len digit pin.
Auth/Auth.pm view on Meta::CPAN
}
if ($alphanumeric) {
if ( $pin1 =~ /[^0-9a-zA-Z]/ ) {
$message = qq{
<span style="font-weight: bold;">New Pin Required</span>
<p>
Pin must be alphanumeric!!
</p>
<p>
Please enter a $min_pin_len to $max_pin_len digit pin.
Auth/Auth.pm view on Meta::CPAN
}
}
else {
if ( $pin1 =~ /[^0-9]/ ) {
$message = qq{
<span style="font-weight: bold;">New Pin Required</span>
<p>
Pin must be numeric!!
</p>
<p>
Please enter a $min_pin_len to $max_pin_len digit pin.
Auth/Auth.pm view on Meta::CPAN
my $pin_length = length($pin1);
if ( $pin_length < $min_pin_len || $pin_length > $max_pin_len ) {
$message = qq{
<span style="font-weight: bold;">New Pin Required</span>
<p>
Pin must be the correct length!!
</p>
<p>
Please enter a $min_pin_len to $max_pin_len digit pin.
Auth/Auth.pm view on Meta::CPAN
$uri = $crypt->decrypt_hex($uri);
# success
$message = qq{
<span style="font-weight: bold;">User Authenticated</span>
<script language="javascript">
window.location="$uri";
</script>
<!-- <p>
If you do not have Java Script enabled<br/>
Auth/Auth.pm view on Meta::CPAN
$extra_input = '';
}
elsif ( $result == 1 ) {
# failure
$message = qq{
<span style="font-weight: bold;">User Authenticated Failed</span>
<p>
Plase enter your username and passcode<br/>
Your passcode is your 4 - 8 digit pin plus<br/>
6 digit SecurID code. If you do not have<br/>
a PIN yet just enter the 6 digit SecurID code.
Auth/Auth.pm view on Meta::CPAN
};
}
elsif ( $result == 100 ) {
# failure
$message = qq{
<span style="font-weight: bold;">User Authenticated Failed</span>
<p>
The ACE server is either down or behaving<br/>
incorrectly. Please conact your system<br/>
administrator.
</p>
};
}
elsif ( $result == 2 ) {
# next token code
$message = qq{
<span style="font-weight: bold;">Next Token Required</span>
<p>
Plase wait for you token to change and enter<br/>
the 6 digit SecurID token code.
</p>
};
Auth/Auth.pm view on Meta::CPAN
}
elsif ( $result == 5 ) {
# New PIN required.
if ( $$info{user_selectable} >= 1 ) {
$message = qq|
<span style="font-weight: bold;">New Pin Required</span>
<p>
Please enter a $$info{min_pin_len} to $$info{max_pin_len} digit pin.
</p>
|;
$extra_input = qq|
Auth/Auth.pm view on Meta::CPAN
|;
}
else {
$message = qq|
<span style="font-weight: bold;">You have been assigned a new PIN.</span>
<p>
Your PIN is: <$$info{system_pin}</span><p>
Please remember your PIN. Do not share it<br/>
with anyone else.
</p>
Auth/Auth.pm view on Meta::CPAN
|;
}
}
elsif ( $result == 6 ) {
$message = qq{
<span style="font-weight: bold;">PIN Accepted</span>
<p>
Please remember you PIN. Do not share it<br/>
with anyone else.
</p>
<p>
Auth/Auth.pm view on Meta::CPAN
</p>
};
}
elsif ( $result == 7 ) {
$message = qq{
<span style="font-weight: bold;">PIN Rejected</span>
<p>
If you're having difficulties, please contact<br/>
the system administrator.<br/><br/>
Please enter your username and passcode<br/>
Your passcode is your 4 - 8 digit pin plus<br/>
view all matches for this distribution
view release on metacpan or search on metacpan
examples/apache/htdocs/index.xslt view on Meta::CPAN
body {
background-color: #ffffff;
margin: 0px 0px 0px 0px;
}
table.dhIndex {
font-family: Tahoma, sans-serif;
font-size: 8pt;
white-space: nowrap;
height: 100%;
}
table.dhIndex th {
white-space: nowrap;
examples/apache/htdocs/index.xslt view on Meta::CPAN
padding-left: 4px;
padding-right: 4px;
padding-bottom: 1px;
}
table.dhIndex td, table.dhIndex div.inUp, table.dhIndex div.inDown {
font-weight: normal;
font-family: Tahoma, sans-serif;
font-size: 8pt;
text-align: left;
}
table.dhIndex td.filecol {
background: #F7F7F7;
}
view all matches for this distribution
view release on metacpan or search on metacpan
k,b[0],b[1],K.completeDiv.prefixStrings)}else{D++;Qa=(new Date).getTime();if(F){ob(a)}else{ta("qu",a,null,E,null,null);frames["completionFrame"].document.location.reload(true)}}d.focus()}da=false}qa=k;setTimeout("idfn()",bb(D));return true};setTimeou...
for(var c=0;c<A;c++){if(U[c]==n){r=c;break}}},ib=function(){s(this,"aAutoComplete")};function sa(a){S="t";k=M;N(M);w=M;if(!U||A<=0)return;Sa();if(n)s(n,"aAutoComplete");if(a==A||a==-1){r=-1;d.focus();return}else if(a>A){a=0}else if(a<-1){a=A-1}r=a;n=...
f.length;A=h;U=f;pa=h;M=k;if(k==""||h==0){B()}else{Sa()}var g="";if(k.length>0){var l,o;for(var l=0;l<h;l++){for(o=0;o<a.prefixStrings.length;o++){var y=a.prefixStrings[o]+k;if(ha||!aa&&b(f.item(l)).toUpperCase().indexOf(y.toUpperCase())==0||aa&&l==0...
true;break;default:break}if(!wa&&n){var ea=k;s(n,"bAutoComplete");var Q;if(e)Q=b(n).substr(a.prefixStrings[o].length);else Q=ea;if(Q!=c.value){if(c.value!=k)return;if(J){if(c.createTextRange||c.setSelectionRange)N(Q);if(c.createTextRange){var xa=c.cr...
a+"="+b+(c?"; expires="+c.toGMTString():"")+(e?"; path="+e:"")+(f?"; domain="+f:"")+(h?"; secure":"");document.cookie=g}function Ra(){var a=document.body.scrollWidth-220;a=0.73*a;d.size=Math.floor(a/6.18)}function P(a){var b=-1;if(a.createTextRange){...
1);b=a.value.length-c.text.length}else if(a.setSelectionRange){b=a.selectionStart}else{b=-1}return b}function Wa(a){if(a.createTextRange){var b=a.createTextRange();b.moveStart("character",a.value.length);b.select()}else if(a.setSelectionRange){a.setS...
a.style.paddingLeft="3";a.style.paddingRight="3";a.style.height="16px";a.style.overflow="hidden";break;case "a":a.style.backgroundColor="white";a.style.color="black";if(a.displaySpan){a.displaySpan.style.color="green"}break;case "b":a.style.backgroun...
V;a.style.width=100-v+"%";if(x=="query"){a.style.fontSize="10px";a.style.textAlign=V;a.style.color="green";a.style.paddingTop="3px"}else{a.style.color="#696969"}break}}function Ba(){v=65;if(x=="query"){var a=110,b=Ha(),c=(b-a)/b*100;v=c}else{v=65}if(...
h="display: block; margin-"+G+": 0%; width: "+v+"%; float: "+G+";",g="display: block; margin-"+G+": "+v+"%;";if(x=="query"){g+="font-size: 10px; text-align: "+V+"; color: green; padding-top: 3px;"}else{g+="color: #696969;"}z(".mAutoComplete",b);z(".l...
s(f,"aAutoComplete");f.onmousedown=gb;f.onmousemove=hb;f.onmouseout=ib;var h=document.createElement("SPAN");s(h,"lAutoComplete");if(u.substring(0,2)=="zh")h.style.height=d.offsetHeight-4;else h.style.height=d.offsetHeight-6;var g=document.createEleme...
if(c.addRule){c.addRule(a,b)}else if(c.insertRule){c.insertRule(a+" { "+b+" }",c.cssRules.length)}}}function Ja(){var a=null;try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(c){a=null}}if(!a&&typeo...
1000;break;case 302:case 500:case 502:case 503:I++;break;case 200:var b=q.responseText;if(b.charAt(0)!="<"&&(b.indexOf("sendRPCDone")!=-1||b.indexOf("Suggest_apply")!=-1))eval(b);else D--;default:I=0;break}}};q.send(null)}}function N(a){d.value=a;Z=a...
b){if(a==X&&b==Y){qb()}};function qb(){Fa();sa(r+1)};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/EmbedFLV/Template.pm view on Meta::CPAN
<body>
<style media="screen" type="text/css">
body {
background:#262523 none repeat scroll 0 0;
color:#DDDDCC;
font-family:"Trebuchet MS",Helvetica,Arial,sans-serif;
font-size:14px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:1.5em;
}
/* Header */
#header {
margin: 1em auto;
lib/Apache2/EmbedFLV/Template.pm view on Meta::CPAN
padding: 1em;
}
h1 {
font-size: 3em;
font-weight: bold;
line-height: 1em;
}
.video{
text-align:center;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/EmbedMP3/Template.pm view on Meta::CPAN
<body>
<style media="screen" type="text/css">
body {
background:#262523 none repeat scroll 0 0;
color:#DDDDCC;
font-family:"Trebuchet MS",Helvetica,Arial,sans-serif;
font-size:14px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:1.5em;
}
/* Header */
#header {
margin: 1em auto;
lib/Apache2/EmbedMP3/Template.pm view on Meta::CPAN
padding: 1em;
}
h1 {
font-size: 3em;
font-weight: bold;
line-height: 1em;
}
.video{
text-align:center;
}
view all matches for this distribution
view release on metacpan or search on metacpan
FileManager.pm view on Meta::CPAN
return "
<STYLE TYPE='text/css'>
<!--
BODY {
background-color: white;
font-family: serif;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
view all matches for this distribution
view release on metacpan or search on metacpan
t/htdocs/stylesheet.less view on Meta::CPAN
#header {
color: red;
a {
font-weight: bold;
text-decoration: underline;
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/htdocs/index.200.html view on Meta::CPAN
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>Apache HTTP Server Version 2.2
Documentation - Apache HTTP Server</title>
sup! <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
sup! <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="./images/favicon.ico" rel="shortcut icon" /></head>
<body id="index-page">
<div id="page-header">
sup! <p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p>
view all matches for this distribution
view release on metacpan or search on metacpan
examples/xml2_test.html view on Meta::CPAN
<STYLE TYPE="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
H1 { margin-bottom: 0.21cm }
H1.western { font-family: "Arial", sans-serif; font-size: 16pt }
H1.cjk { font-family: "Bitstream Vera Sans"; font-size: 16pt }
H1.ctl { font-family: "Bitstream Vera Sans"; font-size: 16pt }
-->
</STYLE>
</HEAD>
<BODY LANG="de-DE" DIR="LTR">
<H1 CLASS="western">Test für mod_xml2</H1>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/ErrorReport.pm view on Meta::CPAN
my $repeat = ( 512 < $bytes_sent ) ? 0 : 512 - $bytes_sent ;
# send a large comment in front of the page so MSIE displays it too.
my $html_msg =
'<!-- ' . ( ' ' ) x $repeat . " -->\n"
. qq{<pre><font color="$color">$_[1]: $stacktrace</font></pre><br>};
if ( $bytes_sent ) {
print $html_msg;
}
else {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/Pod/HTML.pm view on Meta::CPAN
sub _css {
return <<'EOF';
BODY {
background: white;
color: black;
font-family: times,serif;
margin: 0;
padding: 1ex;
}
TABLE {
lib/Apache2/Pod/HTML.pm view on Meta::CPAN
}
H1 {
background: transparent;
color: #006699;
font-size: x-large;
font-family: tahoma,sans-serif;
}
H2 {
background: transparent;
color: #006699;
font-size: large;
font-family: tahoma,sans-serif;
}
.block {
background: transparent;
}
TD .block {
color: #006699;
background: #dddddd;
padding: 0.2em;
font-size: large;
}
HR {
display: none;
}
view all matches for this distribution
view release on metacpan or search on metacpan
0.08 Thu Feb 24 16:36:32 CET 2011
- fixing browser issue with monospace font sizes
- fix :withtestmore in test files
0.07 Tue Jun 22 16:38:18 CEST 2010
- skip tests that need BrowserMatch unless mod_setenvif is present
- MMapDB cache for POD index page
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/Tail.pm view on Meta::CPAN
else {
return <<'EOF';
<style type="text/css">
body {
font-family: 'Courier New', courier, monospace;
font-size: 8pt;
line-height: 10pt;
color: #333333;
}
td {
lib/Apache2/Tail.pm view on Meta::CPAN
align: top;
background-color: #eee;
}
td.timestamp {
font-size: 8pt;
text-align: center;
width: 130px;
}
tr.warn td {
lib/Apache2/Tail.pm view on Meta::CPAN
tr.notice td {
background-color: #DFE7FF;
}
.vhost {
font-style: italic;
}
.loglevel {
text-align: center;
}
lib/Apache2/Tail.pm view on Meta::CPAN
}
tr.notice td.loglevel {
color: #00C;
font-weight: bold;
}
tr.debug td.loglevel{
}
tr.warn td.loglevel {
font-weight: bold;
color: #FF803E;
}
tr.error td.loglevel {
color: #F00;
font-weight: bold;
}
.client {
color: #333333;
}
lib/Apache2/Tail.pm view on Meta::CPAN
.message {
padding-left: .5em;
}
tr.error td.message, tr.warn td.message, tr.notice td.message {
font-weight: bold;
}
</style>
EOF
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/Translation/Admin/effects.js view on Meta::CPAN
}).flatten().join('');
};
Element.setContentZoom = function(element, percent) {
element = $(element);
element.setStyle({fontSize: (percent/100) + 'em'});
if (Prototype.Browser.WebKit) window.scrollBy(0,0);
return element;
};
Element.getInlineOpacity = function(element){
lib/Apache2/Translation/Admin/effects.js view on Meta::CPAN
setup: function() {
this.restoreAfterFinish = this.options.restoreAfterFinish || false;
this.elementPositioning = this.element.getStyle('position');
this.originalStyle = { };
['top','left','width','height','fontSize'].each( function(k) {
this.originalStyle[k] = this.element.style[k];
}.bind(this));
this.originalTop = this.element.offsetTop;
this.originalLeft = this.element.offsetLeft;
var fontSize = this.element.getStyle('font-size') || '100%';
['em','px','%','pt'].each( function(fontSizeType) {
if (fontSize.indexOf(fontSizeType)>0) {
this.fontSize = parseFloat(fontSize);
this.fontSizeType = fontSizeType;
}
}.bind(this));
this.factor = (this.options.scaleTo - this.options.scaleFrom)/100;
lib/Apache2/Translation/Admin/effects.js view on Meta::CPAN
this.dims = [this.options.scaleMode.originalHeight,
this.options.scaleMode.originalWidth];
},
update: function(position) {
var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position);
if (this.options.scaleContent && this.fontSize)
this.element.setStyle({fontSize: this.fontSize * currentScale + this.fontSizeType });
this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale);
},
finish: function(position) {
if (this.restoreAfterFinish) this.element.setStyle(this.originalStyle);
},
lib/Apache2/Translation/Admin/effects.js view on Meta::CPAN
Element.CSS_PROPERTIES = $w(
'backgroundColor backgroundPosition borderBottomColor borderBottomStyle ' +
'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth ' +
'borderRightColor borderRightStyle borderRightWidth borderSpacing ' +
'borderTopColor borderTopStyle borderTopWidth bottom clip color ' +
'fontSize fontWeight height left letterSpacing lineHeight ' +
'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+
'maxWidth minHeight minWidth opacity outlineColor outlineOffset ' +
'outlineWidth paddingBottom paddingLeft paddingRight paddingTop ' +
'right textIndent top width wordSpacing zIndex');
view all matches for this distribution
view release on metacpan or search on metacpan
examples/css/progress_bluebar.css view on Meta::CPAN
.progressmeter {
font-family: Arial;
font-size: 10pt;
text-align: center;
}
.progressmeter table {
}
.progressmeter th {
font-weight: bold;
text-align: right;
}
.progressmeter td {
text-align: left;
examples/css/progress_bluebar.css view on Meta::CPAN
top: 0px;
left: 0px;
z-index: 1000;
height: 18px;
text-align: center;
font-family: Arial;
font-size: 15px;
font-weight: bold;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache2/AMFDeviceMonitor.pm view on Meta::CPAN
$f->ctx(1);
}
$f->r->content_type('text/html');
$f->print("<title>Apache Mobile Filter - Device Monitor System V$VERSION</title>");
$f->print('<style type="text/css">body {font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #4f6b72;background: #E6EAE9}a {color: #c75f3e}caption {padding: 0 0 5px 0;width: 700px; font: italic 11px "Trebuchet MS...
$f->print("<b>Apache Mobile Filter</b><br>Device Monitor System V$VERSION<HR><a href=\"?\">home</a> | <a href=\"?form=1\">detected devices</a> | <a href=\"?form=2\">devices not found</a><hr>");
my $dummy="null";
my $count=0;
my $page_number=30;
my $min=$ArrayQuery{page};
view all matches for this distribution