document-translation / index.html
dmartincy's picture
Translation algorithm improvements
8304957
Raw
History Blame
1.42 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document Authoring SDK</title>
<style>
/* Reset default margins and padding */
html, body {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
#app {
height: 100%;
}
.spinner {
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid #f3f3f3;
border-top: 2px solid #3498db;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-right: 8px;
vertical-align: middle;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
#translationControls {
display: none;
}
#languageSelect {
margin-right: 10px;
padding: 5px;
}
#translateButton {
padding: 5px 10px;
}
#statusIndicator {
text-align: center;
padding: 10px;
background: #f0f0f0;
margin-bottom: 10px;
border-radius: 4px;
font-size: 16px;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="/document-authoring.js"></script>
</body>
</html>