Move styles over to the CSS files
authorMagnus Hagander <magnus@hagander.net>
Wed, 26 Dec 2012 18:30:08 +0000 (19:30 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 26 Dec 2012 18:30:08 +0000 (19:30 +0100)
The inlining was supposed to be temporary. As a bonus, this removes
a HTML validator error...

django/archives/mailarchives/templates/message.html
django/media/css/archives.css

index cd2eb823ebbd9cc042baecaeba7da43a4d268910..38f0e87f21cd42baa84c52fc140eab4ae1e97684 100644 (file)
@@ -3,7 +3,6 @@
 {%load pgfilters%}
 {%block extrahead%}
 <script type="text/javascript">
-/* This should be moved into a common JS file */
 function onThreadSelect() {
    document.location.href = '/message-id/' + document.getElementById('thread_select').value;
 }
@@ -18,27 +17,6 @@ $(function(){
    });
 });
 </script>
-<style>
-span.listname {
-   background-color: #F7F7F7;
-   padding: 0.2em;
-   border: 1px solid #CFCFCF;
-}
-a.ui-selectmenu {
-   text-decoration: none;
-   color: black;
-}
-.ui-selectmenu-status {
-   font-weight: bold;
-}
-.ui-widget {
-   font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
-   font-size: 1em;
-}
-.ui-selectmenu-menu, .ui-selectmenu-status {
-   white-space: nowrap;
-}
-</style>
 {%endblock%}
 {%block contents%}
 <h2>{{msg.subject}}</h2>
index f53f093a3f6dacee7d4427dd31757528b2003994..b43c68dd01e3d1195c1b157163e8c92631caaa15 100644 (file)
@@ -67,3 +67,22 @@ table.message span.listname
        border-width: 0;
 }
 
+span.listname {
+   background-color: #F7F7F7;
+   padding: 0.2em;
+   border: 1px solid #CFCFCF;
+}
+a.ui-selectmenu {
+   text-decoration: none;
+   color: black;
+}
+.ui-selectmenu-status {
+   font-weight: bold;
+}
+.ui-widget {
+   font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
+   font-size: 1em;
+}
+.ui-selectmenu-menu, .ui-selectmenu-status {
+   white-space: nowrap;
+}