ue/docker/python-oauth-web-app/templates/home.html

16 lines
614 B
HTML
Raw Normal View History

2024-06-03 14:47:02 +00:00
{% 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 %}