diff --git a/lib/Pear/LocalLoop.pm b/lib/Pear/LocalLoop.pm index b9eed08..b6f6fcf 100644 --- a/lib/Pear/LocalLoop.pm +++ b/lib/Pear/LocalLoop.pm @@ -21,12 +21,15 @@ has schema => sub { sub startup { my $self = shift; + my $version = `git describe --tags`; + $self->plugin('Config', { default => { storage_path => tempdir, sessionTimeSeconds => 60 * 60 * 24 * 7, sessionTokenJsonName => 'session_key', sessionExpiresJsonName => 'sessionExpires', + version => $version, }, }); my $config = $self->config; diff --git a/public/static/admin/css/main.css b/public/static/admin/css/main.css index 6ca4612..b2e6e97 100644 --- a/public/static/admin/css/main.css +++ b/public/static/admin/css/main.css @@ -1,6 +1,7 @@ body { background: whitesmoke; padding-top: 70px; + padding-bottom: 70px; } .panel { diff --git a/templates/layouts/admin.html.ep b/templates/layouts/admin.html.ep index cacfeef..265f51e 100644 --- a/templates/layouts/admin.html.ep +++ b/templates/layouts/admin.html.ep @@ -59,6 +59,11 @@