Files
kops-arm64/kube_ops_view/templates/screen-tokens.html
Khachatur Ashotyan 89c143d3aa Add ROUTE_PREFIX parameter for working with reverse proxies. (#256)
* Add ROUTE_PREFIX parameter for working with reverse proxies.

* [flake8/E304] remove blank line after function decoder

* Add APPLICATION_ROOT and use route_prefix in requests.

* [black/code-styling] use double quotes instead of single.

* handle right events url depending route path

* properly handle redirects

* [flake8] remove unused module, fix styling issues

Co-authored-by: Henning Jacobs <henning@jacobs1.de>
2020-08-23 15:27:34 +02:00

19 lines
561 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Screen Tokens</title>
<link rel="shortcut icon" href="{{ route_prefix }}static/favicon.ico">
</head>
<body>
<h1>Screen Tokens</h1>
{% if new_token: %}
<p>The new token is: <code>{{ new_token }}</code></p>
{% endif %}
<form action="" method="post">
<button type="submit">Create new token</button>
</form>
</body>
</html>