ue/docker/python-oauth-web-app/templates/home.html
2024-10-23 19:51:57 +09:00

16 lines
614 B
HTML

{% extends 'base.html' %}
{% block content %}
{% if g.user %}
<div class="livestream">
<iframe id="livestream" title="stream" width="100%" height="700px" src="https://live.syui.ai/b9ec42d4-8a4d-4343-99fc-1bd1cdbc5a6f.html"> </iframe>
</div>
@<span class="user-handle">{{ g.user['handle'] }}</span>
<div class="livechat">
<iframe id="livechat" title="bskychat" width="100%" height="500" src="https://bbs.syui.ai/?handle={{ session['user_handle'] }}"> </iframe>
</div>
<style> /* .livechat { position: absolute; top: 0px; right:0px; } */ </style>
{% else %}
<p>Login to get started!</p>
{% endif %}
{% endblock %}