-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated button style, splash screen; versioned 0.3.5
- Loading branch information
1 parent
cee7a7d
commit 3046954
Showing
14 changed files
with
182 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
<div id="navbar_bottom" class="bottom"> | ||
|
||
</div> | ||
<p hidden id="selected_menu_item"><%=menu%></p> | ||
|
||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>UBench Launcher</title> | ||
|
||
<style> | ||
@font-face { | ||
font-family: 'Roboto'; | ||
src: url('./css/fonts/Roboto-Regular.ttf') format('embedded-opentype'), | ||
/* Internet Explorer */ | ||
url('./css/fonts/Roboto-Regular.ttf') format('woff2'), | ||
/* Super Modern Browsers */ | ||
url('./css/fonts/Roboto-Regular.ttf') format('woff'), | ||
/* Pretty Modern Browsers */ | ||
url('./css/fonts/Roboto-Regular.ttf') format('truetype'), | ||
/* Safari, Android, iOS */ | ||
url('./css/fonts/Roboto-Regular.ttf') format('svg'); | ||
/* Legacy iOS */ | ||
} | ||
html { | ||
background-color: #202020; | ||
color: #c1c5c8; | ||
font-family: "Roboto"; | ||
} | ||
.spinner-xl { | ||
border: 8px solid white; | ||
border-radius: 50%; | ||
width: 128px; | ||
height: 128px; | ||
animation: pulse 1s linear infinite; | ||
margin: auto; | ||
position: absolute; | ||
top: 52px; | ||
left: calc(50% - 68px); | ||
} | ||
@keyframes pulse { | ||
0% { | ||
opacity: 1; | ||
scale: 0.9; | ||
} | ||
100% { | ||
opacity: 0; | ||
scale: 1.1; | ||
} | ||
} | ||
.logo { | ||
width: 128px; | ||
height: 128px; | ||
top: 60px; | ||
left: calc(50% - 60px); | ||
position: absolute; | ||
} | ||
p { | ||
text-align: center; | ||
width: 200px; | ||
left: calc(50% - 100px); | ||
font-weight: bold; | ||
font-size: 0.75rem; | ||
} | ||
#version { | ||
position: absolute; | ||
bottom: 0; | ||
} | ||
#title { | ||
position: absolute; | ||
text-align: center; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<p id="title">© UBench Organization</p> | ||
<img src="./icons/logo.png" class="logo"> | ||
<div class="spinner-xl"></div> | ||
<p id="version"><%=version%></p> | ||
</body> | ||
|
||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,30 @@ | ||
<div hidden id="system_content" class="view"></div> | ||
<div hidden id="system_content" class="view"></div> | ||
|
||
<script> | ||
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<br>`; | ||
} | ||
for (var i = 0; i < sysinfo.gpu.length; i++) { | ||
gpus += `${sysinfo.gpu[i].model} ${sysinfo.gpu[i].vram} MB<br>`; | ||
} | ||
document.getElementById("system_content").innerHTML = ` | ||
<p class="sirow"><b>${sysinfo.system.model}</b></p> | ||
<line/> | ||
<p class="sirow"><img class="system-icon" src="./icons/grey/os.png"><b class="key">System</b> ${sysinfo.os.distro} ${sysinfo.os.arch}</p> | ||
<line/> | ||
<p class="sirow"><img class="system-icon" src="./icons/grey/motherboard.png"><b class="key">Board</b> ${sysinfo.board.model}<br>Version ${sysinfo.board.version}<br>Made by ${sysinfo.board.manufacturer}</p> | ||
<line/> | ||
<p class="sirow"><img class="system-icon" src="./icons/grey/cpu.png"><b class="key">Processor</b> ${sysinfo.cpu.brand}<br>${sysinfo.cpu.processors} x ${sysinfo.cpu.speed} GHz<br>${sysinfo.cpu.cores} Core / ${sysinfo.cpu.threads} Thread</p> | ||
<line/> | ||
<p class="sirow"><img class="system-icon" src="./icons/grey/gpu.png"><b class="key">Graphics</b> ${gpus}</p> | ||
<line/> | ||
<p class="sirow"><img class="system-icon" src="./icons/grey/disk.png"><b class="key">Storage</b> ${disks}</p> | ||
<line/> | ||
<p class="sirow"><img class="system-icon" src="./icons/grey/ram.png"><b class="key">Memory</b> ${sysinfo.ram} GB</p> | ||
<line/> | ||
`; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div id="account_toolbar" hidden class="toolbar_view"> | ||
<button class="btn btn-sm">Support</button> | ||
<button class="btn btn-sm">Log Out</button> | ||
<button class="btn btn-sm m0">Support</button> | ||
<button class="btn btn-sm m0">Log Out</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<div id="downloads_toolbar" hidden class="toolbar_view"> | ||
<div class="filter"> | ||
<b>UE</b><select id="uev_s" onchange="filter_by_uev(this.value)"> | ||
<b>UE</b><select id="uev_s" onchange="filter_by_uev(this.value)" title="Filter by Unreal Engine version"> | ||
<option>All</option> | ||
<option>4.27.2</option> | ||
<option>5.0.3</option> | ||
<option>5.1.1</option> | ||
<option>5.2.1</option> | ||
</select> | ||
<b>RHI</b><select id="rhi_s" onchange="filter_by_rhi(this.value)"> | ||
<b>RHI</b><select id="rhi_s" onchange="filter_by_rhi(this.value)" title="Filter by RHI"> | ||
<option>All</option> | ||
<option>DX11</option> | ||
<option>DX12</option> | ||
<option>Vulkan</option> | ||
<option>Metal</option> | ||
</select> | ||
<b>OS</b><select id="os_s" onchange="filter_by_os(this.value)"> | ||
<b>OS</b><select id="os_s" onchange="filter_by_os(this.value)" title="Filter by Platform"> | ||
<option>All</option> | ||
<option>Windows</option> | ||
<option>MacOS</option> | ||
<option>Linux</option> | ||
</select> | ||
<button onclick="reset_filters();" class="btn btn-sm">Reset</button> | ||
<button onclick="reset_filters();" class="btn btn_icon" title="Reset Filters"><img class="btn-icon" src="./icons/reset.svg"></button> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div id="scores_toolbar" hidden class="toolbar_view"> | ||
<button class="btn btn-sm">All Results</button> | ||
<a href="https://www.ubench.org/results.html" target="_blank" class="btn btn-sm m0">All Results</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div id="settings_toolbar" hidden class="toolbar_view"> | ||
<button id="btn_update" onclick="check_for_updates();" class="btn btn-sm">Check for Update</button> | ||
<button id="btn_update" onclick="check_for_updates();" class="btn btn-sm m0">Check for Update</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters