Newer Older
97 lines | 2.791kb
copy gitweblite soruce code
root authored on 2012-11-23
1
<!DOCTYPE html>
2
<html>
3
  <head>
4
    <title><%= $title %></title>
update Mojolicious 4.07
Yuki Kimoto authored on 2013-06-03
5
    %= javascript '/mojo/prettify/run_prettify.js'
update Mojolicious to 4.57
Yuki Kimoto authored on 2013-12-02
6
    %= stylesheet '/mojo/prettify/prettify-mojo-light.css'
copy gitweblite soruce code
root authored on 2012-11-23
7
    %= stylesheet begin
8
      a { color: inherit }
9
      a:hover { color: #2a2a2a }
10
      a img { border: 0 }
11
      body {
update Mojolicious to 4.57
Yuki Kimoto authored on 2013-12-02
12
        background: url(<%= url_for '/mojo/pinstripe-light.png' %>);
copy gitweblite soruce code
root authored on 2012-11-23
13
        color: #445555;
14
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
15
        font-weight: normal;
upgraded Mojolicious to v3.7...
Yuki Kimoto authored on 2013-01-28
16
        line-height: 1.5em;
copy gitweblite soruce code
root authored on 2012-11-23
17
        margin: 0;
18
      }
19
      h1, h2, h3 {
20
        color: #2a2a2a;
21
        font-size: 1.5em;
22
        margin: 0;
23
      }
24
      h1 a, h2 a, h3 a { text-decoration: none }
25
      pre {
update Mojolicious to 4.57
Yuki Kimoto authored on 2013-12-02
26
        background: url(<%= url_for '/mojo/stripes.png' %>);
27
        border: 1px solid #d1d1d1;
28
        box-shadow: 0 1px #fff, inset -1px 1px 4px rgba(0, 0, 0, 0.1);
29
        color: #4d4d4c;
30
        font: 0.9em Consolas, Menlo, Monaco, Courier, monospace;
31
        line-height: 1.5em;
copy gitweblite soruce code
root authored on 2012-11-23
32
        padding-bottom: 1.5em;
33
        padding-top: 1.5em;
update Mojolicious to 4.57
Yuki Kimoto authored on 2013-12-02
34
        text-align: left;
35
        text-shadow: #eee 0 1px 0;
copy gitweblite soruce code
root authored on 2012-11-23
36
        white-space: pre-wrap;
37
      }
38
      #footer {
39
        padding-top: 1em;
40
        text-align: center;
41
      }
42
      #perldoc {
43
        background-color: #fff;
44
        border-bottom-left-radius: 5px;
45
        border-bottom-right-radius: 5px;
update Mojolicious to 4.57
Yuki Kimoto authored on 2013-12-02
46
        box-shadow: 0px 0px 2px #999;
copy gitweblite soruce code
root authored on 2012-11-23
47
        margin-left: 5em;
48
        margin-right: 5em;
49
        padding: 3em;
upgraded Mojolicious to v3.7...
Yuki Kimoto authored on 2013-01-28
50
        padding-top: 70px;
copy gitweblite soruce code
root authored on 2012-11-23
51
      }
52
      #perldoc > ul:first-of-type a { text-decoration: none }
update Mojolicious to 4.57
Yuki Kimoto authored on 2013-12-02
53
      #source { padding-bottom: 1em }
copy gitweblite soruce code
root authored on 2012-11-23
54
      #wrapperlicious {
55
        max-width: 1000px;
56
        margin: 0 auto;
57
      }
58
    % end
59
  </head>
update Mojolicious 4.07
Yuki Kimoto authored on 2013-06-03
60
  <body>
upgraded Mojolicious to v3.7...
Yuki Kimoto authored on 2013-01-28
61
    %= include inline => app->renderer->_bundled('mojobar')
copy gitweblite soruce code
root authored on 2012-11-23
62
    <div id="wrapperlicious">
63
      <div id="perldoc">
update Mojolicious to 4.57
Yuki Kimoto authored on 2013-12-02
64
        <div id="source">
65
          % my $path;
66
          % for my $part (split '/', $module) {
67
            %= '::' if $path
68
            % $path .= "/$part";
69
            %= link_to $part => url_for("/perldoc$path")
70
          % }
71
          (<%= link_to 'source' => url_for("/perldoc$path.txt") %>)
72
        </div>
copy gitweblite soruce code
root authored on 2012-11-23
73
        <h1><a id="toc">TABLE OF CONTENTS</a></h1>
74
        <ul>
75
          % for my $part (@$parts) {
76
            <li>
update Mojolicious to 4.57
Yuki Kimoto authored on 2013-12-02
77
              %= link_to splice(@$part, 0, 2)
copy gitweblite soruce code
root authored on 2012-11-23
78
              % if (@$part) {
79
                <ul>
80
                  % while (@$part) {
update Mojolicious to 4.57
Yuki Kimoto authored on 2013-12-02
81
                    <li><%= link_to splice(@$part, 0, 2) %></li>
copy gitweblite soruce code
root authored on 2012-11-23
82
                  % }
83
                </ul>
84
              % }
85
            </li>
86
          % }
87
        </ul>
88
        %= content_for 'perldoc'
89
      </div>
90
    </div>
91
    <div id="footer">
92
      %= link_to 'http://mojolicio.us' => begin
update Mojolicious and added...
Yuki Kimoto authored on 2013-03-20
93
        %= image '/mojo/logo-black.png', alt => 'Mojolicious logo'
copy gitweblite soruce code
root authored on 2012-11-23
94
      % end
95
    </div>
96
  </body>
97
</html>