forked from antekov/mt5-manager
<!DOCTYPE html>
| |
<html>
| |
| |
<head>
| |
<title>MT5 Manager</title>
| |
<link rel="stylesheet" href="/static/styles.css">
| |
</head>
| |
| |
<body>
| |
<h1>MT5 Manager</h1>
| |
<div class="instances">
| |
<h2>Instances</h2>
| |
<ul id="instanceList">
| |
{% for name, data in instances.items() %}
| |
<li class="{{ data.status }}">
| |
<strong>{{ name }}</strong>
| |
{% if data.pid > 0 %}
| |
(PID: {{ data.pid }})
| |
<button onclick="stopInstance('{{ name }}')">Stop</button>
| |
{% else %}
| |
<button onclick="startInstance('{{ name }}')">Start</button>
| |
{% endif %}
| |
</li>
| |
{% endfor %}
| |
</ul>
| |
</div>
| |
<!--
| |
<hr/>
| |
<div class="controls">
| |
<input type="text" id="instanceName" placeholder="New instance name">
| |
<button onclick="addInstance('{{ name }}')">Add</button>
| |
</div>
| |
-->
| |
<script src="/static/script.js"></script>
| |
</body>
| |
| |
</html> |