publish
This commit is contained in:
@@ -34,7 +34,7 @@ sub check {
|
|||||||
sub _read{
|
sub _read{
|
||||||
my ($q,@bind)=@_;
|
my ($q,@bind)=@_;
|
||||||
my (@empty,$arr);
|
my (@empty,$arr);
|
||||||
my $dbh = DBI->connect("DBI:mysql:".Dojo::Conf::GRULLADB.":".Dojo::Conf::GRULLADB_H,Dojo::Conf::GRULLADB_UR,Dojo::Conf::GRULLADB_URP);
|
my $dbh = DBI->connect("DBI:mysql:".Dojo::Conf::GRULLADB.":".Dojo::Conf::GRULLADB_H,Dojo::Conf::GRULLADB_UR,Dojo::Conf::GRULLADB_URP,{mysql_enable_utf8 => 1});
|
||||||
return \@empty unless($dbh);
|
return \@empty unless($dbh);
|
||||||
#$dbh->do(qq{SET NAMES 'utf8'});
|
#$dbh->do(qq{SET NAMES 'utf8'});
|
||||||
my $h=$dbh->selectall_arrayref($q,{ Slice => {} },@bind);
|
my $h=$dbh->selectall_arrayref($q,{ Slice => {} },@bind);
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ use Mojo::Base 'Mojolicious::Controller';
|
|||||||
|
|
||||||
|
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
|
use Encode qw(decode_utf8 encode_utf8);
|
||||||
use Text::Markdown qw{ markdown };
|
use Text::Markdown qw{ markdown };
|
||||||
use Encode qw{ decode_utf8 };
|
|
||||||
use DBI;
|
use DBI;
|
||||||
use Dojo::Conf;
|
use Dojo::Conf;
|
||||||
|
|
||||||
@@ -147,7 +147,7 @@ sub tst{
|
|||||||
sub _read{
|
sub _read{
|
||||||
my ($q,@bind)=@_;
|
my ($q,@bind)=@_;
|
||||||
my @empty;
|
my @empty;
|
||||||
my $dbh = DBI->connect("DBI:mysql:".Dojo::Conf::VUELODB.":".Dojo::Conf::VUELODB_H,Dojo::Conf::VUELODB_UR,Dojo::Conf::VUELODB_URP);
|
my $dbh = DBI->connect("DBI:mysql:".Dojo::Conf::VUELODB.":".Dojo::Conf::VUELODB_H,Dojo::Conf::VUELODB_UR,Dojo::Conf::VUELODB_URP, {mysql_enable_utf8 => 1});
|
||||||
return \@empty unless($dbh);
|
return \@empty unless($dbh);
|
||||||
my $h=$dbh->selectall_arrayref($q,{ Slice => {} },@bind);
|
my $h=$dbh->selectall_arrayref($q,{ Slice => {} },@bind);
|
||||||
$dbh->disconnect();
|
$dbh->disconnect();
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ div.logo{
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
#courtain{
|
#courtain{
|
||||||
|
height:150vh;
|
||||||
-webkit-animation: oopacity 2s ease-out 6s, clear 3s 6.5s;
|
-webkit-animation: oopacity 2s ease-out 6s, clear 3s 6.5s;
|
||||||
-webkit-animation-fill-mode:both,both;
|
-webkit-animation-fill-mode:both,both;
|
||||||
}
|
}
|
||||||
@@ -26,14 +27,30 @@ animation-delay:5s;
|
|||||||
animation-duration:1s;
|
animation-duration:1s;
|
||||||
animation-fill-mode:backwards;
|
animation-fill-mode:backwards;
|
||||||
}
|
}
|
||||||
|
div.dotsw{
|
||||||
|
margin-left: 44vw;
|
||||||
|
}
|
||||||
|
div.dots{
|
||||||
|
width: 32px;
|
||||||
|
height: 11px;
|
||||||
|
display: inline-block;
|
||||||
|
background-color:#c22a39;
|
||||||
|
animation-name:color;
|
||||||
|
animation-timing-function:ease-in;
|
||||||
|
animation-delay:0s;
|
||||||
|
animation-duration:6s;
|
||||||
|
animation-fill-mode:forwards;
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes modIntro{ 0%{opacity:0;} 100%{opacity:1;} }
|
@keyframes modIntro{ 0%{opacity:0;} 100%{opacity:1;} }
|
||||||
@keyframes oopacity { 0%{ opacity:1; } 100%{ opacity:0; } }
|
@keyframes oopacity { 0%{ opacity:1; } 100%{ opacity:0; } }
|
||||||
@keyframes clear{ 0%{ height:150vh; } 100%{ height:0px; } }
|
@keyframes clear{ 0%{ height:150vh; } 100%{ height:0px; } }
|
||||||
@keyframes nintro{ 0% { position:absolute; top:-200px; } 100% { top:0px;} }
|
@keyframes nintro{ 0% { position:absolute; top:-200px; } 100% { top:0px;} }
|
||||||
|
@keyframes color{ 0%{background-color:#ffff;} 100%{background-color:#c22a39;} }
|
||||||
|
|
||||||
@-webkit-keyframes modIntro{ 0%{opacity:0;} 100%{opacity:1;} }
|
@-webkit-keyframes modIntro{ 0%{opacity:0;} 100%{opacity:1;} }
|
||||||
@-webkit-keyframes oopacity { 0%{ opacity:1; } 100%{ opacity:0; } }
|
@-webkit-keyframes oopacity { 0%{ opacity:1; } 100%{ opacity:0; } }
|
||||||
@-webkit-keyframes clear{ 0%{ height:150vh; } 100%{ height:0px; } }
|
@-webkit-keyframes clear{ 0%{ height:150vh; } 100%{ height:0px; } }
|
||||||
@-webkit-keyframes nintro{ 0% { position:absolute; top:-200px; } 100% { top:0px;} }
|
@-webkit-keyframes nintro{ 0% { position:absolute; top:-200px; } 100% { top:0px;} }
|
||||||
|
@-webkit-keyframes color{ 0%{background-color:#ffff;} 100%{background-color:#c22a39;} }
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
use utf8;
|
||||||
|
|
||||||
use FindBin;
|
use FindBin;
|
||||||
BEGIN { unshift @INC, "$FindBin::Bin/../lib" }
|
BEGIN { unshift @INC, "$FindBin::Bin/../lib" }
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
<section id="ihead">
|
<section id="ihead">
|
||||||
<div id="courtain"><div class="logo"></div></div>
|
<div id="courtain">
|
||||||
|
<div class="logo"></div>
|
||||||
|
<div class=dotsw>
|
||||||
|
<div class=dots> </div>
|
||||||
|
<div class=dots> </div>
|
||||||
|
<div class=dots> </div>
|
||||||
|
<div class=dots> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<article class="mod">
|
<article class="mod">
|
||||||
<p class="mod"> <%= $mod %> </p>
|
<p class="mod"> <%= $mod %> </p>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title><%= title %></title>
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title><%= title %></title>
|
||||||
<!-- <script src="https://d3js.org/d3.v4.min.js" charset="utf-8"></script> -->
|
<!-- <script src="https://d3js.org/d3.v4.min.js" charset="utf-8"></script> -->
|
||||||
<%= javascript "/ext/d3.v4.min.js"; %>
|
<%= javascript "/ext/d3.v4.min.js"; %>
|
||||||
<%= stylesheet "/global/layout.css" %>
|
<%= stylesheet "/global/layout.css" %>
|
||||||
|
|||||||
Reference in New Issue
Block a user