revolucion

This commit is contained in:
mynah
2019-03-14 04:12:19 -06:00
parent 26523cdca2
commit 58586d81bd
3 changed files with 10 additions and 4 deletions

View File

@@ -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{

View File

@@ -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;

View File

@@ -40,7 +40,7 @@
<option value="<%= $_->{'id'} %>"><%= $_->{'name'} %></option>
<% } %><% (@{stash('months')}) %><% if defined(stash('months')); %>
</select>
<input id="yini" type="number" min="2017" max="2050" name="yini" value="2017"/>
<input id="yini" type="number" min="2019" max="2050" name="yini" value="2019"/>
</div>
<div class="flex field">
<label>Fecha fin</label>
@@ -50,7 +50,7 @@
<option value="<%= $_->{'id'} %>"><%= $_->{'name'} %></option>
<% } %><% (@{stash('months')}) %><% if defined(stash('months')); %>
</select>
<input id="yend" type="number" min="2017" max="2050" name="yend" value="2017"/>
<input id="yend" type="number" min="2019" max="2050" name="yend" value="2019"/>
</div>
<div class="flex field">
<label>Costo</label> <input id="cost" type="text" name="cost"/>