noding / templates /index.html
broadfield-dev's picture
Update templates/index.html
4ee4a07 verified
raw
history blame contribute delete
831 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Node Canvas</title>
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
<script src="https://unpkg.com/konva@9/konva.min.js"></script>
</head>
<body>
<div id="controls">
<input type="file" id="codeFile" accept=".py">
<textarea id="codeInput" rows="10" cols="50" placeholder="Paste Python code here"></textarea>
<button onclick="submitCode()">Parse Code</button>
<button onclick="addNode()">Add Manual Node</button>
<button onclick="autoConnect()">Auto-Connect</button>
</div>
<div id="container"></div>
<script src="{{ url_for('static', filename='canvas.js') }}"></script>
</body>
</html>