Ensure the archives.css stylesheet is loaded last
authorMagnus Hagander <magnus@hagander.net>
Fri, 28 Dec 2012 14:03:41 +0000 (15:03 +0100)
committerMagnus Hagander <magnus@hagander.net>
Fri, 28 Dec 2012 14:03:41 +0000 (15:03 +0100)
This is to make sure it overrides whatever defaults come from the others.
Fixes the styling of the dropdown box that was broken when styles were moved
from the page into the stylesheet.

django/archives/mailarchives/templates/base.html

index 16a4e6f6ebe54aa298a2eae2db08ac520444ae68..551b25b548872058568b54e3c0e85f3724aa21ed 100644 (file)
@@ -6,7 +6,6 @@
   <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8" />
 {%block meta%}{%endblock%} {# used for custom meta tags such as description which we don't want for every page #}
   <meta name="copyright" content="The PostgreSQL Global Development Group" />
-  <style type="text/css" media="screen" title="Normal Text">@import url("/media-archives/css/archives.css");</style>
   <link rel="shortcut icon" href="/favicon.ico" />
   <link rel="alternate" type="application/rss+xml" title="PostgreSQL News" href="http://www.postgresql.org/news.rss" />
   <link rel="alternate" type="application/rss+xml" title="PostgreSQL Events" href="http://www.postgresql.org/events.rss" />
@@ -15,6 +14,7 @@
   <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.js"></script>
   <script type="text/javascript" src="/media-archives/js/jquery/jquery.ui.selectmenu.js"></script>
   <link rel="stylesheet" type="text/css" media="screen" href="/media-archives/css/jquery/jquery.ui.selectmenu.css" />
+  <style type="text/css" media="screen" title="Normal Text">@import url("/media-archives/css/archives.css");</style>
   <script type="text/javascript">
   var _gaq = _gaq || [];
   _gaq.push(['_setAccount', 'UA-1345454-1']);