Author: buildbot Date: Sat Dec 16 00:12:14 2023 New Revision: 1914700 URL: http://svn.apache.org/viewvc?rev=1914700&view=rev Log: Automatic Site Publish by Buildbot
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=1914700&r1=1914699&r2=1914700&view=diff ============================================================================== --- attic/site/docs/scripts/attic_filter.lua (original) +++ attic/site/docs/scripts/attic_filter.lua Sat Dec 16 00:12:14 2023 @@ -5,7 +5,7 @@ It is invoked by the tlp vhosts if the following directory exists: /var/www/attic.apache.org/flagged/%{HTTP_HOST} - See the tlp vhost definitions in puppet-infra data/nodes/(themis|tlp-eu-west).apache.org.yaml + See the tlp vhost definitions in https://github.com/apache/infrastructure-p6/blob/production/data/roles/tlpserver.yaml Note: This filter was introduced in April 2018, so not all projects in the Attic use this filter. Previously the project websites themselves were changed. @@ -19,14 +19,14 @@ function output_filter(r) -- get TLP part of hostname local host = r.hostname:match("^([^.]+)") - local sty1 = 'font-size:x-large;padding:15px;color:white;background:red;' ; - local sty2 = 'color:white;text-decoration:underline' ; + local divstyle = 'font-size:x-large;padding:15px;color:white;background:red;z-index: 99;' ; + local astyle = 'color:white;text-decoration:underline' ; local div = ([[ <div style='%s'> This project has retired. For details please refer to its <a style='%s' href="https://attic.apache.org/projects/%s.html"> Attic page</a>. - </div>]]):format(sty1, sty2, host) + </div>]]):format(divstyle, astyle, host) -- special processing needed for some hosts if host == 'predictionio' or host == 'eagle' or host == 'metamodel'