2017-06-06 12:49:11 +00:00
|
|
|
{% load staticfiles %}
|
2016-04-17 22:25:46 +00:00
|
|
|
{% load i18n %}
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2019-06-24 11:26:25 +00:00
|
|
|
<link rel="shortcut icon" href="{% static "favicon.ico" %}">
|
2016-04-17 22:25:46 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2017-06-06 12:49:11 +00:00
|
|
|
<link rel="stylesheet" href="{% static "css/bootstrap.min.css" %}">
|
|
|
|
<link href="{% static "css/webvirtcloud.css" %}" rel="stylesheet">
|
2016-04-17 22:25:46 +00:00
|
|
|
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: #313131;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main_container {
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
max-width: none;
|
|
|
|
height: 100%;
|
|
|
|
background-color:#494949;
|
|
|
|
border-bottom-right-radius: 800px 600px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#main_container canvas {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#status {
|
|
|
|
z-index: 10000;
|
|
|
|
width: 80%;
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
left: 10%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
{% block head %}{% endblock %}
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
<a class="navbar-brand">{{ instance.name }}</a>
|
|
|
|
</div>
|
|
|
|
<div class="collapse navbar-collapse">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li class="dropdown">
|
2018-08-27 12:30:50 +00:00
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{% trans "Send key(s)" %} <span class="caret"></span></a>
|
2016-04-17 22:25:46 +00:00
|
|
|
<ul class="dropdown-menu" role="menu">
|
2018-08-27 12:30:50 +00:00
|
|
|
<li id="ctrlaltdel"><a href='#'>Ctrl+Alt+Del</a></li>
|
2016-04-17 22:25:46 +00:00
|
|
|
<li class="divider"></li>
|
2018-08-27 12:30:50 +00:00
|
|
|
<li id="ctrlaltf1"><a href='#'>Ctrl+Alt+F1</a></li>
|
|
|
|
<li id="ctrlaltf2"><a href='#'>Ctrl+Alt+F2</a></li>
|
|
|
|
<li id="ctrlaltf3"><a href='#'>Ctrl+Alt+F3</a></li>
|
|
|
|
<li id="ctrlaltf4"><a href='#'>Ctrl+Alt+F4</a></li>
|
|
|
|
<li id="ctrlaltf5"><a href='#'>Ctrl+Alt+F5</a></li>
|
|
|
|
<li id="ctrlaltf6"><a href='#'>Ctrl+Alt+F6</a></li>
|
|
|
|
<li id="ctrlaltf7"><a href='#'>Ctrl+Alt+F7</a></li>
|
|
|
|
<li id="ctrlaltf8"><a href='#'>Ctrl+Alt+F8</a></li>
|
|
|
|
<li id="ctrlaltf9"><a href='#'>Ctrl+Alt+F9</a></li>
|
|
|
|
<li id="ctrlaltf10"><a href='#'>Ctrl+Alt+F10</a></li>
|
|
|
|
<li id="ctrlaltf11"><a href='#'>Ctrl+Alt+F11</a></li>
|
|
|
|
<li id="ctrlaltf12"><a href='#'>Ctrl+Alt+F12</a></li>
|
2016-04-17 22:25:46 +00:00
|
|
|
</ul>
|
2018-08-27 12:30:50 +00:00
|
|
|
</li>
|
|
|
|
<li id="fullscreen_button"><a href='#'>{% trans "Fullscreen" %}</a></li>
|
2016-04-17 22:25:46 +00:00
|
|
|
{% block navbarmenu %}{% endblock %}
|
2018-08-27 12:30:50 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-24 13:45:23 +00:00
|
|
|
</nav>
|
2016-04-17 22:25:46 +00:00
|
|
|
<div id='main_container' class="container">
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</div>
|
2017-06-06 12:49:11 +00:00
|
|
|
<script src="{% static "js/jquery.js" %}"></script>
|
|
|
|
<script src="{% static "js/bootstrap.min.js" %}"></script>
|
2016-04-17 22:25:46 +00:00
|
|
|
|
|
|
|
<script>
|
|
|
|
function log_message(msg,type) {
|
|
|
|
var exist=$('#status').is('div');
|
|
|
|
status_div=$('<div id="status" class="alert alert-'+type+' role="alert"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>'+msg+'</div>');
|
|
|
|
if (exist) {
|
|
|
|
$('#status').remove();
|
|
|
|
$('body').prepend(status_div);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
status_div.hide();
|
|
|
|
$('body').prepend(status_div);
|
|
|
|
status_div.fadeIn(200);
|
|
|
|
}
|
|
|
|
if (type!='danger') {
|
|
|
|
status_div.delay(3000).fadeOut(200);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function log_error(msg) {
|
|
|
|
log_message(msg,'danger');
|
|
|
|
}
|
|
|
|
|
|
|
|
function log_info(msg) {
|
|
|
|
log_message(msg,'info');
|
|
|
|
}
|
2018-05-31 09:38:03 +00:00
|
|
|
{% if console_error %}
|
|
|
|
log_error('{{ console_error|escapejs }}');
|
|
|
|
{% endif %}
|
2016-04-17 22:25:46 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
{% block foot %}{% endblock %}
|
|
|
|
</body>
|
|
|
|
</html>
|