win_root_login.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html lang="ru">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <title>WarTank bot</title>
  6. <meta name="author" content="SVI">
  7. <style>
  8. html {
  9. height: 100%;
  10. }
  11. body {
  12. margin: 0;
  13. color: #fff;
  14. /* Растягиваем body по высоте html */
  15. min-height: 100%;
  16. display: grid;
  17. grid-template-rows: auto 1fr auto;
  18. }
  19. header {
  20. background: rgb(88, 88, 184);
  21. }
  22. main {
  23. background: rgb(141, 112, 112);
  24. }
  25. footer {
  26. background: black;
  27. }
  28. .my-label {
  29. display: inline-block;
  30. background: rgb(12, 54, 56);
  31. font-family: 'Courier New', Courier, monospace;
  32. margin-top: 0.5em;
  33. margin-left: 0.5em;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. <header role="banner">
  39. <b>WarTank bot [FunnySoft 2022]</b>
  40. </header>
  41. <main role="main">
  42. <h2>Ввод пароля пользователя</h2>
  43. <div class="my-label">
  44. Пароль:<input id="/root/password/val" type="text" />
  45. <button type="button" name="save" value="Вход" onclick="check_pass()">Вход</button>
  46. <div style="background:red;" id="/root/password/err"></div>
  47. </div>
  48. <hr width="95%" height="4px">
  49. </main>
  50. <footer role="contentinfo">
  51. <div class="footer">Для правильной работы программы необходимо запустить <code>server</code>.</div>
  52. </footer>
  53. </body>
  54. </html>