Compare commits
9 Commits
a8f4eea501
...
newsite
Author | SHA1 | Date | |
---|---|---|---|
dcfd801b9a | |||
|
4654adaa42 | ||
|
f3b156b31f | ||
7ae15005de
|
|||
be17edd6ac
|
|||
3454bb717e
|
|||
7118a3da0a
|
|||
|
7235230e7f | ||
|
6915d74de1 |
@@ -25,6 +25,12 @@ https://creativecommons.org/publicdomain/
|
||||
local("BebasNeue"),
|
||||
url("/css/bebas/BebasNeue.woff") format("woff");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "PatrickHand";
|
||||
src:
|
||||
local("PatrickHand"),
|
||||
url("/css/patrickhand/PatrickHand-Regular.ttf") format("truetype");
|
||||
}
|
||||
:root {
|
||||
--background-primary: #fffff7/*#fafafa#fbfbee #dfdfdf */;
|
||||
--text-primary: #4d4d4d; /* HPR Grey */
|
||||
@@ -50,6 +56,9 @@ https://creativecommons.org/publicdomain/
|
||||
--shadow-main-header-color: hsl(190deg 48% 49% / 0.2);
|
||||
--shadow-secondary-color: hsl(0, 0%, 30.2%);
|
||||
--shadow-cards: var(--shadow-secondary-color);
|
||||
|
||||
--content-max-width: 1080pt;
|
||||
|
||||
/* screen breakpoints */
|
||||
--for-phone-only: 599px;
|
||||
--for-tablet-portrait-up: 600px;
|
||||
@@ -117,21 +126,26 @@ body {
|
||||
padding: 0.25rem 0;
|
||||
}
|
||||
body > header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-flow: wrap;
|
||||
justify-content: space-between;
|
||||
padding: clamp(0.5rem, -0.25rem + 3vw, 1rem) 0.25rem;
|
||||
background-color: var(--banner-background-color);
|
||||
background-image: url("/images/hpr-splatter-logo.svg"), url("/images/main-header-background.png");
|
||||
background-size: 59%, cover;
|
||||
background-repeat: no-repeat, no-repeat;
|
||||
background-position: right -15px top -20px, left top;
|
||||
background-image: url("/images/main-header-background.png");
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: left top;
|
||||
color: var(--banner-text-primary);
|
||||
align-items: center;
|
||||
border-top: var(--background-secondary) solid 1rem;
|
||||
}
|
||||
body > header > * {
|
||||
body > header .bounding-box {
|
||||
background: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-flow: wrap;
|
||||
justify-content: space-between;
|
||||
max-width: var(--content-max-width);
|
||||
margin: 0 auto;
|
||||
}
|
||||
body > header .bounding-box > * {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
flex: 1 1 auto;
|
||||
@@ -141,6 +155,9 @@ body > header > * {
|
||||
body > main {
|
||||
flex: 1 0 auto;
|
||||
padding: 0.25rem;
|
||||
max-width: var(--content-max-width);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
body > footer {
|
||||
flex: 0 1 auto;
|
||||
@@ -151,6 +168,10 @@ body > footer {
|
||||
text-align: center;
|
||||
line-height: 1.25;
|
||||
}
|
||||
body > footer #copyright {
|
||||
max-width: var(--content-max-width);
|
||||
margin: 0 auto;
|
||||
}
|
||||
body > footer a {
|
||||
color: var(--link-secondary);
|
||||
}
|
||||
@@ -286,15 +307,20 @@ article > p,
|
||||
gap: 1.0rem;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.lane.syndication {
|
||||
.lane.stack {
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.lane.stack > * {
|
||||
flex: 1 0 100%;
|
||||
}
|
||||
#podcast_lane > .lane,
|
||||
#project_lane > .lane,
|
||||
#latest_lane.lane {
|
||||
justify-content: flex-between;
|
||||
}
|
||||
.lane > article {
|
||||
.lane > article,
|
||||
#hosts tr {
|
||||
/* Add shadows to create the "card" effect */
|
||||
border-top: thin solid var(--shadow-cards);
|
||||
border-left: thin solid var(--shadow-cards);
|
||||
@@ -307,7 +333,8 @@ article > p,
|
||||
overflow-x: scroll;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
.lane > article:hover {
|
||||
.lane > article:hover,
|
||||
#hosts tr:hover {
|
||||
box-shadow:
|
||||
4px 8px 8px var(--shadow-cards),
|
||||
8px 16px 16px var(--shadow-cards);
|
||||
@@ -316,7 +343,8 @@ article > p,
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
.lane > article > header {
|
||||
.lane > article > header,
|
||||
.lane > article > h3 {
|
||||
background: var(--background-secondary);
|
||||
padding: 1.5rem 1rem 1rem 1rem;
|
||||
margin: 0;
|
||||
@@ -324,17 +352,19 @@ article > p,
|
||||
font-size: 1.45rem;
|
||||
color: var(--background-primary);
|
||||
}
|
||||
.lane > article > header a {
|
||||
.lane > article > header a,
|
||||
.lane > article > h3 a {
|
||||
color: var(--link-secondary);
|
||||
}
|
||||
.lane > article > header a:hover {
|
||||
.lane > article > header a:hover,
|
||||
.lane > article > h3:hover {
|
||||
color: var(--link-secondary-hover);
|
||||
}
|
||||
.lane.syndication > article > header * {
|
||||
.lane.stack> * > header * {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.lane.syndication > article > header p {
|
||||
.lane.stack > * > header p {
|
||||
font-size: var(--default-header-4-font-size);
|
||||
margin-left: 22px;
|
||||
}
|
||||
@@ -343,23 +373,73 @@ a.lane-button {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin: 0.5rem var(--link-spacing-horizontal);
|
||||
padding: 0.5rem;
|
||||
border-width: 5px;
|
||||
padding: 0.5rem 0.25rem;
|
||||
border-width: 3.5px;
|
||||
border-color: var(--lane-button-border);
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
background-image: url("../images/lane-button-background.png");
|
||||
|
||||
}
|
||||
a.lane-button p {
|
||||
font-family: 'PatrickHand', sans-serif;
|
||||
text-transform: lowercase;
|
||||
font-size: 1.4em;
|
||||
mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png");
|
||||
mask-repeat: repeat;
|
||||
mask-size: 10%;
|
||||
background-clip: text;
|
||||
margin: -0.25rem;
|
||||
letter-spacing: 1px;
|
||||
padding: 0.25rem;
|
||||
}
|
||||
a.lane-button:hover {
|
||||
box-shadow:
|
||||
1px 2px 2px var(--link-primary-hover),
|
||||
2px 4px 4px var(--link-primary-hover);
|
||||
}
|
||||
a.lane-button img {
|
||||
height: clamp(95px, calc(100vw - var(--for-tablet-portrait-up)), 110px);
|
||||
filter: invert(60%) sepia(50%) hue-rotate(140deg) saturate(200%);
|
||||
transform: scaleX(0.9);
|
||||
height: clamp(100px, calc(100vw - var(--for-tablet-portrait-up)), 110px);
|
||||
transform: scaleX(0.9);
|
||||
mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png");
|
||||
mask-repeat: repeat;
|
||||
mask-size: 70%;
|
||||
padding: 0.5rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#podcast_lane a.lane-button:first-of-type img {
|
||||
mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png");
|
||||
mask-repeat: repeat;
|
||||
mask-size: 60%;
|
||||
padding: 0.1rem;
|
||||
}
|
||||
#podcast_lane a.lane-button:first-of-type p {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
section:nth-of-type(odd) .lane a:nth-of-type(1) {
|
||||
border-radius: 20px 15px 25px 15px;
|
||||
}
|
||||
section:nth-of-type(odd) .lane a:nth-of-type(2) {
|
||||
border-radius: 20px 15px 25px 15px;
|
||||
}
|
||||
section:nth-of-type(odd) .lane a:nth-of-type(3) {
|
||||
border-radius: 10px 25px 15px 20px;
|
||||
}
|
||||
section:nth-of-type(odd) .lane a:nth-of-type(4) {
|
||||
border-radius: 15px 15px 10px 20px;
|
||||
}
|
||||
section:nth-of-type(even) .lane a:nth-of-type(1) {
|
||||
border-radius: 25px 10px 15px 15px;
|
||||
}
|
||||
section:nth-of-type(even) .lane a:nth-of-type(2) {
|
||||
border-radius: 20px 10px 15px 10px;
|
||||
}
|
||||
section:nth-of-type(even) .lane a:nth-of-type(3) {
|
||||
border-radius: 10px 20px 10px 15px;
|
||||
}
|
||||
section:nth-of-type(even) .lane a:nth-of-type(4) {
|
||||
border-radius: 15px 10px 25px 30px;
|
||||
}
|
||||
#tag_line,
|
||||
#title {
|
||||
@@ -372,6 +452,14 @@ a.lane-button img {
|
||||
#title * {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
flex: 1 1 auto;
|
||||
background: none;
|
||||
}
|
||||
#title {
|
||||
background-image: url("/images/hpr-splatter-logo.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 15rem;
|
||||
background-position: left 8.5em top -2em;
|
||||
}
|
||||
#title a {
|
||||
color: var(--link-title-color);
|
||||
@@ -384,6 +472,7 @@ a.lane-button img {
|
||||
letter-spacing: -0.65rem;
|
||||
line-height: 0.75;
|
||||
margin-bottom: 0.25rem;
|
||||
color: transparent;
|
||||
}
|
||||
#title #site_acronym a {
|
||||
text-decoration: none;
|
||||
@@ -518,6 +607,49 @@ fieldset > table td input[type="radio"] {
|
||||
#tags .index-link {
|
||||
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 {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
@@ -529,9 +661,7 @@ fieldset > table td input[type="radio"] {
|
||||
border: 0;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
body > header {
|
||||
background-size: 200pt, cover;
|
||||
background-position: left 128pt top -12pt, left top;
|
||||
body > header .bounding-box {
|
||||
justify-content: space-between;
|
||||
}
|
||||
#tag_line {
|
||||
@@ -611,25 +741,30 @@ fieldset > table td input[type="radio"] {
|
||||
body > main {
|
||||
padding: 0.25rem 2rem;
|
||||
}
|
||||
.lane > article {
|
||||
max-height: 40vw;
|
||||
overflow-y: scroll
|
||||
}
|
||||
#podcast_lane > .lane,
|
||||
#project_lane > .lane,
|
||||
#latest_lane.lane {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
#latest_lane.lane section > ul {
|
||||
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) {
|
||||
.lane > article {
|
||||
flex-basis: 32%;
|
||||
max-width: 32%;
|
||||
#podcast_lane > .lane,
|
||||
#project_lane > .lane {
|
||||
justify-content: flex-start;
|
||||
gap: 2rem;
|
||||
}
|
||||
#latest_lane.lane section {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
#hosts tr {
|
||||
flex: 1 1 30%;
|
||||
max-width: 30%;
|
||||
}
|
||||
}
|
93
public_html/css/patrickhand/OFL.txt
Normal file
93
public_html/css/patrickhand/OFL.txt
Normal file
@@ -0,0 +1,93 @@
|
||||
Copyright (c) 2010-2012 Patrick Wagesreiter (mail@patrickwagesreiter.at)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://openfontlicense.org
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
BIN
public_html/css/patrickhand/PatrickHand-Regular.ttf
Normal file
BIN
public_html/css/patrickhand/PatrickHand-Regular.ttf
Normal file
Binary file not shown.
BIN
public_html/images/charcoal.png
Normal file
BIN
public_html/images/charcoal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
BIN
public_html/images/lane-button-background.png
Normal file
BIN
public_html/images/lane-button-background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
@@ -7,7 +7,8 @@
|
||||
<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><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('
|
||||
SELECT C.*,
|
||||
H.host, H.hostid AS host_id,
|
||||
@@ -26,18 +27,18 @@
|
||||
LIMIT 30
|
||||
')
|
||||
%-->
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1><!--% item.comment_author_name %--> says: <!--% item.comment_title %--></h1>
|
||||
<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>
|
||||
</p>
|
||||
</header>
|
||||
<p class="comment">
|
||||
<!--% item.comment_text FILTER html_line_break %-->
|
||||
</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>
|
||||
<header>
|
||||
<h2><!--% item.comment_author_name %--> says: <!--% item.comment_title %--></h2>
|
||||
</header>
|
||||
<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>
|
||||
</p>
|
||||
<p class="comment">
|
||||
<!--% item.comment_text FILTER html_line_break %-->
|
||||
</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>
|
||||
<hr />
|
||||
<hr class="no-css">
|
||||
<!--% END %-->
|
||||
</section>
|
||||
|
@@ -1,15 +1,17 @@
|
||||
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
||||
<!--% PROCESS 'shared-avatar.tpl.html' %-->
|
||||
<article>
|
||||
<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 />
|
||||
<!--% USE DBI(constants.driver) %-->
|
||||
<!--% host_cnt = 0 %-->
|
||||
<table class="hosts">
|
||||
<th >Avatar</th>
|
||||
<th >Name & Host ID</th>
|
||||
<th >License</th>
|
||||
<th >Last Show</th>
|
||||
<table id="hosts" class="hosts lane stack">
|
||||
<tbody class="lane stack">
|
||||
<tr class="no-css">
|
||||
<th>Avatar</th>
|
||||
<th>Name & Host ID</th>
|
||||
<th>License</th>
|
||||
<th>Last Show</th>
|
||||
</tr>
|
||||
<!--% FOREACH host IN DBI.query(
|
||||
'select h.hostid, h.host, h.license, e.date,
|
||||
h.local_image
|
||||
@@ -18,7 +20,7 @@
|
||||
on h.hostid = e.hostid
|
||||
order by h.host'
|
||||
) %-->
|
||||
<tr>
|
||||
<tr class="lane">
|
||||
<td><!--% get_avatar(host.hostid, host.host, host_cnt > 8) %--></td>
|
||||
|
||||
<td><strong><!--% host.host %--></strong><br>
|
||||
@@ -28,6 +30,6 @@
|
||||
<td><!--% host.date %--></td>
|
||||
</tr><!--% host_cnt = host_cnt + 1 %-->
|
||||
<!--% END %-->
|
||||
</tbody>
|
||||
</table>
|
||||
<p><a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">Become a Correspondent</a></p>
|
||||
</article>
|
||||
|
@@ -46,23 +46,23 @@
|
||||
<header><h2>The Podcast</h2></header>
|
||||
<div class="lane">
|
||||
<a class="lane-button" href="<!--% absolute_path(baseurl) %-->about.html#recording_a_podcast">
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/mic-fill.svg" alt="" height="110">
|
||||
Record
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/mic-fill.svg" alt="" height="110">
|
||||
<p>Record</p>
|
||||
</a>
|
||||
<br class="no-css">
|
||||
<a class="lane-button" href="https://hub.hackerpublicradio.org/calendar.php">
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/calendar-2-line.svg" alt="" height="110">
|
||||
Schedule
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/calendar-2-line.svg" alt="" height="110">
|
||||
<p>Schedule</p>
|
||||
</a>
|
||||
<br class="no-css">
|
||||
<a class="lane-button" href="<!--% absolute_path(baseurl) %-->syndication.html">
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/rss-fill.svg" alt="" height="110">
|
||||
Subscribe
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/rss-fill.svg" alt="" height="110">
|
||||
<p>Subscribe</p>
|
||||
</a>
|
||||
<br class="no-css">
|
||||
<a class="lane-button" href="<!--% absolute_path(baseurl) %-->eps/index.html">
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/volume-up-fill.svg" alt="" height="110">
|
||||
Listen
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/volume-up-fill.svg" alt="" height="110">
|
||||
<p>Listen</p>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
@@ -70,23 +70,23 @@
|
||||
<header><h2>The Project</h2></header>
|
||||
<div class="lane">
|
||||
<a class="lane-button" href="<!--% absolute_path(baseurl) %-->correspondents/index.html">
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/user-fill.svg" alt="" height="110">
|
||||
Host
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/user-fill.svg" alt="" height="110">
|
||||
<p>Host</p>
|
||||
</a>
|
||||
<br class="no-css">
|
||||
<a class="lane-button" href="<!--% absolute_path(baseurl) %-->series/index.html">
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/stack-fill.svg" alt="" height="110">
|
||||
Series
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/stack-fill.svg" alt="" height="110">
|
||||
<p>Series</p>
|
||||
</a>
|
||||
<br class="no-css">
|
||||
<a class="lane-button" href="<!--% absolute_path(baseurl) %-->about.html">
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/question-mark.svg" alt="" height="110">
|
||||
About
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/question-mark.svg" alt="" height="110">
|
||||
<p>About</p>
|
||||
</a>
|
||||
<br class="no-css">
|
||||
<a class="lane-button" href="<!--% absolute_path(baseurl) %-->search.html">
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/search.svg" alt="" height="110">
|
||||
Search
|
||||
<img src="<!--% absolute_path(baseurl) %-->images/icons/search.svg" alt="" height="110">
|
||||
<p>Search</p>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
@@ -2,8 +2,9 @@
|
||||
<!--% PROCESS "queries-series.tpl.html" %-->
|
||||
<!--% USE DBI(constants.driver) %-->
|
||||
<h1 class="title">In-Depth Series</h1>
|
||||
<div class="lane">
|
||||
<div class="lane stack">
|
||||
<!--% FOREACH series IN DBI.query(query_episodes) %-->
|
||||
|
||||
<article>
|
||||
<header><a href="<!--% absolute_path(baseurl) %-->series/<!--% zero_pad_left(series.id) %-->.html"><!--% series.name %--></a></header>
|
||||
<ul>
|
||||
@@ -13,7 +14,7 @@
|
||||
<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>
|
||||
</ul>
|
||||
<em><!--% series.description %--></em>
|
||||
<div class="series-description"><!--% series.description %--></div>
|
||||
</article>
|
||||
<!--% END %-->
|
||||
</div>
|
||||
|
@@ -5,7 +5,6 @@
|
||||
<!--% query_series = DBI.prepare(query_series_sql)
|
||||
%-->
|
||||
<!--% series_result = query_series.execute(id) %-->
|
||||
<article>
|
||||
<!--% FOREACH series IN series_result %-->
|
||||
<h1 class="title">In-Depth Series: <!--% series.name %--></h1>
|
||||
<ul>
|
||||
@@ -15,13 +14,16 @@
|
||||
<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>
|
||||
</ul>
|
||||
<div><em><!--% series.description %--></em></div>
|
||||
<!--% END %-->
|
||||
<p><em><!--% series.description %--></em></p>
|
||||
<section id="series_episodes" class="lane stack">
|
||||
<!--% query_shows = DBI.prepare(query_shows_sql)
|
||||
%-->
|
||||
<!--% show_results = query_shows.execute(id) %-->
|
||||
<!--% FOREACH show IN show_results %-->
|
||||
<article>
|
||||
<!--% show_summary(show) %-->
|
||||
<p class="listen-in"><!--% display_listen_in(show.id) %--></p>
|
||||
<!--% END %-->
|
||||
<footer class="listen-in"><!--% display_listen_in(show.id) %--></footer>
|
||||
</article>
|
||||
<!--% END %-->
|
||||
</section>
|
||||
<!--% END %-->
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<p>
|
||||
Great that you want to listen. Have a look below at the feeds that best suite your listening habits.
|
||||
</p>
|
||||
<div class="lane syndication">
|
||||
<div class="lane stack">
|
||||
<article>
|
||||
<header>
|
||||
<hgroup>
|
||||
|
@@ -37,6 +37,7 @@
|
||||
<hr class="no-css">
|
||||
</div>
|
||||
<header role="banner">
|
||||
<div class="bounding-box">
|
||||
<hgroup id="title">
|
||||
<h1 id="site_acronym"><a href="<!--% absolute_path(baseurl) %-->index.html">HPR</a></h1>
|
||||
<p id="site_name">
|
||||
@@ -50,6 +51,7 @@
|
||||
<p id="tag2">Sharing your ideas, projects, opinions since 2005</p>
|
||||
<p id="tag3">New episodes every weekday </p>
|
||||
</hgroup>
|
||||
</div>
|
||||
</header>
|
||||
<main id="main_content" role="main">
|
||||
<!--% INCLUDE $content %-->
|
||||
|
Reference in New Issue
Block a user