/usr/share/perl5/Mojolicious/templates/perldoc.html.ep is in libmojolicious-perl 5.54+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | <!DOCTYPE html>
<html>
<head>
<title><%= $title %></title>
%= javascript '/mojo/prettify/run_prettify.js'
%= stylesheet '/mojo/prettify/prettify-mojo-light.css'
<style>
a { color: inherit }
a:hover { color: #2a2a2a }
a img { border: 0 }
body {
background: url(<%= url_for '/mojo/pinstripe-light.png' %>);
color: #445555;
font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
font-weight: normal;
line-height: 1.5em;
margin: 0;
}
:not(pre) > code {
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
padding: 0.3em;
}
h1, h2, h3 {
color: #2a2a2a;
display: inline-block;
font-size: 1.5em;
margin: 0;
position: relative;
}
h1 a, h2 a, h3 a { text-decoration: none }
li > p {
margin-bottom: 0;
margin-top: 0;
}
pre {
background: url(<%= url_for '/mojo/stripes.png' %>);
border: 1px solid #d1d1d1;
border-radius: 3px;
box-shadow: 0 1px #fff, inset -1px 1px 4px rgba(0, 0, 0, 0.1);
font: 100% Consolas, Menlo, Monaco, Courier, monospace;
padding: 1em;
padding-bottom: 1.5em;
padding-top: 1.5em;
}
pre > code {
color: #4d4d4c;
font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
line-height: 1.5em;
text-align: left;
text-shadow: #eee 0 1px 0;
white-space: pre-wrap;
}
ul { list-style-type: square }
#footer {
padding-top: 1em;
text-align: center;
}
#perldoc {
background-color: #fff;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
box-shadow: 0px 0px 2px #999;
margin-left: 5em;
margin-right: 5em;
padding: 3em;
padding-top: 70px;
}
#perldoc > ul:first-of-type a { text-decoration: none }
#source { padding-bottom: 1em }
#wrapperlicious {
max-width: 1000px;
margin: 0 auto;
}
.permalink {
display: none;
left: -0.75em;
position: absolute;
padding-right: 0.25em;
}
h1:hover .permalink, h2:hover .permalink, h3:hover .permalink {
display: block;
}
</style>
</head>
<body>
%= include inline => app->renderer->_bundled('mojobar')
<div id="wrapperlicious">
<div id="perldoc">
<div id="source">
% my $path;
% for my $part (split '/', $module) {
%= '::' if $path
% $path .= "/$part";
%= link_to $part => url_for("/perldoc$path")
% }
(<%= link_to 'source' => url_for("/perldoc$path.txt") %>)
</div>
<h1><a id="toc">TABLE OF CONTENTS</a></h1>
<ul>
% for my $part (@$parts) {
<li>
%= link_to splice(@$part, 0, 2)
% if (@$part) {
<ul>
% while (@$part) {
<li><%= link_to splice(@$part, 0, 2) %></li>
% }
</ul>
% }
</li>
% }
</ul>
%= content_for 'perldoc'
</div>
</div>
<div id="footer">
%= link_to 'http://mojolicio.us' => begin
%= image '/mojo/logo-black.png', alt => 'Mojolicious logo'
% end
</div>
</body>
</html>
|