2019-09-04 21:19:52 +08:00

33 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title>ShadowEditor.AI</title>
<link rel="shortcut icon" href="favicon.ico">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link href="{{ url_for('static', filename='assets/css/codemirror.css') }}" rel="stylesheet" />
<link href="{{ url_for('static', filename='assets/css/theme/monokai.css') }}" rel="stylesheet" />
<link href="{{ url_for('static', filename='assets/css/addon/dialog.css') }}" rel="stylesheet" />
<link href="{{ url_for('static', filename='assets/css/addon/show-hint.css') }}" rel="stylesheet" />
<link href="{{ url_for('static', filename='assets/css/addon/tern.css') }}" rel="stylesheet" />
<link href="{{ url_for('static', filename='build/ShadowEditor.AI.css') }}" rel="stylesheet" />
</head>
<body>
<div id="container" tabindex="10"></div>
<script src="{{ url_for('static', filename='assets/js/react.js') }}"></script>
<script src="{{ url_for('static', filename='assets/js/react-dom.js') }}"></script>
<script src="{{ url_for('static', filename='assets/js/d3.js') }}"></script>
<script src="{{ url_for('static', filename='build/ShadowEditor.AI.js') }}"></script>
<script>
window.onload = function () {
new AI.Application(document.getElementById('container'), {
server: location.origin,
});
};
</script>
</body>
</html>