<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="html" indent="no" doctype-system="" encoding="utf-8" />

    <xsl:include href="/app/tools/appuser/templates/global.xsl" />

    <xsl:template name="pickLayout">
        <xsl:call-template name="mainLayout" />
    </xsl:template>

    <xsl:template name="mainLayout">
        <p class="Logout-copy">
            Password successfully updated!<br/><br/>
            Please <a href="/rps/login">login</a> to use the site.<br/><br/>
            (You'll be automatically redirected in <span id="time">5</span> seconds.)
        </p>
        <script type="text/javascript">
            var seconds=5;
            window.setInterval( function() {
                document.getElementById("time").innerHTML = seconds;
                seconds--;
                if (seconds == 0) {
                    window.location.href = "/";
                }
            }, 1000);
        </script>
    </xsl:template>

</xsl:stylesheet>
