29 lines
No EOL
786 B
HTML
29 lines
No EOL
786 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport"
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Document</title>
|
|
</head>
|
|
|
|
<body style="height: 100vh;">
|
|
|
|
<div style="display: flex; flex-direction: column; gap: 1em; align-items: center">
|
|
<div>
|
|
<input id="file_input" type="file" name="image" accept="image/svg+xml" />
|
|
</div>
|
|
|
|
<img src="" style="width: 400px; height: 300px; border: solid 4px darkblue; object-fit: contain" id="preview" />
|
|
|
|
<button id="download" disabled>
|
|
Download Result
|
|
</button>
|
|
</div>
|
|
|
|
<script src="converter.js" type="text/javascript"></script>
|
|
</body>
|
|
|
|
</html> |