Compare commits
2 Commits
3454bb717e
...
7ae15005de
Author | SHA1 | Date | |
---|---|---|---|
7ae15005de
|
|||
be17edd6ac
|
@@ -301,15 +301,20 @@ article > p,
|
|||||||
gap: 1.0rem;
|
gap: 1.0rem;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
}
|
}
|
||||||
.lane.syndication {
|
.lane.stack {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
.lane.stack > * {
|
||||||
|
flex: 1 0 100%;
|
||||||
}
|
}
|
||||||
#podcast_lane > .lane,
|
#podcast_lane > .lane,
|
||||||
#project_lane > .lane,
|
#project_lane > .lane,
|
||||||
#latest_lane.lane {
|
#latest_lane.lane {
|
||||||
justify-content: flex-between;
|
justify-content: flex-between;
|
||||||
}
|
}
|
||||||
.lane > article {
|
.lane > article,
|
||||||
|
#hosts tr {
|
||||||
/* Add shadows to create the "card" effect */
|
/* Add shadows to create the "card" effect */
|
||||||
border-top: thin solid var(--shadow-cards);
|
border-top: thin solid var(--shadow-cards);
|
||||||
border-left: thin solid var(--shadow-cards);
|
border-left: thin solid var(--shadow-cards);
|
||||||
@@ -322,7 +327,8 @@ article > p,
|
|||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
}
|
}
|
||||||
.lane > article:hover {
|
.lane > article:hover,
|
||||||
|
#hosts tr:hover {
|
||||||
box-shadow:
|
box-shadow:
|
||||||
4px 8px 8px var(--shadow-cards),
|
4px 8px 8px var(--shadow-cards),
|
||||||
8px 16px 16px var(--shadow-cards);
|
8px 16px 16px var(--shadow-cards);
|
||||||
@@ -331,7 +337,8 @@ article > p,
|
|||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
.lane > article > header {
|
.lane > article > header,
|
||||||
|
.lane > article > h3 {
|
||||||
background: var(--background-secondary);
|
background: var(--background-secondary);
|
||||||
padding: 1.5rem 1rem 1rem 1rem;
|
padding: 1.5rem 1rem 1rem 1rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -339,17 +346,19 @@ article > p,
|
|||||||
font-size: 1.45rem;
|
font-size: 1.45rem;
|
||||||
color: var(--background-primary);
|
color: var(--background-primary);
|
||||||
}
|
}
|
||||||
.lane > article > header a {
|
.lane > article > header a,
|
||||||
|
.lane > article > h3 a {
|
||||||
color: var(--link-secondary);
|
color: var(--link-secondary);
|
||||||
}
|
}
|
||||||
.lane > article > header a:hover {
|
.lane > article > header a:hover,
|
||||||
|
.lane > article > h3:hover {
|
||||||
color: var(--link-secondary-hover);
|
color: var(--link-secondary-hover);
|
||||||
}
|
}
|
||||||
.lane.syndication > article > header * {
|
.lane.stack> * > header * {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
.lane.syndication > article > header p {
|
.lane.stack > * > header p {
|
||||||
font-size: var(--default-header-4-font-size);
|
font-size: var(--default-header-4-font-size);
|
||||||
margin-left: 22px;
|
margin-left: 22px;
|
||||||
}
|
}
|
||||||
@@ -542,6 +551,49 @@ fieldset > table td input[type="radio"] {
|
|||||||
#tags .index-link {
|
#tags .index-link {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
#comments > article > .show-meta {
|
||||||
|
font-size: smaller;
|
||||||
|
}
|
||||||
|
#hosts tr {
|
||||||
|
gap: 0;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
#hosts td {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
#hosts td:nth-child(-n+2) {
|
||||||
|
background: var(--background-secondary);
|
||||||
|
color: var(--background-primary);
|
||||||
|
}
|
||||||
|
#hosts td:nth-child(-n+2) a {
|
||||||
|
color: var(--link-secondary);
|
||||||
|
}
|
||||||
|
#hosts td:nth-child(-n+2) a:hover {
|
||||||
|
color: var(--link-secondary-hover);
|
||||||
|
}
|
||||||
|
#hosts td:nth-child(2) {
|
||||||
|
padding: 0.25rem 0 0 8px;
|
||||||
|
width: calc(100% - 90px);
|
||||||
|
}
|
||||||
|
|
||||||
|
#hosts td:nth-last-child(-n+2) {
|
||||||
|
padding: 0.5rem 0 0 95px;
|
||||||
|
}
|
||||||
|
#hosts td:nth-last-child(2)::before {
|
||||||
|
content: ;
|
||||||
|
content: "License: ";
|
||||||
|
}
|
||||||
|
#hosts td:nth-last-child(1)::before {
|
||||||
|
content: "Last Show: ";
|
||||||
|
}
|
||||||
|
#hosts td > img {
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
}
|
||||||
|
.series-description {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
.sr-only {
|
.sr-only {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
@@ -633,19 +685,20 @@ fieldset > table td input[type="radio"] {
|
|||||||
body > main {
|
body > main {
|
||||||
padding: 0.25rem 2rem;
|
padding: 0.25rem 2rem;
|
||||||
}
|
}
|
||||||
.lane > article {
|
|
||||||
max-height: 40vw;
|
|
||||||
overflow-y: scroll
|
|
||||||
}
|
|
||||||
#latest_lane.lane section > ul {
|
#latest_lane.lane section > ul {
|
||||||
margin: 0.5rem 3rem 0 1rem;
|
margin: 0.5rem 3rem 0 1rem;
|
||||||
}
|
}
|
||||||
|
#hosts tbody.lane.stack {
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 1rem
|
||||||
|
}
|
||||||
|
#hosts tr {
|
||||||
|
flex: 1 1 45%;
|
||||||
|
max-width: 45%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 900px) {
|
@media (min-width: 900px) {
|
||||||
.lane > article {
|
|
||||||
flex-basis: 32%;
|
|
||||||
max-width: 32%;
|
|
||||||
}
|
|
||||||
#podcast_lane > .lane,
|
#podcast_lane > .lane,
|
||||||
#project_lane > .lane {
|
#project_lane > .lane {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
@@ -654,4 +707,8 @@ fieldset > table td input[type="radio"] {
|
|||||||
#latest_lane.lane section {
|
#latest_lane.lane section {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
#hosts tr {
|
||||||
|
flex: 1 1 30%;
|
||||||
|
max-width: 30%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -7,7 +7,8 @@
|
|||||||
<h2>Comment Viewer</h2>
|
<h2>Comment Viewer</h2>
|
||||||
<p>Because of the spammers we have had to turn on comment moderation. Sorry about the delay this will cause.</p>
|
<p>Because of the spammers we have had to turn on comment moderation. Sorry about the delay this will cause.</p>
|
||||||
<p><a href="<!--% absolute_path(baseurl) %-->comments.rss">Subscribe</a> to the comment feed.</p>
|
<p><a href="<!--% absolute_path(baseurl) %-->comments.rss">Subscribe</a> to the comment feed.</p>
|
||||||
<hr />
|
<hr class="no-css">
|
||||||
|
<section id="comments" class="lane stack">
|
||||||
<!--% FOREACH item IN DBI.query('
|
<!--% FOREACH item IN DBI.query('
|
||||||
SELECT C.*,
|
SELECT C.*,
|
||||||
H.host, H.hostid AS host_id,
|
H.host, H.hostid AS host_id,
|
||||||
@@ -26,18 +27,18 @@
|
|||||||
LIMIT 30
|
LIMIT 30
|
||||||
')
|
')
|
||||||
%-->
|
%-->
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<h1><!--% item.comment_author_name %--> says: <!--% item.comment_title %--></h1>
|
<h2><!--% item.comment_author_name %--> says: <!--% item.comment_title %--></h2>
|
||||||
<p><small>Posted at <!--% item.comment_timestamp %--> relating to the show <a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(item.eps_id) %-->/index.html">hpr<!--% item.eps_id %--></a> which was released on <!--% item.episode_date %--> by <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(item.host_id) %-->.html"><!--% item.host %--></a> entitled <em><!--% item.episode_title %--></em></small>
|
</header>
|
||||||
</p>
|
<p class="show-meta">Posted at <!--% item.comment_timestamp %--> relating to the show <a href="<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(item.eps_id) %-->/index.html">hpr<!--% item.eps_id %--></a> which was released on <!--% item.episode_date %--> by <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(item.host_id) %-->.html"><!--% item.host %--></a> entitled <em><!--% item.episode_title %--></em></small>
|
||||||
</header>
|
</p>
|
||||||
<p class="comment">
|
<p class="comment">
|
||||||
<!--% item.comment_text FILTER html_line_break %-->
|
<!--% item.comment_text FILTER html_line_break %-->
|
||||||
</p>
|
</p>
|
||||||
<footer>
|
<footer>
|
||||||
Listen in <a href="<!--% media_path(item.eps_id, 'hpr', 'ogg', baseurl, media_baseurl) %-->">ogg</a>, <a href="<!--% media_path(item.eps_id, 'hpr', 'spx', baseurl, media_baseurl) %-->">spx</a>, or <a href="<!--% media_path(item.eps_id, 'hpr', 'mp3', baseurl, media_baseurl) %-->">mp3</a> format.</p></footer>
|
Listen in <a href="<!--% media_path(item.eps_id, 'hpr', 'ogg', baseurl, media_baseurl) %-->">ogg</a>, <a href="<!--% media_path(item.eps_id, 'hpr', 'spx', baseurl, media_baseurl) %-->">spx</a>, or <a href="<!--% media_path(item.eps_id, 'hpr', 'mp3', baseurl, media_baseurl) %-->">mp3</a> format.</p></footer>
|
||||||
</article>
|
</article>
|
||||||
<hr />
|
<hr class="no-css">
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
</section>
|
||||||
|
@@ -1,15 +1,17 @@
|
|||||||
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
||||||
<!--% PROCESS 'shared-avatar.tpl.html' %-->
|
<!--% PROCESS 'shared-avatar.tpl.html' %-->
|
||||||
<article>
|
|
||||||
<h2 class="title">Correspondents</h2>
|
<h2 class="title">Correspondents</h2>
|
||||||
<p>For more information on how to become a Correspondent see our <a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">contribute</a></center> page. To add a logo here, either email one to admin at hpr or setup your email on <a href="https://en.gravatar.com/">Gravatar</a>. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.<p />
|
<p>For more information on how to become a Correspondent see our <a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">contribute</a></center> page. To add a logo here, either email one to admin at hpr or setup your email on <a href="https://en.gravatar.com/">Gravatar</a>. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.<p />
|
||||||
<!--% USE DBI(constants.driver) %-->
|
<!--% USE DBI(constants.driver) %-->
|
||||||
<!--% host_cnt = 0 %-->
|
<!--% host_cnt = 0 %-->
|
||||||
<table class="hosts">
|
<table id="hosts" class="hosts lane stack">
|
||||||
<th >Avatar</th>
|
<tbody class="lane stack">
|
||||||
<th >Name & Host ID</th>
|
<tr class="no-css">
|
||||||
<th >License</th>
|
<th>Avatar</th>
|
||||||
<th >Last Show</th>
|
<th>Name & Host ID</th>
|
||||||
|
<th>License</th>
|
||||||
|
<th>Last Show</th>
|
||||||
|
</tr>
|
||||||
<!--% FOREACH host IN DBI.query(
|
<!--% FOREACH host IN DBI.query(
|
||||||
'select h.hostid, h.host, h.license, e.date,
|
'select h.hostid, h.host, h.license, e.date,
|
||||||
h.local_image
|
h.local_image
|
||||||
@@ -18,7 +20,7 @@
|
|||||||
on h.hostid = e.hostid
|
on h.hostid = e.hostid
|
||||||
order by h.host'
|
order by h.host'
|
||||||
) %-->
|
) %-->
|
||||||
<tr>
|
<tr class="lane">
|
||||||
<td><!--% get_avatar(host.hostid, host.host, host_cnt > 8) %--></td>
|
<td><!--% get_avatar(host.hostid, host.host, host_cnt > 8) %--></td>
|
||||||
|
|
||||||
<td><strong><!--% host.host %--></strong><br>
|
<td><strong><!--% host.host %--></strong><br>
|
||||||
@@ -28,6 +30,6 @@
|
|||||||
<td><!--% host.date %--></td>
|
<td><!--% host.date %--></td>
|
||||||
</tr><!--% host_cnt = host_cnt + 1 %-->
|
</tr><!--% host_cnt = host_cnt + 1 %-->
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p><a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">Become a Correspondent</a></p>
|
<p><a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">Become a Correspondent</a></p>
|
||||||
</article>
|
|
||||||
|
@@ -2,8 +2,9 @@
|
|||||||
<!--% PROCESS "queries-series.tpl.html" %-->
|
<!--% PROCESS "queries-series.tpl.html" %-->
|
||||||
<!--% USE DBI(constants.driver) %-->
|
<!--% USE DBI(constants.driver) %-->
|
||||||
<h1 class="title">In-Depth Series</h1>
|
<h1 class="title">In-Depth Series</h1>
|
||||||
<div class="lane">
|
<div class="lane stack">
|
||||||
<!--% FOREACH series IN DBI.query(query_episodes) %-->
|
<!--% FOREACH series IN DBI.query(query_episodes) %-->
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<header><a href="<!--% absolute_path(baseurl) %-->series/<!--% zero_pad_left(series.id) %-->.html"><!--% series.name %--></a></header>
|
<header><a href="<!--% absolute_path(baseurl) %-->series/<!--% zero_pad_left(series.id) %-->.html"><!--% series.name %--></a></header>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -13,7 +14,7 @@
|
|||||||
<li>Date of latest show: <!--% series.latest_show %--></li>
|
<li>Date of latest show: <!--% series.latest_show %--></li>
|
||||||
<li>Series RSS feeds: <a href="<!--% absolute_path(baseurl) %-->hpr_ogg_rss.php?series=<!--% series.id %-->">ogg</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_spx_rss.php?series=<!--% series.id %-->">spx</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_mp3_rss.php?series=<!--% series.id %-->">mp3</a></li>
|
<li>Series RSS feeds: <a href="<!--% absolute_path(baseurl) %-->hpr_ogg_rss.php?series=<!--% series.id %-->">ogg</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_spx_rss.php?series=<!--% series.id %-->">spx</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_mp3_rss.php?series=<!--% series.id %-->">mp3</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<em><!--% series.description %--></em>
|
<div class="series-description"><!--% series.description %--></div>
|
||||||
</article>
|
</article>
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
</div>
|
</div>
|
||||||
|
@@ -5,7 +5,6 @@
|
|||||||
<!--% query_series = DBI.prepare(query_series_sql)
|
<!--% query_series = DBI.prepare(query_series_sql)
|
||||||
%-->
|
%-->
|
||||||
<!--% series_result = query_series.execute(id) %-->
|
<!--% series_result = query_series.execute(id) %-->
|
||||||
<article>
|
|
||||||
<!--% FOREACH series IN series_result %-->
|
<!--% FOREACH series IN series_result %-->
|
||||||
<h1 class="title">In-Depth Series: <!--% series.name %--></h1>
|
<h1 class="title">In-Depth Series: <!--% series.name %--></h1>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -15,13 +14,16 @@
|
|||||||
<li>Date of latest show: <!--% series.latest_show %--></li>
|
<li>Date of latest show: <!--% series.latest_show %--></li>
|
||||||
<li>Series RSS feeds: <a href="<!--% absolute_path(baseurl) %-->hpr_ogg_rss.php?series=<!--% series.id %-->&full=1&gomax=1">ogg</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_spx_rss.php?series=<!--% series.id %-->&full=1&gomax=1">spx</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_mp3_rss.php?series=<!--% series.id %-->&full=1&gomax=1">mp3</a></li>
|
<li>Series RSS feeds: <a href="<!--% absolute_path(baseurl) %-->hpr_ogg_rss.php?series=<!--% series.id %-->&full=1&gomax=1">ogg</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_spx_rss.php?series=<!--% series.id %-->&full=1&gomax=1">spx</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_mp3_rss.php?series=<!--% series.id %-->&full=1&gomax=1">mp3</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div><em><!--% series.description %--></em></div>
|
<p><em><!--% series.description %--></em></p>
|
||||||
<!--% END %-->
|
<section id="series_episodes" class="lane stack">
|
||||||
<!--% query_shows = DBI.prepare(query_shows_sql)
|
<!--% query_shows = DBI.prepare(query_shows_sql)
|
||||||
%-->
|
%-->
|
||||||
<!--% show_results = query_shows.execute(id) %-->
|
<!--% show_results = query_shows.execute(id) %-->
|
||||||
<!--% FOREACH show IN show_results %-->
|
<!--% FOREACH show IN show_results %-->
|
||||||
|
<article>
|
||||||
<!--% show_summary(show) %-->
|
<!--% show_summary(show) %-->
|
||||||
<p class="listen-in"><!--% display_listen_in(show.id) %--></p>
|
<footer class="listen-in"><!--% display_listen_in(show.id) %--></footer>
|
||||||
<!--% END %-->
|
|
||||||
</article>
|
</article>
|
||||||
|
<!--% END %-->
|
||||||
|
</section>
|
||||||
|
<!--% END %-->
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
<p>
|
<p>
|
||||||
Great that you want to listen. Have a look below at the feeds that best suite your listening habits.
|
Great that you want to listen. Have a look below at the feeds that best suite your listening habits.
|
||||||
</p>
|
</p>
|
||||||
<div class="lane syndication">
|
<div class="lane stack">
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<hgroup>
|
<hgroup>
|
||||||
|
Reference in New Issue
Block a user