index.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. z-index: 4 !important
  34. }
  35. .btn.disabled {
  36. cursor: default;
  37. pointer-events: none;
  38. z-index: 0;
  39. }
  40. .text-muted a {
  41. color: rgb(173, 173, 173);
  42. }
  43. a {
  44. transition-duration: 300ms;
  45. }
  46. a:hover {
  47. box-shadow: inset 1px 1px 6px rgba(59, 86, 100, 0.3);
  48. }
  49. </style>
  50. <script id="MathJax-script" src="https://cdn.bootcss.com/mathjax/3.0.5/es5/tex-mml-chtml.js"></script>
  51. <!-- <script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script> -->
  52. <script src="../js/chem.js"></script>
  53. </head>
  54. <body>
  55. <div class="row">
  56. <div class="col-lg-2 col-md-2 col-xs-12">
  57. <a class="btn btn-info" href="/"><i class="glyphicon glyphicon-home" aria-hidden="true"></i>&nbsp;返回</a>
  58. <hr>
  59. </div>
  60. <div class="col-lg-8 col-md-10 col-xs-12">
  61. <div class="input-group">
  62. <span class="input-group-btn">
  63. <button type="button" class="btn btn-default" onclick="balUp()" id="balShare" title="导入配平结果"> <span
  64. class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></button>
  65. </span>
  66. <input id="balInput" type="text" class="form-control" oninput="input()">
  67. <span class="input-group-btn">
  68. <button type="button" class="btn btn-default" onclick="balance()" id="balBtn">配平</button>
  69. <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
  70. <span class="caret"></span>
  71. <span class="sr-only">切换下拉菜单</span>
  72. </button>
  73. <ul class="dropdown-menu" role="menu">
  74. <li class="dropdown-header">功能</li>
  75. <li><a href="#" onclick="setBal()">配平</a></li>
  76. <li><a href="#" onclick="setWeigh()">相对质量</a></li>
  77. <li><a href="#" onclick="setWeigh2()" data-toggle="tooltip" data-placement="left"
  78. title="四位有效数字">相对质量*</a></li>
  79. <li class="divider"></li>
  80. <li><a href="/chemist" data-toggle="tooltip" data-placement="left" title="将打开新页面">配平接口</a>
  81. </li>
  82. <li class="divider"></li>
  83. <li><a href="#" data-toggle="tooltip" data-placement="left" title="将会对所有人可见">发送到数据库</a></li>
  84. </ul>
  85. </span>
  86. </div>
  87. <hr>
  88. <div class="well" id="frame">
  89. </div>
  90. <hr>
  91. <div class="input-group">
  92. <span class="input-group-btn">
  93. <button type="button" class="btn btn-default" onclick="qryUp()" id="qryShare" title="导入配平结果"> <span
  94. class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></button>
  95. </span>
  96. <input id="qryInput" type="text" class="form-control" oninput="input()">
  97. <span class="input-group-btn">
  98. <button type="button" class="btn btn-default" onclick="balance()" id="qryBtn">查询</button>
  99. <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
  100. <span class="caret"></span>
  101. <span class="sr-only">切换下拉菜单</span>
  102. </button>
  103. <ul class="dropdown-menu" role="menu">
  104. <li class="dropdown-header">功能</li>
  105. <li><a href="#" onclick="setBal()">查询</a></li>
  106. <li class="divider"></li>
  107. <li><a href="/chemist" data-toggle="tooltip" data-placement="left" title="将打开新页面">上传到数据库</a>
  108. </li>
  109. </ul>
  110. </span>
  111. </div>
  112. <hr>
  113. <div class="well" id="frame">
  114. </div>
  115. </div>
  116. </div>
  117. </body>
  118. </html>