Showing 5 changed files with 6 additions and 2 deletions
+2
.htaccess
... ...
@@ -3,3 +3,5 @@ deny from all
3 3
 <Files ~ "gitprep\.cgi">
4 4
 allow from all
5 5
 </Files>
6
+
7
+DirectoryIndex index.cgi
+1
cpanfile
... ...
@@ -33,3 +33,4 @@ requires 'Data::Page::Navigation', '== 0.06';
33 33
 requires 'Mojolicious::Plugin::BasicAuth', '== 0.08';
34 34
 requires 'Mojolicious::Plugin::AutoRoute', '== 0.19';
35 35
 requires 'Mojolicious::Plugin::INIConfig', '== 0.03';
36
+requires 'Mojolicious::Plugin::DBViewer', '== 0.28';
+2 -1
lib/Gitprep.pm
... ...
@@ -18,7 +18,7 @@ use Mojolicious::Plugin::AutoRoute::Util 'template';
18 18
   eval {require Digest::SHA; import Digest::SHA qw(sha1 sha1_hex)};
19 19
 }
20 20
 
21
-our $VERSION = 'v1.12';
21
+our $VERSION = 'v2.00_dev';
22 22
 
23 23
 has 'dbi';
24 24
 has 'git';
... ...
@@ -180,6 +180,7 @@ sub startup {
180 180
     my $r = $self->routes;
181 181
 
182 182
     # DBViewer(only development)
183
+    # /dbviewer
183 184
     if ($self->mode eq 'development') {
184 185
       eval {
185 186
         $self->plugin(
public/css/bootstrap.css → public/css/common.css
File renamed without changes.
+1 -1
templates/layouts/common.html.ep
... ...
@@ -17,7 +17,7 @@
17 17
     <meta name="robots" content="index, nofollow" >
18 18
     % my $title = stash('title');
19 19
     <title><%= $title ? "$title \x{30fb} Gitprep" : 'Gitprep' %></title>
20
-    %= stylesheet '/css/bootstrap.css', rel => 'stylesheet', media => 'screen';
20
+    %= stylesheet '/css/common.css', rel => 'stylesheet', media => 'screen';
21 21
     % for my $stylesheet (@$stylesheets) {
22 22
       %= stylesheet $stylesheet;
23 23
     % }