diff --git a/modules/preprodwarning/templates/warning.twig b/modules/preprodwarning/templates/warning.twig new file mode 100644 index 0000000000000000000000000000000000000000..ceb48dd4f491eba27f486ec33fc9bba5abba0d9f --- /dev/null +++ b/modules/preprodwarning/templates/warning.twig @@ -0,0 +1,19 @@ +{% set pagetitle = 'Warning about accessing a pre-production system'|trans %} +{% extends "base.twig" %} + +{% block content %} + +<form action="{{ yesTarget }}"> + + <p>{% trans %}You are now accessing a pre-production system. This authentication setup is for testing and pre-production verification only. If someone sent you a link that pointed you here, and you are not <i>a tester</i> you probably got the wrong link, and should <b>not be here</b>.{% endtrans %}</p><br /> +{% for name,value in yesData %} + <input type="hidden" name="{{ name }}" value="{{ value }}" /> +{% endfor %} +<p> + <input type="submit" name="yes" class="pure-button pure-button-primary" value="{{'Yes, I know I am accessing a pre-production system'|trans}}" /> + +</p> + +</form> + +{% endblock %}