-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel2.html
More file actions
126 lines (115 loc) · 3.46 KB
/
model2.html
File metadata and controls
126 lines (115 loc) · 3.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DML Model 2</title>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background: url('image.jpg') no-repeat center center/cover;
color: #fff;
/* text-align: center; */
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
}
/* Dark overlay for readability */
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: 1;
}
.box {
background: rgba(20, 20, 20, 0.95);
padding: 30px;
border-radius: 20px;
box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
max-width: 900px;
width: 90%;
position: relative;
z-index: 2;
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
background: #2196F3;
color: #ffffff;
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(33, 150, 243, 0.5);
}
.back-button {
background: #1e1e1e;
color: #ffffff;
border: none;
padding: 10px 20px;
cursor: pointer;
font-size: 16px;
border-radius: 5px;
transition: 0.3s;
}
.back-button:hover {
background: #0f4c7e;
color: #000;
}
h2 {
border-bottom: 2px solid #00ff95;
padding-bottom: 5px;
}
.log-container {
background: #1e1e1e;
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(33, 150, 243, 0.5);
margin-bottom: 20px;
}
.log-content {
max-height: 250px;
overflow-y: auto;
background: #000;
color: #0f0;
padding: 10px;
border-radius: 5px;
font-family: monospace;
white-space: pre-wrap;
}
</style>
</head>
<body>
<div class="box">
<div class="header">
<button class="back-button" onclick="history.back()">← Back</button>
<h1>DML Model 2 - Linear Regression</h1>
</div>
<h2>Master Node Logs</h2>
<div class="log-container">
<div id="masterLogs" class="log-content">Loading...</div>
</div>
</div>
<script>
async function fetchMasterLogs() {
try {
let response = await fetch("master_a.txt");
let text = await response.text();
document.getElementById("masterLogs").innerText = text;
} catch (error) {
document.getElementById("masterLogs").innerText = "Error loading logs...";
}
}
setInterval(fetchMasterLogs, 2000);
fetchMasterLogs();
</script>
</body>
</html>