2014-09-30 18:11:38 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>Simple Dynamic DNS Service</title>
|
|
|
|
|
|
|
|
<!-- Bootstrap -->
|
|
|
|
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<style>
|
2014-09-30 18:54:47 +02:00
|
|
|
.col-centered { float: none; margin: 0px auto; }
|
2014-09-30 18:11:38 +02:00
|
|
|
hr { border-color: #cccccc; }
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-8 col-md-7 col-lg-6 col-centered">
|
|
|
|
<h1><a href="/">{% block title %}Simple Dynamic DNS Service{% endblock %}</a></h1>
|
|
|
|
<hr>
|
|
|
|
{% block flash_messages %}
|
|
|
|
{%- with messages = get_flashed_messages(with_categories=true) -%}
|
|
|
|
{% if messages %}
|
|
|
|
{% for category, message in messages %}
|
|
|
|
{% if category=='error' %}
|
|
|
|
{% set category='danger' %}
|
|
|
|
{% endif %}
|
|
|
|
<div class="alert alert-{{category}}">{{ message|safe }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{%- endwith %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
<hr>
|
2014-09-30 18:54:47 +02:00
|
|
|
{% block footer %}
|
|
|
|
Your IP: {{ request.remote_addr }}<br>
|
2014-09-30 18:11:38 +02:00
|
|
|
Have fun!
|
2014-09-30 18:54:47 +02:00
|
|
|
{% endblock %}
|
2014-09-30 18:11:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
|
|
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
|
|
|
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
|
|
|
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|