Buscador
view release on metacpan or search on metacpan
chrome/buscador.css view on Meta::CPAN
padding: 5px;
background: white;
}
.secondarylink { color: #000 }
.secondarylink A:hover { text-decoration: underline; color:#222 }
.personunknown { color: #700 }
table.calendar {
margin-left:auto;
margin-right:auto;
}
table.calendar th {
}
table.calendar td {
}
table.calendar td.noevent {
background-color: #aaa096;
font-weight: normal;
}
table.calendar td.header {
background-color: #645a50;
font-weight: normal;
}
table.calendar td.event {
background-color: #c0c0c0;
font-weight: bold;
text-decoration: underline;
}
table.calendar td.todaynoevent {
background-color: #aaa096;
border: 2px solid #645a50;
font-weight: normal;
}
table.calendar td.todayevent {
background-color: #c0c0c0;
border: 2px solid #645a50;
font-weight: bold;
text-decoration: underline;
}
.event { color: #281e14; font-style: normal; font-weight: bold; font-size: 10px; font-family: Verdana, Geneva, Arial, Helvetica }
.noevent { color: #645a50; font-style: normal; font-weight: bold; font-size: 10px; font-family: Verdana, Geneva, Arial, Helvetica }
templates/date/month view on Meta::CPAN
<td class="[% IF event; 'event'; ELSE; 'noevent'; END %]" style="width: 83px; height: 83px; text-align: center;">
[% IF date; "<a href='$url/$date'>"; ordinate(date); "</a>"; IF event; "<br />($event)"; END; ELSE; ' '; END %]
</td>
[% END %]
<div style="text-align: center;">
<p><a href="[% base %]/date/view/[% date.strftime("%Y") %]"><b>See the whole of [% date.strftime("%Y") %]</b></a></p>
<table border="0" class="calendar" cellpadding="1" cellspacing="2">
<tr style="height: 83px;">
[% FOR day = [ 'Sunday', 'Monday' , 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ] ; print_day(day); END -%]
</tr>
<trstyle="height: 83px;">
[%- SET pad = 0 -%]
[%- SET counter = 0 -%]
[%- WHILE date.day_of_week > pad; pad = pad + 1; cell(0,0); END -%]
[%- WHILE days.size>0 %]
[% counter = counter + 1 %]
[%- IF pad==7 %]
templates/date/year view on Meta::CPAN
<p>
<b>
<a href="[% base %]/date/view/[% prev.strftime("%Y") %]"><[% prev.strftime("%Y") %]</a>
<a href="[% base %]/date/view/[% next.strftime("%Y") %]">[% next.strftime("%Y") %]></a>
</b>
</p>
[% count = 0 %]
<table border="0" class="calendar" cellpadding="1" cellspacing="2">
[% FOR month = months %]
<tr style="height: 40;"><td style="width: 166px; height: 40px; text-align: center;" class="[% month ? 'event' : 'noevent' %]">
<a href="[% base | remove('/$') %]/date/list/[% year %]/[% count + 1 | format("%.2d") %]">[% mapping.$count %]</a>
[% IF month %]<br/>([% month %])[% END %]
</td></tr>
[% count = count + 1 %]
[% END %]
</table>
</div>
( run in 1.599 second using v1.01-cache-2.11-cpan-98e64b0badf )