gitprep / templates / layouts / common.html.ep /
Newer Older
35 lines | 1.219kb
improved performance a littl...
Yuki Kimoto authored on 2013-04-30
1
<%
2
  my $stylesheets = stash('stylesheets') || [];
add commits atom alternate t...
Yuki Kimoto authored on 2014-12-03
3
  my $user = stash('user');
4
  $user = '' unless defined $user;
5
  my $project = stash('project');
6
  $project = '' unless defined $project;
7
  my $rev = stash('rev');
8
  if (length $user && length $project && !defined $rev) {
9
    $rev = app->manager->default_branch($user, $project);
10
  }
11
  $rev = '' unless $rev;
improved performance a littl...
Yuki Kimoto authored on 2013-04-30
12
%>
desinged blob page source
Yuki Kimoto authored on 2013-01-29
13
<!DOCTYPE html>
copy gitweblite soruce code
root authored on 2012-11-23
14
<html>
15
  <head>
desinged blob page source
Yuki Kimoto authored on 2013-01-29
16
    <meta charset="UTF-8">
copy gitweblite soruce code
root authored on 2012-11-23
17
    <meta name="robots" content="index, nofollow" >
add title
Yuki Kimoto authored on 2013-06-12
18
    % my $title = stash('title');
19
    <title><%= $title ? "$title \x{30fb} Gitprep" : 'Gitprep' %></title>
add Mojolicious::Plugin::DBV...
Yuki Kimoto authored on 2016-03-26
20
    %= stylesheet '/css/common.css', rel => 'stylesheet', media => 'screen';
improved performance a littl...
Yuki Kimoto authored on 2013-04-30
21
    % for my $stylesheet (@$stylesheets) {
22
      %= stylesheet $stylesheet;
23
    % }
upgrade jquery to 1.9.0
Yuki Kimoto authored on 2013-02-03
24
    %= javascript '/js/jquery-1.9.0.min.js';
improved performance a littl...
Yuki Kimoto authored on 2013-04-30
25
    %= javascript '/js/bootstrap.min.js';
added google code prettify a...
Yuki Kimoto authored on 2013-03-15
26
    
copy gitweblite soruce code
root authored on 2012-11-23
27
    <link rel="shortcut icon" href="<%= url_for('/git-favicon.png') %>" type="image/png" >
add commits atom alternate t...
Yuki Kimoto authored on 2014-12-03
28
    % if (length $user && length $project && length $rev) {
29
      <link href="<%= url_for("/$user/$project/commits/$rev.atom")->to_abs %>" rel="alternate" title="Recent Commits to <%= "$project:$rev" %>" type="application/atom+xml">
30
    % }
copy gitweblite soruce code
root authored on 2012-11-23
31
  </head>
32
  <body>
33
    %= content;
34
  </body>
35
</html>