summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-24 12:30:43 -0500
committerDan McGee <dan@archlinux.org>2012-03-24 12:31:07 -0500
commit9d011312e850aa3dcab539cbf633191b2f3b7f54 (patch)
treee45fea3a35f01048c1541173445a5aa1d8b3ad4f
parent20198e67ff37565932bc9b036bb678e8243d46c5 (diff)
Convert art template to use Django static files
Done with: sed -i \ -e 's@{% cdnprefix %}/media/\([^"]*\)"@{% static "\1" %}"@g' \ templates/public/art.html Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/public/art.html78
1 files changed, 39 insertions, 39 deletions
diff --git a/templates/public/art.html b/templates/public/art.html
index 1556b774..96312971 100644
--- a/templates/public/art.html
+++ b/templates/public/art.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load cdn %}
+{% load static from staticfiles %}
{% block title %}Arch Linux - Artwork{% endblock %}
@@ -16,42 +16,42 @@
<p><strong>Two-color standard version</strong><br />
<em>Also available in print-quality
- <a href="{% cdnprefix %}/media/logos/archlinux-logo-dark-1200dpi.png"
+ <a href="{% static "logos/archlinux-logo-dark-1200dpi.png" %}"
title="Download 1200dpi PNG format">PNG</a> and scalable
- <a href="{% cdnprefix %}/media/logos/archlinux-logo-dark-scalable.svg"
+ <a href="{% static "logos/archlinux-logo-dark-scalable.svg" %}"
title="Download scalable SVG format">SVG</a> formats.</em></p>
- <img src="{% cdnprefix %}/media/logos/archlinux-logo-dark-90dpi.png"
+ <img src="{% static "logos/archlinux-logo-dark-90dpi.png" %}"
alt="Arch Linux PNG logo @ 90dpi" title="Arch Linux PNG logo @ 90dpi" />
<p><strong>Two-color inverted version</strong> (for dark backgrounds)<br />
<em>Also available in print-quality
- <a href="{% cdnprefix %}/media/logos/archlinux-logo-light-1200dpi.png"
+ <a href="{% static "logos/archlinux-logo-light-1200dpi.png" %}"
title="Download 1200dpi PNG format">PNG</a> and scalable
- <a href="{% cdnprefix %}/media/logos/archlinux-logo-light-scalable.svg"
+ <a href="{% static "logos/archlinux-logo-light-scalable.svg" %}"
title="Download scalable SVG format">SVG</a> formats.</em></p>
- <img src="{% cdnprefix %}/media/logos/archlinux-logo-light-90dpi.png"
+ <img src="{% static "logos/archlinux-logo-light-90dpi.png" %}"
alt="Arch Linux PNG logo @ 90dpi" title="Arch Linux PNG logo @ 90dpi" class="inverted" />
<p><strong>One-color standard version</strong><br />
<em>Also available in print-quality
- <a href="{% cdnprefix %}/media/logos/archlinux-logo-black-1200dpi.png"
+ <a href="{% static "logos/archlinux-logo-black-1200dpi.png" %}"
title="Download 1200dpi PNG format">PNG</a> and scalable
- <a href="{% cdnprefix %}/media/logos/archlinux-logo-black-scalable.svg"
+ <a href="{% static "logos/archlinux-logo-black-scalable.svg" %}"
title="Download scalable SVG format">SVG</a> formats.</em></p>
- <img src="{% cdnprefix %}/media/logos/archlinux-logo-black-90dpi.png"
+ <img src="{% static "logos/archlinux-logo-black-90dpi.png" %}"
alt="Arch Linux PNG logo @ 90dpi" title="Arch Linux PNG logo @ 90dpi" />
<p><strong>One-colour inverted version</strong> (for dark backgrounds)<br />
<em>Also available in print-quality
- <a href="{% cdnprefix %}/media/logos/archlinux-logo-white-1200dpi.png"
+ <a href="{% static "logos/archlinux-logo-white-1200dpi.png" %}"
title="Download 1200dpi PNG format">PNG</a> and scalable
- <a href="{% cdnprefix %}/media/logos/archlinux-logo-white-scalable.svg"
+ <a href="{% static "logos/archlinux-logo-white-scalable.svg" %}"
title="Download scalable SVG format">SVG</a> formats.</em></p>
- <img src="{% cdnprefix %}/media/logos/archlinux-logo-white-90dpi.png"
+ <img src="{% static "logos/archlinux-logo-white-90dpi.png" %}"
alt="Arch Linux PNG logo @ 90dpi" title="Arch Linux PNG logo @ 90dpi" class="inverted" />
<h3>Logos and Artwork for the Community</h3>
@@ -81,50 +81,50 @@
<h4>Original Ribbon Series</h4>
<div class="imagelist">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-ribbon1.png" alt="Arch Ribbon Logo 1"/>
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-ribbon2.png" alt="Arch Ribbon Logo 2"/>
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-ribbon5.png" alt="Arch Ribbon Logo 5"/>
+ <img src="{% static "logos/legacy/arch-legacy-ribbon1.png" %}" alt="Arch Ribbon Logo 1"/>
+ <img src="{% static "logos/legacy/arch-legacy-ribbon2.png" %}" alt="Arch Ribbon Logo 2"/>
+ <img src="{% static "logos/legacy/arch-legacy-ribbon5.png" %}" alt="Arch Ribbon Logo 5"/>
</div>
<div class="imagelist">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-ribbon3.png" alt="Arch Ribbon Logo 3"/>
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-ribbon4.png" alt="Arch Ribbon Logo 4"/>
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-ribbon6.png" alt="Arch Ribbon Logo 6"/>
+ <img src="{% static "logos/legacy/arch-legacy-ribbon3.png" %}" alt="Arch Ribbon Logo 3"/>
+ <img src="{% static "logos/legacy/arch-legacy-ribbon4.png" %}" alt="Arch Ribbon Logo 4"/>
+ <img src="{% static "logos/legacy/arch-legacy-ribbon6.png" %}" alt="Arch Ribbon Logo 6"/>
</div>
<h4>"Arch Blue" Series</h4>
<div class="imagelist">
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-blue1.svg" title="Arch Blue">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-blue1.png" alt="Arch Blue"/></a>
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-blue2.svg" title="Arch Blue Vertical">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-blue2.png" alt="Arch Blue Vertical"/></a>
+ <a href="{% static "logos/legacy/arch-legacy-blue1.svg" %}" title="Arch Blue">
+ <img src="{% static "logos/legacy/arch-legacy-blue1.png" %}" alt="Arch Blue"/></a>
+ <a href="{% static "logos/legacy/arch-legacy-blue2.svg" %}" title="Arch Blue Vertical">
+ <img src="{% static "logos/legacy/arch-legacy-blue2.png" %}" alt="Arch Blue Vertical"/></a>
</div>
<h4>"Arch Aqua" Series</h4>
<div class="imagelist">
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-aqua.svg" title="Arch Aqua">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-aqua.png" alt="Arch Aqua" /></a>
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-aqua-blue.svg" title="Arch Aqua Blue">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-aqua-blue.png" alt="Arch Aqua Blue" /></a>
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-aqua-white.svg" title="Arch Aqua White">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-aqua-white.png" alt="Arch Aqua White" /></a>
+ <a href="{% static "logos/legacy/arch-legacy-aqua.svg" %}" title="Arch Aqua">
+ <img src="{% static "logos/legacy/arch-legacy-aqua.png" %}" alt="Arch Aqua" /></a>
+ <a href="{% static "logos/legacy/arch-legacy-aqua-blue.svg" %}" title="Arch Aqua Blue">
+ <img src="{% static "logos/legacy/arch-legacy-aqua-blue.png" %}" alt="Arch Aqua Blue" /></a>
+ <a href="{% static "logos/legacy/arch-legacy-aqua-white.svg" %}" title="Arch Aqua White">
+ <img src="{% static "logos/legacy/arch-legacy-aqua-white.png" %}" alt="Arch Aqua White" /></a>
</div>
<h4>Release-specific Series</h4>
<div class="imagelist">
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-wombat-lg.png" title="Arch Wombat">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-wombat.png" alt="Arch Wombat" /></a>
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-noodle-blue.svg" title="Arch Noodle Blue">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-noodle-blue.png" alt="Arch Noodle Blue" /></a>
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-noodle-white.svg" title="Arch Noodle White">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-noodle-white.png" alt="Arch Noodle White" /></a>
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-noodle-box.svg" title="Arch Box of Noodles">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-noodle-box.png" alt="Arch Box of Noodles" /></a>
- <a href="{% cdnprefix %}/media/logos/legacy/arch-legacy-noodle-cup.svg" title="Arch Cup of Noodles">
- <img src="{% cdnprefix %}/media/logos/legacy/arch-legacy-noodle-cup.png" alt="Arch Cup of Noodles" /></a>
+ <a href="{% static "logos/legacy/arch-legacy-wombat-lg.png" %}" title="Arch Wombat">
+ <img src="{% static "logos/legacy/arch-legacy-wombat.png" %}" alt="Arch Wombat" /></a>
+ <a href="{% static "logos/legacy/arch-legacy-noodle-blue.svg" %}" title="Arch Noodle Blue">
+ <img src="{% static "logos/legacy/arch-legacy-noodle-blue.png" %}" alt="Arch Noodle Blue" /></a>
+ <a href="{% static "logos/legacy/arch-legacy-noodle-white.svg" %}" title="Arch Noodle White">
+ <img src="{% static "logos/legacy/arch-legacy-noodle-white.png" %}" alt="Arch Noodle White" /></a>
+ <a href="{% static "logos/legacy/arch-legacy-noodle-box.svg" %}" title="Arch Box of Noodles">
+ <img src="{% static "logos/legacy/arch-legacy-noodle-box.png" %}" alt="Arch Box of Noodles" /></a>
+ <a href="{% static "logos/legacy/arch-legacy-noodle-cup.svg" %}" title="Arch Cup of Noodles">
+ <img src="{% static "logos/legacy/arch-legacy-noodle-cup.png" %}" alt="Arch Cup of Noodles" /></a>
</div>
</div><!-- #artwork -->