r470 - html/trunk/css templates/trunk

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Thu Jul 14 15:43:16 PDT 2005


Author: jhuntwork
Date: 2005-07-14 16:43:15 -0600 (Thu, 14 Jul 2005)
New Revision: 470

Modified:
   html/trunk/css/main.css
   templates/trunk/swish.tmpl
Log:
Created a class for error messages

Modified: html/trunk/css/main.css
===================================================================
--- html/trunk/css/main.css	2005-07-14 22:36:22 UTC (rev 469)
+++ html/trunk/css/main.css	2005-07-14 22:43:15 UTC (rev 470)
@@ -24,6 +24,11 @@
 
 .newsItem p { margin: 10px 0 10px 0; }
 
+.error {
+	font-style: bold;
+	color: red;
+}
+
 p {
 	margin: 10px;
 }

Modified: templates/trunk/swish.tmpl
===================================================================
--- templates/trunk/swish.tmpl	2005-07-14 22:36:22 UTC (rev 469)
+++ templates/trunk/swish.tmpl	2005-07-14 22:43:15 UTC (rev 470)
@@ -63,7 +63,7 @@
 [% BLOCK show_message %]
     [% IF search.errstr %]
         <!-- FIXME: The style should be specified in the proper stylesheet file -->
-        <span style="color: red; font-size: large;">[% search.errstr | html %]</span>
+        <span class="error">[% search.errstr | html %]</span>
     [% END %]
 [% END %]
 




More information about the website mailing list