MsRewards/Flask/templates/vnc.html

15 lines
390 B
HTML

{% extends "base.html" %}
{% block left_pannel %}
override
{% endblock %}
{% block content %}
{%if not current_user.is_authenticated %}
<button class="unselected" onclick="location.href = '/login';">login</button>
{% else %}
<iframe src="/novnc/vnc.html?resize=scale&path=novnc/websockify&view_only" width="100%" height="100%" frameborder="0"></iframe>
{% endif %}
{%endblock %}