diff --git a/package.json b/package.json
index bd334f8..3662fd6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ubenchlauncher",
- "version": "0.2.0",
+ "version": "0.3.5",
"description": "UBench Benchmark Launcher",
"author": "UBench Organization",
"main": "./src/ubenchlauncher.js",
diff --git a/public/css/style.css b/public/css/style.css
index 505b165..5abb6a7 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -318,6 +318,12 @@ body {
.btn-sm {
font-size: 0.75rem;
padding: 4px 8px;
+ height: 32px;
+ margin: 12px;
+}
+
+.toolbar > .btn-sm {
+ margin: 0;
}
.btn:hover {
@@ -327,6 +333,10 @@ body {
color: white;
}
+.m0 {
+ margin: 0;
+}
+
.right {
float: right;
}
@@ -487,30 +497,6 @@ select {
.hidden {
visibility: collapse;
}
-.spinner-xl {
- border: 8px solid white;
- border-radius: 50%;
- width: 128px;
- height: 128px;
- animation: pulse 1s linear infinite;
- margin: auto;
- position: absolute;
- top: 46px;
- left: calc(50% - 68px);
-}
-
-
-@keyframes pulse {
- 0% {
- opacity: 1;
- scale: 0.9;
- }
-
- 100% {
- opacity: 0;
- scale: 1.1;
- }
-}
.spinner {
border: 2px solid var(--dark);
@@ -537,4 +523,20 @@ select {
.btn-light {
background-color: var(--light);
color: var(--dark);
+}
+
+
+.btn_icon {
+ min-width: 28px !important;
+ padding: 2px;
+}
+
+.btn-icon {
+ width: 14px;
+ height: 14px;
+ filter: invert();
+}
+
+a {
+ text-decoration: none;
}
\ No newline at end of file
diff --git a/public/icons/reset.svg b/public/icons/reset.svg
new file mode 100644
index 0000000..b389935
--- /dev/null
+++ b/public/icons/reset.svg
@@ -0,0 +1,14 @@
+
+
+
diff --git a/public/js/app.js b/public/js/app.js
index 14e88e3..112cdd7 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -1,29 +1,4 @@
-let sysinfo = JSON.parse(document.getElementById("sysinfo").innerHTML);
-console.log(sysinfo)
-let disks = ``;
-let gpus = ``;
-for (var i = 0; i < sysinfo.disks.length; i++) {
- disks += `${sysinfo.disks[i].name} ${sysinfo.disks[i].size} GB
`;
-}
-for (var i = 0; i < sysinfo.gpu.length; i++) {
- gpus += `${sysinfo.gpu[i].model} ${sysinfo.gpu[i].vram} MB
`;
-}
-document.getElementById("system_content").innerHTML = `
-
${sysinfo.system.model}
-System ${sysinfo.os.distro} ${sysinfo.os.arch}
-Board ${sysinfo.board.model}
Version ${sysinfo.board.version}
Made by ${sysinfo.board.manufacturer}
Processor ${sysinfo.cpu.brand}
${sysinfo.cpu.processors} x ${sysinfo.cpu.speed} GHz
${sysinfo.cpu.cores} Core / ${sysinfo.cpu.threads} Thread
Graphics ${gpus}
-Memory ${sysinfo.ram} GB
-Storage ${disks}
-© UBench Organization
+ + +<%=version%>
+ + + \ No newline at end of file diff --git a/public/splash.html b/public/splash.html deleted file mode 100644 index 3ec2ae4..0000000 --- a/public/splash.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - -System Data
+ +Benchmark Library
+ +UBench Launcher Version
<%=version%>
© UBench Organization
- - -