Author: henkp
Date: Thu Apr 12 08:16:04 2018
New Revision: 1828955

URL: http://svn.apache.org/viewvc?rev=1828955&view=rev
Log:
style attic_filter.lua

Modified:
    attic/site/docs/scripts/attic_filter.lua

Modified: attic/site/docs/scripts/attic_filter.lua
URL: 
http://svn.apache.org/viewvc/attic/site/docs/scripts/attic_filter.lua?rev=1828955&r1=1828954&r2=1828955&view=diff
==============================================================================
--- attic/site/docs/scripts/attic_filter.lua (original)
+++ attic/site/docs/scripts/attic_filter.lua Thu Apr 12 08:16:04 2018
@@ -4,13 +4,14 @@ function output_filter(r)
 
     -- add header:
     local host = r.hostname:match("^([^.]+)") -- get TLP part of hostname
-    coroutine.yield(([[
-        <div style='width: 100%; height: 32px; color: #FFF; background: #C00;'>
-            This project has retired! See
-            <a 
href='https://attic.apache.org/%s.html'>attic.apache.org/%s.html</a>.
-        </div>
-        ]]):format(host, host))
-
+    local sty1 = 'font-size:x-large;padding:15px;color:white;background:red;' ;
+    local sty2 = 'color:white' ;
+    coroutine.yield ( ([[
+      <div style='%s'>
+        Project <i>%s</i> is retired. See %s's
+        <a style='%s' href="https://attic.apache.org/projects/%s.html";>
+        attic page</a>.
+      </div>]]):format(sty1, host, host, sty2, host) )
     -- spit out the actual page
     while bucket do
         coroutine.yield(bucket)


Reply via email to