flows: move <ak-message-container> outside of flow executor

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-23 16:18:00 +01:00
parent 45c1072291
commit bd74e07ce1
4 changed files with 3 additions and 8 deletions

View file

@ -3,16 +3,10 @@
{% load static %}
{% block head %}
{{ block.super }}
<style>
.pf-c-background-image::before {
background-image: url("{{ background_url }}");
background-position: center;
}
</style>
<script src="{% static 'dist/flow.js' %}?v={{ ak_version }}" type="module"></script>
{% endblock %}
{% block body %}
<ak-message-container></ak-message-container>
<ak-flow-executor></ak-flow-executor>
{% endblock %}

View file

@ -1,3 +1,4 @@
import "construct-style-sheets-polyfill";
import "./elements/messages/MessageContainer";
import "./flows/FlowExecutor";

View file

@ -232,7 +232,6 @@ export class FlowExecutor extends LitElement implements StageHost {
</filter>
</svg>
</div>
<ak-message-container></ak-message-container>
<div class="pf-c-login">
<div class="ak-login-container">
<header class="pf-c-login__header">

View file

@ -11,6 +11,7 @@
<script src="/static/dist/flow.js" type="module"></script>
</head>
<body>
<ak-message-container></ak-message-container>
<ak-flow-executor></ak-flow-executor>
</body>
</html>