aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.idea/deployment.xml3
-rw-r--r--css/common.css9
-rw-r--r--includes/Parsedown.php (renamed from old/includes/Parsedown.php)0
-rw-r--r--includes/functions.php2
-rw-r--r--index.php7
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 {
diff --git a/index.php b/index.php
index 3813d8b..b0c6b15 100644
--- a/index.php
+++ b/index.php
@@ -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">&hearts; 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>