Gitweb:
https://git.exim.org/exim-website.git/commitdiff/1b371428def1d35dcad9d6f4257356917c14a637
Commit: 1b371428def1d35dcad9d6f4257356917c14a637
Parent: 0540047098ffb87b22a861ed5f402fdd00fcd2d5
Author: Phil Pennock <pdp@???>
AuthorDate: Sat Sep 15 01:41:45 2018 -0400
Committer: Phil Pennock <pdp@???>
CommitDate: Sat Sep 15 01:41:45 2018 -0400
Tentative design for showing sponsors; add UoCambridge
Add logo for Cambridge
Include both UoC and MacStadium on the main web-page, as thanks.
My XSL-fu is weak. This is a tentative design straw-man, which I'm
putting live. Feel free to improve.
---
templates/static/css/index.css | 13 ++++++++++++-
templates/web/i/cambridge-150x39.png | Bin 0 -> 7748 bytes
templates/web/index.xsl | 21 +++++++++++++++++++++
3 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/templates/static/css/index.css b/templates/static/css/index.css
index 1cbc418..d6e3c0e 100644
--- a/templates/static/css/index.css
+++ b/templates/static/css/index.css
@@ -1,4 +1,4 @@
-#inner img {
+#inner img:not(.sponsor_logo) {
float: left;
margin: 0 1em 0.5em 0;
}
@@ -6,3 +6,14 @@
#book_info {
min-height: 100px;
}
+
+ul#sponsor_list {
+ list-style: none;
+ overflow: hidden;
+ padding-left: 0;
+}
+
+img.sponsor_logo {
+ vertical-align: top;
+ margin: 0 1em 0 0;
+}
diff --git a/templates/web/i/cambridge-150x39.png b/templates/web/i/cambridge-150x39.png
new file mode 100644
index 0000000..9249934
Binary files /dev/null and b/templates/web/i/cambridge-150x39.png differ
diff --git a/templates/web/index.xsl b/templates/web/index.xsl
index df302f4..3e4380b 100644
--- a/templates/web/index.xsl
+++ b/templates/web/index.xsl
@@ -73,6 +73,27 @@
<xsl:text>.</xsl:text>
</p>
+ <!-- sponsor information -->
+ <div id="sponsors">
+ <xsl:text>The following organizations provide services which help the Exim project:</xsl:text>
+ <ul id="sponsor_list">
+ <li class="sponsor">
+ <a href="https://www.cam.ac.uk/">
+ <img src="i/cambridge-150x39.png" width="150" height="39" alt="University of Cambridge" class="sponsor_logo"/>
+ <xsl:text>The University of Cambridge</xsl:text>
+ </a>
+ <xsl:text> hosts the central Exim website and domain.</xsl:text>
+ </li>
+ <li class="sponsor">
+ <a href="https://www.macstadium.com/">
+ <img src="i/macstadium-150x61.png" width="150" height="61" alt="MacStadium" class="sponsor_logo"/>
+ <xsl:text>MacStadium</xsl:text>
+ </a>
+ <xsl:text> provide us a Mac Mini for our buildfarm, keeping macOS supported.</xsl:text>
+ </li>
+ </ul>
+ </div>
+
</xsl:template>
</xsl:stylesheet>