adding about page and about button
This commit is contained in:
parent
8cdbc2cde2
commit
9c59732650
46
helpfiles/about.html
Normal file
46
helpfiles/about.html
Normal file
@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
|
||||
Remove this if you use the .htaccess -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
|
||||
<title>about</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="Adrian">
|
||||
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0">
|
||||
|
||||
<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
<header>
|
||||
<h1>about the MT-Skin-DB</h1>
|
||||
</header>
|
||||
|
||||
|
||||
<div>
|
||||
minetest skin DB by addi<br>
|
||||
License: LGPL<br>
|
||||
Minetest Forum Thread: <a href="https://forum.minetest.net/viewtopic.php?id=4497">https://forum.minetest.net/viewtopic.php?id=4497</a><br>
|
||||
Projekt page:<a href="https://project.king-arthur.eu/projects/minetest-skin-db">https://project.king-arthur.eu/projects/minetest-skin-db</a> <br>
|
||||
Source code: <a href="https://bitbucket.org/kingarthursteam/mt-skin-db">https://bitbucket.org/kingarthursteam/mt-skin-db</a><br>
|
||||
here is a actual image wich shows some statistics:<br>
|
||||
<img src="http://minetest.fensta.bplaced.net/pChart2.1.3/chart.php"/>
|
||||
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<p>
|
||||
© Copyright by Adrian
|
||||
</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
img/help-about-3.png
Normal file
BIN
img/help-about-3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
@ -9,7 +9,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel='stylesheet' type='text/css' href='css/x3dom.css'>
|
||||
<link rel="stylesheet" href="css/normalize.css">
|
||||
<link rel="stylesheet" href="css/main.css">
|
||||
<link rel="stylesheet" title="The Default Style (White+blue+green)" href="css/main.css">
|
||||
<link rel="alternate stylesheet" title="Alternative by Semmett9" href="css/semmett9.css">
|
||||
<script type='text/javascript' src='js/x3dom.js'></script>
|
||||
<script type='text/javascript' src='js/ajax.js'></script>
|
||||
<script type="text/javascript" src='js/main.js'></script>
|
||||
@ -62,6 +63,7 @@
|
||||
apply
|
||||
</button>
|
||||
<button title="Settings" onclick="settings.showHide()"><img src="/img/configure.png"></button>
|
||||
<button title="about" onclick="showHelp('about')"><img src="/img/help-about-3.png"></button>
|
||||
</div>
|
||||
|
||||
<x3d id='x3dprev' showStat='false' showLog='false'>
|
||||
@ -113,7 +115,9 @@
|
||||
</div>
|
||||
<div id="settingsWindow" class="settingsWindow">
|
||||
<h2>Settings</h2>
|
||||
|
||||
<h3>Debugging</h3>
|
||||
<button onclick="toggle('x3dom-state-viewer')">show/hide Stats</button><br>
|
||||
<button onclick="toggle('x3dom_logdiv')">show/hide Log container</button><br>
|
||||
<h3>Viewmode: Turnable</h3>
|
||||
<p>
|
||||
<canvas id="theCanvas" width="80px" height="80px">
|
||||
|
13
js/main.js
13
js/main.js
@ -624,10 +624,10 @@ function getHelpUrl(about) {
|
||||
|
||||
function showHelp(about) {
|
||||
TINY.box.show({
|
||||
iframe : getHelpUrl(about),
|
||||
url : getHelpUrl(about),
|
||||
boxid : 'frameless',
|
||||
width : 400,
|
||||
height : 300,
|
||||
width : 800,
|
||||
height : 600,
|
||||
fixed : false,
|
||||
maskid : 'bluemask',
|
||||
maskopacity : 40
|
||||
@ -672,3 +672,10 @@ document.getElementById('settingsWindow').style.display = 'block';
|
||||
//document.getElementById('showHide').innerHTML = 'Hide description';
|
||||
}
|
||||
};
|
||||
function toggle(elemId){
|
||||
if (document.getElementById(elemId).style.display == 'block') {
|
||||
document.getElementById(elemId).style.display = 'none';
|
||||
} else {
|
||||
document.getElementById(elemId).style.display = 'block';
|
||||
}
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user