diff options
author | Minteck <contact@minteck.org> | 2022-06-16 11:44:43 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-06-16 11:44:43 +0200 |
commit | e4bf3880acd8e7a21fcea1fc2a63e0056daca80f (patch) | |
tree | f494e4fc4a40325d45674ff7026fe3bdfba4800b | |
parent | 060473d7e7da51bf372b3d2958580b8f65f4769b (diff) | |
download | ember-e4bf3880acd8e7a21fcea1fc2a63e0056daca80f.tar.gz ember-e4bf3880acd8e7a21fcea1fc2a63e0056daca80f.tar.bz2 ember-e4bf3880acd8e7a21fcea1fc2a63e0056daca80f.zip |
Test
-rw-r--r-- | .idea/deployment.xml | 3 | ||||
-rw-r--r-- | css/common.css | 9 | ||||
-rw-r--r-- | includes/Parsedown.php (renamed from old/includes/Parsedown.php) | 0 | ||||
-rw-r--r-- | includes/functions.php | 2 | ||||
-rw-r--r-- | index.php | 7 |
5 files changed, 18 insertions, 3 deletions
diff --git a/.idea/deployment.xml b/.idea/deployment.xml index d2bb3d3..55f1faa 100644 --- a/.idea/deployment.xml +++ b/.idea/deployment.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> - <component name="PublishConfigData" serverName="Minteck.org" remoteFilesAllowedToDisappearOnAutoupload="false"> + <component name="PublishConfigData" autoUpload="Always" serverName="Minteck.org" remoteFilesAllowedToDisappearOnAutoupload="false"> <serverData> <paths name="Minteck.org"> <serverdata> @@ -10,5 +10,6 @@ </serverdata> </paths> </serverData> + <option name="myAutoUpload" value="ALWAYS" /> </component> </project>
\ No newline at end of file diff --git a/css/common.css b/css/common.css index e07dde3..46412eb 100644 --- a/css/common.css +++ b/css/common.css @@ -139,4 +139,13 @@ html, body { #footer-hover-zone:hover #footer-hover-text { display: inline; +} + +#footer-version, #footer-version-build, #footer-version-projects { + color: white; + text-decoration: none; +} + +#footer-version:hover, #footer-version-build:hover, #footer-version-projects:hover { + text-decoration: underline; }
\ No newline at end of file diff --git a/old/includes/Parsedown.php b/includes/Parsedown.php index 0f5ad61..0f5ad61 100644 --- a/old/includes/Parsedown.php +++ b/includes/Parsedown.php diff --git a/includes/functions.php b/includes/functions.php index bef7435..1fcd76c 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -45,7 +45,7 @@ function build_dom(): string { } else { $ba = ""; } - return "<a href='https://ci.minteck.org/buildConfiguration/WebX_Stable/$aa' target='_blank' class='footer-link-mini'>$a</a>.<a href='https://ci.minteck.org/buildConfiguration/WebX_Projects/$ba' target='_blank' class='footer-link-mini'>$b</a>"; + return "<a href='https://ci.minteck.org/buildConfiguration/WebX_Stable/$aa' target='_blank' id='footer-version-build'>$a</a>.<a href='https://ci.minteck.org/buildConfiguration/WebX_Projects/$ba' target='_blank' id='footer-version-projects'>$b</a>"; } function getLetters(string $project): string { @@ -1,3 +1,8 @@ +<?php + +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php"; + +?> <!DOCTYPE html> <html lang="en"> <head> @@ -72,8 +77,8 @@ </div> <div id="footer" class="container"> + <a href="https://gitlab.minteck.org/minteck/ember/-/tree/<?= version() ?>" target="_blank" id="footer-version">version <?= version() ?></a> (#<?= build_dom() ?>) ยท <span id="footer-hover-zone">♥ Twi <span id="footer-hover-text">(cutie)</span></span> - <a href="https://gitlab.minteck.org/minteck/ember/-/tree/<?= version() ?>" target="_blank" class="footer-link-mini">version <?= version() ?></a> (#<?= build_dom() ?>) </div> </body> </html> |