index.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!DOCTYPE html>
  2. <head>
  3. <!-- <link async rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
  4. integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous"> -->
  5. <script type="text/javascript" src="../js/jquery.min.js" crossorigin="anonymous"></script>
  6. <link rel="stylesheet" href="../css/bootstrap.min.css" crossorigin="anonymous">
  7. <script type="text/javascript" src="../js/bootstrap.min.js" crossorigin="anonymous"></script>
  8. <link rel="stylesheet" href="../css/style.css">
  9. <link rel="preconnect" href="https://fonts.gstatic.com">
  10. <link href="https://fonts.loli.net/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700
  11. &family=Noto+Serif+SC:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  12. <title>化学</title>
  13. <style>
  14. .well {
  15. padding: 10px;
  16. border: 1px solid rgb(173, 173, 173);
  17. background-color: #f5f5f5;
  18. margin-top: 5px;
  19. min-height: 160px;
  20. border-radius: 5px;
  21. width: 100%;
  22. overflow-x: auto;
  23. overflow-y: auto;
  24. }
  25. .btn-default:focus,
  26. .btn-default:focus-visible,
  27. .btn-default:focus-within,
  28. .btn-default:active:focus {
  29. outline: 4px dashed rgba(59, 86, 100, 0.5);
  30. }
  31. .btn-default:hover {
  32. outline: 10px double rgba(59, 86, 100, 0.5);
  33. }
  34. .btn.disabled {
  35. cursor: default;
  36. pointer-events: none;
  37. }
  38. </style>
  39. <script id="MathJax-script" src="https://cdn.bootcss.com/mathjax/3.0.5/es5/tex-mml-chtml.js"></script>
  40. <!-- <script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script> -->
  41. <script src="../js/chem.js"></script>
  42. </head>
  43. <body>
  44. <div class="row">
  45. <div class="col-lg-2 col-md-2 col-xs-12">
  46. <a class="btn btn-info" href="/"><i class="glyphicon glyphicon-home" aria-hidden="true"></i>&nbsp;返回</a>
  47. <hr>
  48. </div>
  49. <div class="col-lg-8 col-md-10 col-xs-12">
  50. <div class="input-group">
  51. <span class="input-group-btn">
  52. <button type="button" class="btn btn-default" onclick="balUp()" id="balShare" title="导入配平结果"> <span
  53. class="glyphicon glyphicon-share-alt" aria-hidden="true"></span></button>
  54. </span>
  55. <input id="balInput" type="text" class="form-control" oninput="input()">
  56. <span class="input-group-btn">
  57. <button type="button" class="btn btn-default" onclick="balance()" id="balBtn">配平</button>
  58. <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
  59. <span class="caret"></span>
  60. <span class="sr-only">切换下拉菜单</span>
  61. </button>
  62. <ul class="dropdown-menu" role="menu">
  63. <li class="dropdown-header">功能</li>
  64. <li><a href="#" onclick="setBal()">配平</a></li>
  65. <li><a href="#" onclick="setWeigh()">相对质量</a></li>
  66. <li><a href="#" onclick="setWeigh2()" data-toggle="tooltip" data-placement="left"
  67. title="四位有效数字">相对质量*</a></li>
  68. <li class="divider"></li>
  69. <li><a href="/chemist" data-toggle="tooltip" data-placement="left" title="将打开新页面">配不下了</a>
  70. </li>
  71. <li class="divider"></li>
  72. <li><a href="#" data-toggle="tooltip" data-placement="left" title="将会对所有人可见">发送到数据库</a></li>
  73. </ul>
  74. </span>
  75. </div>
  76. <hr>
  77. <div class="well" id="frame">
  78. </div>
  79. </div>
  80. </div>
  81. </body>
  82. </html>