Use the country codes for the location of upcoming events to construct
a world map using the Google Charts API and display this on the events page to indicate those countries that have upcoming FreeBSD events (colored red) and those that have hosted past FreeBSD events (colored yellow or orange, depending on the frequency of past events).
This commit is contained in:
parent
0d20394bb2
commit
3371fc6146
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=31871
2 changed files with 56 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
||||
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd">
|
||||
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.15 2008/01/16 09:29:16 murray Exp $ -->
|
||||
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.16 2008/03/01 01:55:27 simon Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0"
|
||||
|
|
@ -453,6 +453,22 @@
|
|||
which contains all of the events listed here.</p>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="html-events-map">
|
||||
<xsl:param name="mapurl" select="'none'" />
|
||||
|
||||
<p>Countries and regions displayed in dark red on the map below
|
||||
are hosting upcoming FreeBSD-related events. Countries that
|
||||
have hosted FreeBSD-related events in the past show up in yellow
|
||||
or orange, with darker colors representing a larger number of
|
||||
previous events.</p>
|
||||
|
||||
<img>
|
||||
<xsl:attribute name="src">
|
||||
<xsl:value-of select="$mapurl" />
|
||||
</xsl:attribute>
|
||||
</img>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="html-events-list-upcoming-heading">
|
||||
<h2 id="upcoming">Current/Upcoming Events:</h2>
|
||||
</xsl:template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue