16 lines
854 B
HTML
16 lines
854 B
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
{% if not state.mac %}
|
|
<p>It seems you're accessing this site from outside the network this captive portal is running for.</p>
|
|
<p>Your clients IP address is {{ state.address }}</p>
|
|
{% elif state.captive %}
|
|
To get access to the internet please accept our usage guidelines by clicking this button:
|
|
<form method="POST" action="/login"><button type="submit">Accept</button></form>
|
|
{% else %}
|
|
You already accepted out conditions and are currently granted access to the internet:
|
|
<form method="POST" action="/login"><button type="submit">Renew session</button></form>
|
|
<form method="POST" action="/logout"><button type="submit">Close session</button></form>
|
|
<br>
|
|
Your current session will last for {{ state.allowed_remaining }} seconds.
|
|
{% endif %}
|
|
{% endblock %} |