@@ -6,16 +6,17 @@ jQuery(document).ready(function() {
6
6
// Fetch injected URL from DOM
7
7
var frontendServiceUrl = $ ( '#frontendServiceUrl' ) . text ( ) ;
8
8
var backendServerUrl = $ ( '#backendServerUrl' ) . text ( ) ;
9
+
10
+ var tableTdKeyWidth = '250' ;
9
11
10
12
var body = document . getElementsByTagName ( 'body' ) [ 0 ] ;
11
13
12
14
function createTable ( ) {
13
15
var tbl = document . createElement ( 'table' ) ;
14
16
tbl . style . width = '40%' ;
15
- tbl . style . align = 'right' ;
16
17
tbl . setAttribute ( 'border' , '3' ) ;
17
18
tbl . setAttribute ( 'align' , 'center' ) ;
18
- tbl . setAttribute ( 'class' , 'table table-bordered table-striped dataTable no-footer ' ) ;
19
+ tbl . setAttribute ( 'class' , 'table table-bordered table-striped dataTable' ) ;
19
20
return tbl ;
20
21
}
21
22
@@ -36,16 +37,19 @@ jQuery(document).ready(function() {
36
37
37
38
var tr = document . createElement ( 'tr' ) ;
38
39
var tdKey = document . createElement ( 'td' ) ;
40
+ tdKey . setAttribute ( 'width' , tableTdKeyWidth ) ;
39
41
tdKey . appendChild ( document . createTextNode ( 'ApplicationName' ) ) ;
40
42
tr . appendChild ( tdKey ) ;
41
43
var tdValue = document . createElement ( 'td' ) ;
44
+ // tdValue.setAttribute('width', '30px');
42
45
tdValue . appendChild ( document . createTextNode ( data . applicationName ) ) ;
43
46
tr . appendChild ( tdValue ) ;
44
47
tbdy . appendChild ( tr ) ;
45
48
46
49
47
50
tr = document . createElement ( 'tr' ) ;
48
51
tdKey = document . createElement ( 'td' ) ;
52
+ tdKey . setAttribute ( 'width' , tableTdKeyWidth ) ;
49
53
tdKey . appendChild ( document . createTextNode ( 'Version' ) ) ;
50
54
tr . appendChild ( tdKey ) ;
51
55
tdValue = document . createElement ( 'td' ) ;
@@ -55,6 +59,7 @@ jQuery(document).ready(function() {
55
59
56
60
tr = document . createElement ( 'tr' ) ;
57
61
tdKey = document . createElement ( 'td' ) ;
62
+ tdKey . setAttribute ( 'width' , tableTdKeyWidth ) ;
58
63
tdKey . appendChild ( document . createTextNode ( 'EI RestApi Requests Via Server' ) ) ;
59
64
tr . appendChild ( tdKey ) ;
60
65
tdValue = document . createElement ( 'td' ) ;
@@ -64,6 +69,7 @@ jQuery(document).ready(function() {
64
69
65
70
tr = document . createElement ( 'tr' ) ;
66
71
tdKey = document . createElement ( 'td' ) ;
72
+ tdKey . setAttribute ( 'width' , tableTdKeyWidth ) ;
67
73
tdKey . appendChild ( document . createTextNode ( 'EI Backend Connected Server' ) ) ;
68
74
tr . appendChild ( tdKey ) ;
69
75
tdValue = document . createElement ( 'td' ) ;
@@ -97,6 +103,7 @@ jQuery(document).ready(function() {
97
103
console . log ( dataKey + " : " + dataSubList [ dataKey ] ) ;
98
104
var tr = document . createElement ( 'tr' ) ;
99
105
var tdKey = document . createElement ( 'td' ) ;
106
+ tdKey . setAttribute ( 'width' , tableTdKeyWidth ) ;
100
107
tdKey . appendChild ( document . createTextNode ( dataKey ) ) ;
101
108
tr . appendChild ( tdKey ) ;
102
109
var tdValue = document . createElement ( 'td' ) ;
0 commit comments