diff --git a/lib/Dojo/Model/Vuelo.pm b/lib/Dojo/Model/Vuelo.pm index 2b9e304..1926b5b 100755 --- a/lib/Dojo/Model/Vuelo.pm +++ b/lib/Dojo/Model/Vuelo.pm @@ -90,7 +90,13 @@ sub podcast_infoHash{ sub months { return _read("select nombre as name, id from mes;")}; sub events { return _read($data_path->child("/admin/event/qEprev.q")->slurp)} sub eventa { return shift @{_read($data_path->child("/admin/event/json/qEvent.q")->slurp,pop)}} - sub eimgList{ return [get_names("public/home/cal/img/")] } + # sub eimgList{ return [get_names("public/home/cal/img/")] } + sub eimgList{ + my $dp = path('public/home/cal/img')->make_path; + return [ map{ $_->basename} grep{/(jpg|png)$/i}@{$dp->list} ]; + + + } #============================================================================== # Write vdg user ============================================================== sub contact{ diff --git a/public/home/admin/event/event.css b/public/home/admin/event/event.css index 447efcf..31c45ca 100755 --- a/public/home/admin/event/event.css +++ b/public/home/admin/event/event.css @@ -62,7 +62,7 @@ article.edit input[name=cost]{ width:100px; } article.edit input[type=number]{ - width:60px; + width:70px; } article.edit textarea{ flex:3; diff --git a/templates/home/admin/event.html.ep b/templates/home/admin/event.html.ep index 18c9beb..b5c2d0b 100755 --- a/templates/home/admin/event.html.ep +++ b/templates/home/admin/event.html.ep @@ -40,7 +40,7 @@ <% } %><% (@{stash('months')}) %><% if defined(stash('months')); %> - +