diff --git a/Makefile b/Makefile index 5931fd372..2ae2b6cd9 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,8 @@ XML_CATALOG:=dtd/catalog.xml NAVIGATION=content/navigation.xml # Chaosupdates: WWW_CCC_DE_UPDATES=chaosupdates.rdf +# Calendar summary:: +CALENDAR_SUMMARY=calendar-summary.xml ### Ziele ### # Dateinamen der zu erzeugenden html-Dateien: @@ -54,7 +56,7 @@ SEARCH_TMPL:=build/cgi-bin/search.html # Quellen NEWSITEMS:=$(wildcard content/news/*.xml) -CLEAN=$(CONTENT) $(NEWSFILES) $(WWW_CCC_DE_UPDATES) $(DS_PAGES) +CLEAN=$(CONTENT) $(NEWSFILES) $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) $(DS_PAGES) NOVALID_IGNORE:=false @@ -77,7 +79,7 @@ export: www ### Regeln für den XSLT-Prozess ### -build/news.html: $(WWW_CCC_DE_UPDATES) +build/news.html: $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) build/news-rss.xml : STYLE=xsl/rss.xsl build/news-rss.xml : NOVALID_IGNORE:=true build/news-rss.xml : VFLAGS_OUT=--noout --schema xsd/rss20.xsd @@ -97,23 +99,23 @@ $(NEWSFILES): news.xml $(NAVIGATION) $(STYLE) $(call xml_process) # Calendar -calendar-summary.xml : STYLE=xsl/calendar-summary.xsl -calendar-summary.xml : NOVALID_IGNORE:=true -calendar-summary.xml : VFLAGS_IN=--noout -calendar-summary.xml: content/events.xml news.xml +$(CALENDAR_SUMMARY) : STYLE=xsl/calendar-summary.xsl +$(CALENDAR_SUMMARY) : NOVALID_IGNORE:=true +$(CALENDAR_SUMMARY) : VFLAGS_IN=--noout +$(CALENDAR_SUMMARY): content/events.xml news.xml $(call xml_process) build/calendar.html : VFLAGS_IN=--noout -build/calendar.html: calendar-summary.xml $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES) +build/calendar.html: $(CALENDAR_SUMMARY) $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES) $(call xml_process) # Pages: -build/%.html: content/pages/%.xml $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES) news.xml +build/%.html: content/pages/%.xml $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) news.xml $(call xml_process) # News: build/news/%.html : BASEURL="../" -build/news/%.html: content/news/%.xml $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES) +build/news/%.html: content/news/%.xml $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) $(call xml_process) # Suche: diff --git a/content/static/style/default.css b/content/static/style/default.css index 6cf1908ea..8d12ee8d8 100644 --- a/content/static/style/default.css +++ b/content/static/style/default.css @@ -188,7 +188,7 @@ pre { #news { text-align: left; float: right; - margin-right: 2em; + margin-right: 1em; margin-left: -5%; width: 19%; background: url(../images/pesthoernchen.png) top center no-repeat; @@ -225,6 +225,44 @@ pre { text-decoration: underline; } +/* -- Upcoming -- */ +#upcoming { + text-align: left; + float: right; + margin-right: 1em; + margin-left: -5%; + width: 19%; + padding: 2em; + font-size: small; +} + +#upcoming h2 { + font-size: 1.2em; + border-top: #ebc63c 1px solid; + padding-top: 5%; +} + +#upcoming ul { + list-style-type: none; + font-size: small; + margin-left: -1em; + max-width: 10em !important; +} + +#upcoming ul li { + line-height: 1.5em; +} + +#upcoming a { + color: #666; + text-decoration: none; + font-style: italic; +} + +#upcoming a:hover { + text-decoration: underline; +} + /* -- footer -- */ #footer { margin: 0 2em 2em 2em; diff --git a/xsl/calendar.xsl b/xsl/calendar.xsl index d40e09c91..73f6a9504 100644 --- a/xsl/calendar.xsl +++ b/xsl/calendar.xsl @@ -5,6 +5,8 @@ xmlns:date="http://exslt.org/dates-and-times" exclude-result-prefixes="xsl date"> + + @@ -75,11 +77,23 @@ - - - + + + + + + + + + + + + + + + - +
  • diff --git a/xsl/common.xsl b/xsl/common.xsl index 9fa3ee22e..62673e87e 100644 --- a/xsl/common.xsl +++ b/xsl/common.xsl @@ -158,6 +158,31 @@ + + +
    +

    + Kalender +

    +
      + + + +
    • + + + + : + + + +
    • +
      +
    +
    + + + diff --git a/xsl/date.xsl b/xsl/date.xsl index 4e5a2fb68..476a72b66 100644 --- a/xsl/date.xsl +++ b/xsl/date.xsl @@ -360,6 +360,22 @@ + + + + + + + + + + + + + + + + @@ -402,4 +418,13 @@ format-number(date:second-in-minute($date), '00'), ' GMT')"/> + + + + + + + + + diff --git a/xsl/xhtml.xsl b/xsl/xhtml.xsl index 535e3be77..cca81574f 100644 --- a/xsl/xhtml.xsl +++ b/xsl/xhtml.xsl @@ -153,6 +153,8 @@ ### News ### + +