<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>directPage</title>
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
    {% if alertMsg != None %}
        <script type="text/javascript">
            alert ('{{alertMsg}}');
        </script>
    {% endif %}
    {% if dirLink %}
        <script type="text/javascript">
            window.location.href = '{{dirLink}}';
        </script>
    {% endif %}
</body>
</html>