Skip to content

Commit

Permalink
Merge pull request #25 from pubstandards/fix-calendar-plus
Browse files Browse the repository at this point in the history
Fix Google calendar add button as they've removed the image
  • Loading branch information
marksteward committed Mar 26, 2016
2 parents f83cd26 + 59440ac commit da39a3b
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
20 changes: 19 additions & 1 deletion static/london.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ a.nav {
font-weight: bold;
}
a:focus, a:hover {
background: #06c;
background-color: #06c;
color: #fff;
}

Expand Down Expand Up @@ -183,3 +183,21 @@ footer a:focus {
footer p {
margin-bottom: 0.5em;
}

a.calendar-plus, a.calendar-plus:visited {
display: inline-block;
width: 18px;
height: 18px;
font: 18px "arial", sans-serif;
line-height: 18px;
text-align: center;
background-color: #3c87f9;
color: white;
/*
background: url('https://calendar.google.com/googlecalendar/images/logo-plus.png') center no-repeat;
color: transparent;
*/
}
a.calendar-plus:focus, a.calendar-plus:hover {
background-color: #06c;
}
2 changes: 1 addition & 1 deletion templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p>See where we've <a href="/previous">been before</a>, where we'll be <a href="/next">in the future</a>, how to <a href="/keep-in-touch">keep in touch</a>, or just find out <a href="/about">more about Pub Standards</a>.</p>

<p class='information'>
Add the <a href='/all.ics'>iCal feed</a> to your calendar and you'll never miss a Pub Standards event! <a href="https://www.google.com/calendar/render?cid=d9dc4v3ps0rmpfvsj3n1ubv8c4gkrmbu%40import.calendar.google.com#h"><img src="https://www.google.com/calendar/images/calendar_plus_en_GB.gif"></a>
Add the <a href='/all.ics'>iCal feed</a> to your calendar and you'll never miss a Pub Standards event!&nbsp;<a href="https://www.google.com/calendar/render?cid=d9dc4v3ps0rmpfvsj3n1ubv8c4gkrmbu%40import.calendar.google.com#h" class="calendar-plus">+</a>
</p>

<h2>Next, on Pub Standards…</h2>
Expand Down
2 changes: 1 addition & 1 deletion templates/keep-in-touch.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h1>Keeping in touch</h1>

<h3>iCal feed</h3>
<p>Never forget a Pub Standards event by adding our <a href="/all.ics">iCal feed</a> to your calendar!</p> <a href="https://www.google.com/calendar/render?cid=d9dc4v3ps0rmpfvsj3n1ubv8c4gkrmbu%40import.calendar.google.com#h"><img src="https://www.google.com/calendar/images/calendar_plus_en_GB.gif"></a>
<p>Never forget a Pub Standards event by adding our <a href="/all.ics">iCal feed</a> to your calendar!&nbsp;<a href="https://www.google.com/calendar/render?cid=d9dc4v3ps0rmpfvsj3n1ubv8c4gkrmbu%40import.calendar.google.com#h" class="calendar-plus">+</a>

<h3>Mailing list</h3>
<p>To keep abreast of the latest events, fun facts, and debates about what to call this months Substandards, sign up to <a href="http://lists.pubstandards.co.uk/listinfo.cgi/beer-pubstandards.co.uk">the London Pubstandards mailing list</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion templates/next.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h2>Upcoming Pub Standards London events</h2>

<p class='information'>
This list is also available as an <a href='/all.ics'>iCalendar feed</a> <a href="https://www.google.com/calendar/render?cid=d9dc4v3ps0rmpfvsj3n1ubv8c4gkrmbu%40import.calendar.google.com#h"><img src="https://www.google.com/calendar/images/calendar_plus_en_GB.gif"></a>. You may also want to see <a href='/previous'>all previous Pub Standards events</a>.
This list is also available as an <a href='/all.ics'>iCalendar feed</a>&nbsp;<a href="https://www.google.com/calendar/render?cid=d9dc4v3ps0rmpfvsj3n1ubv8c4gkrmbu%40import.calendar.google.com#h" class="calendar-plus">+</a>. You may also want to see <a href='/previous'>all previous Pub Standards events</a>.
</p>

<ol id='next'>
Expand Down
2 changes: 1 addition & 1 deletion templates/previous.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h2>Previous Pub Standards London events</h2>

<p class='information'>
This list is also available as an <a href='/all.ics'>iCalendar feed</a> <a href="https://www.google.com/calendar/render?cid=d9dc4v3ps0rmpfvsj3n1ubv8c4gkrmbu%40import.calendar.google.com#h"><img src="https://www.google.com/calendar/images/calendar_plus_en_GB.gif"></a>. You may also want to see <a href='/next'>all upcoming Pub Standards events</a>.
This list is also available as an <a href='/all.ics'>iCalendar feed</a>&nbsp;<a href="https://www.google.com/calendar/render?cid=d9dc4v3ps0rmpfvsj3n1ubv8c4gkrmbu%40import.calendar.google.com#h"class="calendar-plus">+</a>. You may also want to see <a href='/next'>all upcoming Pub Standards events</a>.
</p>

<ol id='events'>
Expand Down

0 comments on commit da39a3b

Please sign in to comment.