Ado
view release on metacpan or search on metacpan
lib/Ado/Command/version.pm view on Meta::CPAN
};
return $latest;
};
#the only action this command implements
sub version {
my $self = shift;
my $msg = "$/ADO:$/ "
. Mojo::Util::encode(Mojo::Message->new->default_charset,
$Ado::VERSION . ' - ' . $Ado::CODENAME);
my $latest = $self->latest;
if ($latest) {
$msg .= "$/ This version is up to date, have fun!$/"
if $latest == $Ado::VERSION;
$msg .= "$/ Thanks for testing a development release, you are awesome!$/"
if $latest < $Ado::VERSION;
$msg .= "$/ You might want to update your Ado to $latest.$/"
if $latest > $Ado::VERSION;
}
public/css/ado.css view on Meta::CPAN
@charset "UTF-8";
/* ado.css */
@font-face
{
font-family: FreeSerif;
src: url(../fonts/FreeSerif-Glagolitic-UC.woff);
}
body, body.ui.pushable{
font-family: 'Ubuntu', sans-serif;
margin: 0;
color: #46400D;
t/plugin/auth-02.t view on Meta::CPAN
#authorization
$t->get_ok('/test/ingroup')->status_is(200)->json_is('/0/login_name' => 'test1');
$t->get_ok('/test/ingroup', form => {limit => 20, offset => 1})->status_is(200)
->json_is('/0/login_name' => undef);
#logout
$t->get_ok('/logout')->status_is(302)->header_is('Location' => '/');
$t->get_ok('/')->status_is(200)->text_is('article.ui.main.container h1' => 'Hello Guest,');
#authorization
$t->get_ok('/test/ingroup')->status_is(404)->content_type_is('text/html;charset=UTF-8');
done_testing();
templates/partials/head.html.ep view on Meta::CPAN
% #standart generic header for all pages
% state $description = $self->{stash}{description} || $self->description;
% state $keywords = $self->{stash}{keywords} || $self->keywords;
% state $base_url = url_for('/')->base;
<meta charset="utf-8" />
<base href="<%= $base_url %>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="<%= $self->generator %>" />
<meta name="description" content="<%= $description %>" />
<meta name="keywords" content="<%= $keywords %>" />
<title><%= title %></title>
<link rel="icon" href="<%=$base_url%>/favicon.png" type="image/png" />
%== head_css
<link href="css/ado.css" rel='stylesheet' type='text/css' />
( run in 0.258 second using v1.01-cache-2.11-cpan-4d50c553e7e )