Update index.html

master
钟进 6 years ago
parent 336a594815
commit ba9f528e8e

@ -17,130 +17,11 @@
<script type="text/javascript" src="../../js/translate.js"></script>
<script type="text/javascript" src="../../js/adapter-settings.js"></script>
<script type="text/javascript" src="words.js"></script>
<style>
.dialog-config {
overflow: hidden !important;
}
.ui-tabs-panel {
height: calc(100% - 70px);
padding: 0 !important;
}
.table_header {
background-color: blue;
color: white;
}
.bind {
width: 150px;
text-align: right;
}
.ui-jqgrid-titlebar {
display: none;
}
.ui-jqgrid-bdiv {
overflow-x: hidden !important;
}
.ui-button-text-only .ui-button-text {
padding: .3em !important;
}
.modbus-tab {
/*overflow: hidden;*/
position: relative;
height: calc(100% - 20px);
width: 100%;
}
.modbus-grid {
height: 100% !important;
width: 100% !important;
}
.jsgrid-grid-body {
height: calc(100% - 58px) !important;
}
.jsgrid-table {
width: 100% !important;
font-size: 1em;
}
.jsgrid-insert-mode-button {
display: none;
}
/*.jsgrid-edit-row input {
padding: 0;
}*/
.jsgrid-table td {
padding: 0.2em 0.2em !important;
}
<link rel="stylesheet" type="text/css" href="./lib/css/my.css"/>
.table_head_btn {
display: inline-flex;
text-align: center;
font-size: 1.1em;
position: absolute;
z-index: 99;
right: 5px;
top: -27px;
color: white;
}
.back_image {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 0;
opacity: 0.3;
}
.logo {
position: absolute;
top: 0;
left: 0;
z-index: 1;
color: rgb(0, 153, 153);
font-weight: bolder;
font-size: 39px;
padding: 9px;
font-family: sans-serif;
}
tr td {
padding-left: 10px;
}
#adapter-container {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-drag: none;
user-select: none;
}
#export-dlg .select-dropdown {
display: none;
}
#export-dlg .dropdown-content {
display: none;
}
#export-dlg .caret {
display: none;
}
</style>
<script type="text/javascript">
var onChange = null;
var activePage = '';
var offsets = {
@ -153,36 +34,7 @@
var typeItemsLen = {
'uint8be': 1,
'uint8le': 1,
'int8be': 1,
'int8le': 1,
'uint16be': 1,
'uint16le': 1,
'int16be': 1,
'int16le': 1,
'int16be1': 1,
'int16le1': 1,
'uint32be': 2,
'uint32le': 2,
'uint32sw': 2,
'uint32sb': 2,
'int32be': 2,
'int32le': 2,
'int32sw': 2,
'int32sb': 2,
'uint64be': 4,
'uint64le': 4,
'int64be': 4,
'int64le': 4,
'floatbe': 2,
'floatle': 2,
'floatsw': 2,
'floatsb': 2,
'doublebe': 4,
'doublele': 4,
'string': 0,
'stringle': 0,
'ieee754': 2
'uint8le': 1
};
var attempts = 0;

Loading…
Cancel
Save