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 %} {% load static %}
{% block head %} {% 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> <script src="{% static 'dist/flow.js' %}?v={{ ak_version }}" type="module"></script>
{% endblock %} {% endblock %}
{% block body %} {% block body %}
<ak-message-container></ak-message-container>
<ak-flow-executor></ak-flow-executor> <ak-flow-executor></ak-flow-executor>
{% endblock %} {% endblock %}

View File

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

View File

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

View File

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