<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>cPanel</title>
    <!-- Bootstrap 4 -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
    <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
    <!-- Styling -->
    <style>
        body, html {
            height: 100%;
        }
        .bg {
            background-image: url("/images/bg.jpg");
            height: 100%;
            background-attachment: fixed;
            background-position: center;
            background-size: cover;
        }
    </style>

</head>
<body class="bg">
    <div class="container">
        <div class="row">
            <div class="col-md-6 offset-md-3" style="background: white; padding: 20px; box-shadow: 10px 10px 5px #888888; margin-top: 100px; margin-bottom: 100px;">
                <h1><a href="/index.php">{% block title %}{% endblock %}</a></h1>
                <p style="font-style: italic;">{% block desc %}{% endblock %}</p>
                <hr>
                <!-- Error Messages -->
                {% if error_message %}
                    <div class="alert alert-danger">
                        <strong>Oops!</strong> {{ error_message}}
                    </div>
                {% endif %}
                {% if success_message %}
                    <div class="alert alert-success">
                        <strong>Well Done!</strong> {{ success_message}}
                    </div>
                {% endif %}
                <!-- Content -->
                {% block content %}
                    
                {% endblock %}
                
            </div>
        </div>
    </div>
</body>
</html>