render a simple captive portal in each language reusing butter styles

This commit is contained in:
John Hess 2021-11-30 16:16:17 -06:00
parent 06bced877f
commit c9fe5cdc58
6 changed files with 85 additions and 44 deletions

20
captive.html Normal file
View file

@ -0,0 +1,20 @@
---
layout: basic
---
{% assign page_data = site.data.home %}
<section class="content-area" style="height: 100vh; padding-top: 40px;">
<div class="container">
<div class="content-area-wrapper text-center">
<img src="{{site.baseurl}}{{ page_data.page_logo[0] }}" alt="{{ page_data.page_logo[1] }}" />
<h1 class="content-title mb-2">{{ page_data.captive_data.welcome_message }}</h1>
<!-- Use NoDogSplash-provided variables to render a "continue" button -->
<form method="get" action="$authaction">
<input type="hidden" name="tok" value="$tok">
<input type="hidden" name="redir" value="$redir">
<input type="submit" value="{{ page_data.captive_data.continue_button }}">
</form>
</div>
</div>
</section>