index.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <link href="//fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <meta name="theme-color" content="#000000">
  8. <!--
  9. manifest.json provides metadata used when your web app is added to the
  10. homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
  11. -->
  12. <!-- Label Studio Frontend -->
  13. <!-- <link href="https://unpkg.com/label-studio@latest/build/static/css/main.css" rel="stylesheet">
  14. <script src="https://unpkg.com/label-studio@latest/build/static/js/main.js"></script> -->
  15. <!-- Local version downloaded by get-build.js -->
  16. <link href="/static/lsf/css/main.css" rel="stylesheet">
  17. <script src="/static/lsf/js/main.js"></script>
  18. <!--
  19. Notice the use of %PUBLIC_URL% in the tags above.
  20. It will be replaced with the URL of the `public` folder during the build.
  21. Only files inside the `public` folder can be referenced from the HTML.
  22. Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
  23. work correctly both with client-side routing and a non-root public URL.
  24. Learn how to configure a non-root public URL by running `npm run build`.
  25. -->
  26. <title><%= htmlWebpackPlugin.options.title %></title>
  27. <style>
  28. body {
  29. font-family: var(--font-sans);
  30. font-weight: normal;
  31. font-size: 14px;
  32. margin: 0;
  33. overflow: hidden;
  34. width: 100vw;
  35. height: 100vh;
  36. }
  37. #app {
  38. width: 100%;
  39. height: 100%;
  40. margin: 0;
  41. }
  42. td, th {
  43. padding: 0.4em 2em;
  44. border: 1px solid #ccc;
  45. }
  46. ::-webkit-scrollbar-track {
  47. box-shadow: inset 0 0 8px rgba(178, 178, 178, 0.3) !important;
  48. background-color: var(--color-neutral-background) !important;
  49. }
  50. ::-webkit-scrollbar {
  51. width: 8px !important;
  52. height: 8px !important;
  53. background-color: var(--color-neutral-border-boldest) !important;
  54. }
  55. ::-webkit-scrollbar-thumb {
  56. background-color: #c3c3c3 !important;
  57. border: 8px solid #b4b4b4 !important;
  58. }
  59. </style>
  60. </head>
  61. <body>
  62. <noscript>
  63. You need to enable JavaScript to run this app.
  64. </noscript>
  65. <div id="app" data-project-id="2"></div>
  66. </body>
  67. </html>