Files
minisrv/zefie_wtvp_minisrv/ServiceVault/wtv-home/splash.js
zefie b89e0e932c v0.9.35
- numerous bug fixes
 - wtv-news goodies, ready for local testing
   - custom patched nntp-server node module with support for POSTing
   - should be able to post locally
   - 4 groups are made by default
   - can override in user_config.json (look at the config.json changes but dont do them there)
   - can sync down from an upstream server with sync_nntp.js
   - sync does not push new posts to upstream yet
2022-11-29 08:29:31 -05:00

36 lines
1.1 KiB
JavaScript

var minisrv_service_file = true;
headers = `200 OK
Connection: Keep-Alive
wtv-expire-all: wtv-
wtv-expire-all: http
Content-Type: text/html`
data = `<html>
<head>
<display hideoptions nostatus showwhencomplete skipback clearback fontsize=medium>
<title>Engaging zefie...</title>
<meta http-equiv=Refresh content="${(wtvshared.parseBool(session_data.getSessionData("fast_splash"))) ? "0" : "4"}; url=wtv-home:/home?">
</head>
<body bgcolor="#000000" text="#449944">
<bgsound src="file://ROM/Sounds/Splash.mid">
<center>
<spacer type=block height=88 width=21>
<img src="file://ROM/Images/spacer.gif" height=4><br>
<img src="${minisrv_config.config.service_splash_logo}">
<br><br><br>
<p><br>
<p><br>`;
if (minisrv_config.config.show_detailed_splash) {
data += `<table border>
<tr><td>
${minisrv_config.config.service_name} Mini Service hosted by ${minisrv_config.config.service_owner}
<tr><td>
minisrv v${minisrv_config.version} ${(minisrv_config.config.git_commit) ? '(git ' + minisrv_config.config.git_commit + ')' : ''}
<tr><td>Connected: &rate;
</table>`;
}
data += `
</center>
</body>
</html>`;