builder_apm 0.4.2 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,273 +1,343 @@
1
1
  <style>
2
- body {
3
- font-family: Arial, sans-serif;
4
- display:none;
5
- }
6
-
7
- #header {
8
- background-color: #4CAF50;
9
- color: white;
10
- text-align: center;
11
- padding: 10px;
12
- margin-bottom: 20px;
13
- }
14
- .version {
15
- font-size:14px;
16
- }
17
- #navbar {
18
- background-color: #333;
19
- overflow: hidden;
20
- list-style-type: none;
21
- margin: 0;
22
- padding: 0;
23
- }
24
-
25
- #navbar ul {
26
- margin: 0;
27
- padding: 0;
28
- overflow: hidden;
29
- background-color: #333;
30
- }
31
-
32
- #navbar li {
33
- float: left;
34
- display:block;
35
- }
36
-
37
- #navbar li a {
38
- display: block;
39
- color: #f2f2f2;
40
- text-align: center;
41
- padding: 14px 16px;
42
- text-decoration: none;
43
- }
44
-
45
- #navbar li a:hover {
46
- background-color: #ddd;
47
- color: black;
48
- }
49
-
50
- #navbar li a.active {
51
- background-color: #4CAF50;
52
- color: white;
53
- }
54
- #navbar li a,
55
- #navbar .nav-button {
56
- display: block;
57
- color: #f2f2f2;
58
- text-align: center;
59
- padding: 14px 16px;
60
- text-decoration: none;
61
- background-color: #333;
62
- border: none; /* Removes the default button border */
63
- cursor: pointer; /* Makes the button cursor appear as a hand */
64
- font-size: 1em; /* Adjust to match your anchors */
65
- transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
66
- }
67
- td.long_text{
68
- max-width:400px;
69
- overflow-wrap:break-word;
70
- }
71
- th.sortable {
72
- cursor: pointer; /* Makes the button cursor appear as a hand */
73
- }
74
- #navbar #dark-mode-toggle {
75
- float:right;
76
- }
77
-
78
- #navbar li a:hover,
79
- #navbar .nav-button:hover {
80
- background-color: #ddd;
81
- color: black;
82
- }
83
-
84
- #navbar li a.active,
85
- #navbar .nav-button.active {
86
- background-color: #4CAF50;
87
- color: white;
88
- }
89
-
90
- table {
91
- border-collapse: collapse;
92
- width: 100%;
93
- margin-top: 20px;
94
- }
95
- th, td {
96
- border: 1px solid #ddd;
97
- padding: 8px;
98
- text-align: left;
99
- }
100
- tr:nth-child(even) {
101
- background-color: #f2f2f2;
102
- }
103
- th {
104
- background-color: #4CAF50;
105
- color: white;
106
- padding-top: 12px;
107
- padding-bottom: 12px;
108
- }
109
-
110
- #gannt_div {
111
- overflow:display;
112
- height:2000px;
113
- width:100%;
114
- }
115
- #details_div .bounding-box {
116
- border: 1px solid #333;
117
- margin: 2px -1px 3px 0px;
118
- padding: 10px 0 10px 10px;
119
- box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
120
- border-radius: 5px;
121
- }
122
-
123
- #details_div div.has-children {
124
- cursor: pointer;
125
- color: #444;
126
- font-weight: bold;
127
- }
128
-
129
- #details_div span {
130
- display: inline-block;
131
- }
132
-
133
- #details_div div {
134
- padding:5px 0 5px 5px;
135
- font-size: 14px;
136
- line-height: 1.5;
137
- color: #333;
138
- background-color: #f9f9f9;
139
- }
140
-
141
- #details_div .sql-event {
142
- background-color: #e1f5fe;
143
- color: #01579b;
144
- }
145
-
146
- #details_div .children {
147
- display:none;
148
- margin-top: 10px;
149
- border-left: 1px solid #ccc;
150
- padding-left: 10px;
151
- }
152
-
153
- #details_div .has_children {
154
- border: 1px solid #aaa;
155
- width: 20px;
156
- height: 20px;
157
- text-align: center;
158
- margin-right: 10px;
159
- }
160
-
161
- #details_div .date {
162
- color: #607d8b;
163
- margin-right: 10px;
164
- width: 135px;
165
- text-align: right;
166
- }
167
-
168
- #details_div .duration {
169
- color: #009688;
170
- margin-right: 10px;
171
- width: 100px;
172
- }
173
-
174
- #details_div .description,
175
- #details_div .sql {
176
- color: #3f51b5;
177
- margin-right: 10px;
178
- }
179
-
180
- #details_div .method_line,
181
- #details_div .trigger_line {
182
- color: #8d6e63;
183
- margin-right: 10px;
184
- width: 100%;
185
- }
186
-
187
- #details_div .cached,
188
- #details_div .record_count,
189
- #details_div .params {
190
- color: #3f51b5;
191
- margin-right: 10px;
192
- width: 100px;
193
- }
194
-
195
- #details_div .minor_call {
196
- display:none;
197
- background: #e5efe5;
198
- }
199
-
200
- #details_div .params {
201
- width: auto;
202
- }
203
- #details_div .error_status {
204
- border: 1px solid red;
205
- padding: 10px;
206
- margin-bottom: 10px;
207
- background-color: rgb(255, 238, 238);
208
- }
209
-
210
- .duration-circle {
211
- display: inline-block;
212
- width: 10px;
213
- height: 10px;
214
- border-radius: 50%;
215
- border: 1px solid #333;
216
- margin-right: 5px;
217
- }
218
-
219
- .green-circle {
220
- background-color: #0f0;
221
- border-color:#0c0;
222
- }
223
-
224
- .amber-circle {
225
- background-color: #ff0;
226
- border-color:#cc0;
227
- }
228
-
229
- .red-circle {
230
- background-color: #f00;
231
- border-color:#c00;
232
- }
233
-
234
- .image-container {
235
- position: absolute;
236
- width: 600px; /* Change to the width of your image */
237
- height: 600px; /* Change to the height of your image */
238
- overflow: hidden;
239
- left:50%;
240
- margin-left:-300px;
241
-
242
- }
243
-
244
- .image-container::before {
245
- content: '';
246
- position: absolute;
247
- top: 0;
248
- right: 0;
249
- bottom: 0;
250
- left: 0;
251
- background: radial-gradient(ellipse at center, rgba(255,255,255,0) 57%, rgba(255,255,255,1) 71%);
252
- }
253
-
254
- .image-container img {
255
- width: 100%;
256
- height: 100%;
257
- }
258
-
259
- #error_table td p {
260
- font-size: 10px;
261
- margin:2px;
262
- }
263
-
264
- @keyframes blink {
265
- 0% {opacity: 1;}
266
- 50% {opacity: 0;}
267
- 100% {opacity: 1;}
268
- }
269
-
270
- #details_div .n_plus_one {
271
- color: #ff6347;
272
- }
273
- </style>
2
+ body {
3
+ font-family: Arial, sans-serif;
4
+ display: none;
5
+ }
6
+
7
+ #header {
8
+ background-color: #4CAF50;
9
+ color: white;
10
+ text-align: center;
11
+ padding: 10px;
12
+ margin-bottom: 20px;
13
+ }
14
+ .version {
15
+ font-size: 14px;
16
+ }
17
+ #navbar {
18
+ background-color: #333;
19
+ overflow: hidden;
20
+ list-style-type: none;
21
+ margin: 0;
22
+ padding: 0;
23
+ }
24
+
25
+ #navbar ul {
26
+ margin: 0;
27
+ padding: 0;
28
+ overflow: hidden;
29
+ background-color: #333;
30
+ }
31
+
32
+ #navbar li {
33
+ float: left;
34
+ display: block;
35
+ }
36
+
37
+ #navbar li a {
38
+ display: block;
39
+ color: #f2f2f2;
40
+ text-align: center;
41
+ padding: 14px 16px;
42
+ text-decoration: none;
43
+ }
44
+
45
+ #navbar li a:hover {
46
+ background-color: #ddd;
47
+ color: black;
48
+ }
49
+
50
+ #navbar li a.active {
51
+ background-color: #4CAF50;
52
+ color: white;
53
+ }
54
+ #navbar li a,
55
+ #navbar .nav-button {
56
+ display: block;
57
+ color: #f2f2f2;
58
+ text-align: center;
59
+ padding: 14px 16px;
60
+ text-decoration: none;
61
+ background-color: #333;
62
+ border: none; /* Removes the default button border */
63
+ cursor: pointer; /* Makes the button cursor appear as a hand */
64
+ font-size: 1em; /* Adjust to match your anchors */
65
+ transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
66
+ }
67
+ td.long_text {
68
+ max-width: 400px;
69
+ overflow-wrap: break-word;
70
+ }
71
+ th.sortable {
72
+ cursor: pointer; /* Makes the button cursor appear as a hand */
73
+ }
74
+ #navbar #dark-mode-toggle {
75
+ float: right;
76
+ }
77
+
78
+ #navbar li a:hover,
79
+ #navbar .nav-button:hover {
80
+ background-color: #ddd;
81
+ color: black;
82
+ }
83
+
84
+ #navbar li a.active,
85
+ #navbar .nav-button.active {
86
+ background-color: #4CAF50;
87
+ color: white;
88
+ }
89
+
90
+ table {
91
+ border-collapse: collapse;
92
+ width: 100%;
93
+ margin-top: 20px;
94
+ }
95
+ th,
96
+ td {
97
+ border: 1px solid #ddd;
98
+ padding: 8px;
99
+ text-align: left;
100
+ }
101
+ tr:nth-child(even) {
102
+ background-color: #f2f2f2;
103
+ }
104
+ th {
105
+ background-color: #4CAF50;
106
+ color: white;
107
+ padding-top: 12px;
108
+ padding-bottom: 12px;
109
+ }
110
+
111
+ #gannt_div {
112
+ overflow: display;
113
+ height: 2000px;
114
+ width: 100%;
115
+ }
116
+ #details_div .bounding-box {
117
+ border: 1px solid #333;
118
+ margin: 2px -1px 3px 0;
119
+ padding: 10px 0 10px 10px;
120
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
121
+ border-radius: 5px;
122
+ }
123
+
124
+ #details_div div.has-children {
125
+ cursor: pointer;
126
+ color: #444;
127
+ font-weight: bold;
128
+ }
129
+
130
+ #details_div span {
131
+ display: inline-block;
132
+ }
133
+
134
+ #details_div div {
135
+ padding: 5px 0 5px 5px;
136
+ font-size: 14px;
137
+ line-height: 1.5;
138
+ color: #333;
139
+ background-color: #f9f9f9;
140
+ }
141
+
142
+ #details_div .sql-event {
143
+ background-color: #e1f5fe;
144
+ color: #01579b;
145
+ }
146
+
147
+ #details_div .children {
148
+ display: none;
149
+ margin-top: 10px;
150
+ border-left: 1px solid #ccc;
151
+ padding-left: 10px;
152
+ }
153
+
154
+ #details_div .has_children {
155
+ border: 1px solid #aaa;
156
+ width: 20px;
157
+ height: 20px;
158
+ text-align: center;
159
+ margin-right: 10px;
160
+ }
161
+
162
+ #details_div .date {
163
+ color: #607d8b;
164
+ margin-right: 10px;
165
+ width: 135px;
166
+ text-align: right;
167
+ }
168
+
169
+ #details_div .duration {
170
+ color: #009688;
171
+ margin-right: 10px;
172
+ width: 120px;
173
+ }
174
+
175
+ #details_div .description,
176
+ #details_div .sql {
177
+ color: #3f51b5;
178
+ margin-right: 10px;
179
+ }
180
+
181
+ #details_div .method_line,
182
+ #details_div .trigger_line {
183
+ color: #8d6e63;
184
+ margin-right: 10px;
185
+ width: 100%;
186
+ }
187
+
188
+ #details_div .cached,
189
+ #details_div .record_count,
190
+ #details_div .params {
191
+ color: #3f51b5;
192
+ margin-right: 10px;
193
+ width: 100px;
194
+ }
195
+
196
+ #details_div .minor_call {
197
+ display: none;
198
+ background: #e5efe5;
199
+ }
200
+
201
+ #details_div .params {
202
+ width: auto;
203
+ }
204
+ #details_div .error_status {
205
+ border: 1px solid red;
206
+ padding: 10px;
207
+ margin-bottom: 10px;
208
+ background-color: rgb(255, 238, 238);
209
+ }
210
+
211
+ .duration-circle {
212
+ display: inline-block;
213
+ width: 10px;
214
+ height: 10px;
215
+ border-radius: 50%;
216
+ border: 1px solid #333;
217
+ margin-right: 5px;
218
+ }
219
+
220
+ .green-circle {
221
+ background-color: #0f0;
222
+ border-color: #0c0;
223
+ }
224
+
225
+ .amber-circle {
226
+ background-color: #ff0;
227
+ border-color: #cc0;
228
+ }
229
+
230
+ .red-circle {
231
+ background-color: #f00;
232
+ border-color: #c00;
233
+ }
234
+
235
+ .image-container {
236
+ position: absolute;
237
+ width: 600px; /* Change to the width of your image */
238
+ height: 600px; /* Change to the height of your image */
239
+ overflow: hidden;
240
+ left: 50%;
241
+ margin-left: -300px;
242
+
243
+ }
244
+
245
+ .image-container::before {
246
+ content: '';
247
+ position: absolute;
248
+ top: 0;
249
+ right: 0;
250
+ bottom: 0;
251
+ left: 0;
252
+ background: radial-gradient(ellipse at center, rgba(255,255,255,0) 57%, rgba(255,255,255,1) 71%);
253
+ }
254
+
255
+ .image-container img {
256
+ width: 100%;
257
+ height: 100%;
258
+ }
259
+
260
+ #error_table td p {
261
+ font-size: 10px;
262
+ margin: 2px;
263
+ }
264
+
265
+ @keyframes blink {
266
+ 0% {
267
+ opacity: 1;
268
+ }
269
+ 50% {
270
+ opacity: 0;
271
+ }
272
+ 100% {
273
+ opacity: 1;
274
+ }
275
+ }
276
+
277
+ pre {
278
+ outline: 1px solid;
279
+ padding: 10px;
280
+ background: rgba(0, 0, 0, 0.1);
281
+ white-space: pre-wrap;
282
+ }
283
+
284
+ #details_div .n_plus_one {
285
+ color: #ff6347;
286
+ }
287
+ #details_div .request-summary,
288
+ #details_div .diagnosis-section {
289
+ background-color: #f7f7f7;
290
+ border: 1px solid #e0e0e0;
291
+ padding: 10px;
292
+ margin-bottom: 20px;
293
+ border-radius: 5px;
294
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
295
+ }
296
+ #details_div .status-message {
297
+ margin-top: 20px;
298
+ }
299
+ #details_div .highlight-results {
300
+ background-color: #e6e6e6; /* A subtle light gray, opposite of the dark theme's background. */
301
+ border: 1px solid #aaaaaa; /* A slightly darker border for contrast. */
302
+ border-radius: 4px; /* Maintaining consistency with other styles. */
303
+ padding: 2px 4px; /* Consistent padding. */
304
+ cursor: help; /* Show a hint that there's a tooltip. */
305
+ color: #333333; /* Dark text for better visibility against the light background. */
306
+ }
307
+
308
+ #details_div .request-summary span {
309
+ display: inline-block;
310
+ margin-bottom: 8px;
311
+ font-size: 14px;
312
+ color: #333;
313
+ width: 50%;
314
+ margin-right: 0;
315
+ }
316
+
317
+ #details_div .ai-doctor-button,
318
+ #details_div .deeper-analysis-button {
319
+ background-color: #3498db;
320
+ color: #fff;
321
+ padding: 8px 16px;
322
+ border: none;
323
+ border-radius: 4px;
324
+ cursor: pointer;
325
+ transition: background-color 0.3s ease;
326
+ font-size: 14px;
327
+ display: flex;
328
+ align-items: center;
329
+ }
330
+
331
+ #details_div .ai-doctor-button:hover,
332
+ #details_div .deeper-analysis-button:hover {
333
+ background-color: #2980b9;
334
+ }
335
+
336
+ #details_div .ai-doctor-button.disabled,
337
+ #details_div .ai-doctor-button.disabled:hover,
338
+ #details_div .deeper-analysis-button.disabled,
339
+ #details_div .deeper-analysis-button.disabled:hover {
340
+ background-color: #aaa;
341
+ cursor: not-allowed;
342
+ }
343
+ </style>