Преглед на файлове

Add link to source code

Miraty преди 2 години
родител
ревизия
1aa0d02f5e
променени са 2 файла, в които са добавени 8 реда и са изтрити 1 реда
  1. 5 0
      css/main.css
  2. 3 1
      router.php

+ 5 - 0
css/main.css

@@ -92,6 +92,11 @@ a[rel=help]:before {
 	font-size: 0.8rem;
 }
 
+a[rel=external]:after {
+	content: '\202F↗';
+	font-size: 0.8rem;
+}
+
 dt a {
 	font-size: 1.1rem;
 }

+ 3 - 1
router.php

@@ -1,5 +1,4 @@
 <?php
-
 define("CONF", parse_ini_file(__DIR__ . "/config.ini", true, INI_SCANNER_TYPED));
 
 foreach (array_diff(scandir(CONF['common']['root_path'] . "/fn"), array('..', '.')) as $file)
@@ -127,6 +126,9 @@ function executePage() {
 	echo $final_message ?? '';
 ?>
 		</main>
+		<footer>
+			<small><a rel="external" href="https://code.antopie.org/Niver/core" class="niver">Code source</a> sous <abbr title="Cooperative Nonviolent Public License No Attribution version 7 ou plus">CNPL-NAv7+</abbr>.</small>
+		</footer>
 	</body>
 </html>
 <?php