index.html 5.9 KB

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