view redirector/templates/metarefresh.html @ 0:af82aaec0377

initial import of redirector
author k0s <k0scist@gmail.com>
date Mon, 07 Sep 2009 15:15:48 -0400
parents
children
line wrap: on
line source

<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/">
  <head>
    <meta http-equiv="refresh" content="${seconds};url=${location}" />
  </head>
  <body>
    
    <div>
      You are being from ${request.url} to ${location} in ${seconds} seconds.  
      Please update any bookmarks to this page.
    </div>
    
    <div py:if="redirect['expires']">
      This redirect will expire ${redirect['expires'].strftime(date_format)}
    </div>

    <div py:if="redirect.get('reason')">
      ${redirect['reason']}
    </div>

  </body>
</html>