v1.0.0 #8

Merged
DrMaxNix merged 9 commits from dev into main 2024-03-01 17:00:11 +01:00
3 changed files with 82 additions and 7 deletions
Showing only changes of commit 57f43c2d3e - Show all commits

View File

@ -26,14 +26,13 @@
<div class="section quicklinks">
<div class="content">
<div class="button-list">
<?php foreach(["red", "orange", "yellow", "green", "cyan", "blue", "purple"] as $color){ ?>
<a href="#" target="_blank" class="button <?= $color ?>">
<span class="icon big ti ti-circle-off"></span>
<?php foreach(Data::$dict->get("quicklink_list") as $one_quicklink){ ?>
<a href="<?= $one_quicklink["url"] ?>" target="_blank" class="button big <?= $one_quicklink["color"] ?>">
<span class="icon big ti ti-<?= $one_quicklink["icon"] ?>"></span>
<div class="text">
<span>Lorem Ipsum</span>
<span class="gray-dark">Lorem Ipsum</span>
<span><?= $one_quicklink["name"] ?></span>
<span class="gray-dark"><?= $one_quicklink["extra"] ?></span>
</div>
<span class="icon ti ti-external-link"></span>
</a>
<?php } ?>
</div>

View File

@ -16,6 +16,79 @@
"quicklink_list" => [
"de" => [
[
"color" => "blue",
"icon" => "school",
"name" => "Moodle",
"extra" => "",
"url" => "https://moodle.thi.de/my",
],[
"color" => "red",
"icon" => "settings",
"name" => "Primuss",
"extra" => "Für Studierende",
"url" => "https://www3.primuss.de/cgi-bin/login/index.pl?FH=fhin",
],[
"color" => "green",
"icon" => "calendar-time",
"name" => "Stundenplan",
"extra" => "",
"url" => "https://www3.primuss.de/stpl/index.php?FH=fhin",
],[
"color" => "yellow",
"icon" => "books",
"name" => "Bücherei",
"extra" => "OPAC",
"url" => "https://thi.idm.oclc.org/login?url=https://opac.ku.de/index-hi.html",
],[
"color" => "orange",
"icon" => "mail",
"name" => "Webmail",
"extra" => "Outlook",
"url" => "https://outlook.thi.de",
],
],
"en" => [
[
"color" => "blue",
"icon" => "school",
"name" => "Moodle",
"extra" => "",
"url" => "https://moodle.thi.de/my",
],[
"color" => "red",
"icon" => "settings",
"name" => "Primuss",
"extra" => "For Students",
"url" => "https://www3.primuss.de/cgi-bin/login/index.pl?FH=fhin",
],[
"color" => "green",
"icon" => "calendar-time",
"name" => "Timetable",
"extra" => "",
"url" => "https://www3.primuss.de/stpl/index.php?FH=fhin",
],[
"color" => "yellow",
"icon" => "books",
"name" => "Library",
"extra" => "OPAC",
"url" => "https://thi.idm.oclc.org/login?url=https://opac.ku.de/index-hi.html",
],[
"color" => "orange",
"icon" => "mail",
"name" => "Webmail",
"extra" => "Outlook",
"url" => "https://outlook.thi.de",
],
],
],
"text_sourcecode" => [
"de" => "Quellcode",
"en" => "Source Code",

View File

@ -317,6 +317,9 @@ button:focus {
-ms-user-select: none;
user-select: none;
}
.button.big {
gap: 1rem;
}
.button.on-bg {
background-color: var(--color-bg-light);
}
@ -345,7 +348,7 @@ button:focus {
}
.button .icon.big {
font-size: 2rem;
font-size: 1.75rem;
}
.button .text {
display: inline-flex;