diff options
author | Minteck <contact@minteck.org> | 2022-12-18 15:36:16 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-12-18 15:36:16 +0100 |
commit | 120fdf7fef513cd10feb0762e9a57ad345e4c7ff (patch) | |
tree | b047b94bae137e746f218f22eae67dfeb91d3da5 /archives | |
parent | 72ec0c343c785d2690213326846f66f1147ad313 (diff) | |
download | horses-120fdf7fef513cd10feb0762e9a57ad345e4c7ff.tar.gz horses-120fdf7fef513cd10feb0762e9a57ad345e4c7ff.tar.bz2 horses-120fdf7fef513cd10feb0762e9a57ad345e4c7ff.zip |
Update
Diffstat (limited to 'archives')
-rw-r--r-- | archives/index.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/archives/index.php b/archives/index.php index 9b0998d..8ce16d7 100644 --- a/archives/index.php +++ b/archives/index.php @@ -8,15 +8,21 @@ <div class="list-group list-group-pretty"> <?php foreach (getArchivesList() as $archive): ?> - <a href="<?= $archive["url"] ?>" target="_blank" class="list-group-item-action list-group-item"> + <a href="<?= $archive["url"] ?>" target="_blank" class="list-group-item-action list-group-item project-item"> <img alt="" src="<?= $archive["icon"] ?>" style="border-radius:5px;vertical-align: middle; width: 24px; height: 24px;"> - <span style="vertical-align: middle;"> + <span style="vertical-align: middle;" class="project-span-desktop"> <?= $archive["name"] ?> <?php if (trim($archive["description"]) !== ""): ?> <span class="text-muted">ยท <?= $archive["description"] ?></span> <?php endif; ?> </span> - <span class="text-muted" style="float: right;"><?= timeAgo($archive["date"]) ?> (<?= date('M Y', $archive["date"]) ?>)</span> + <span style="vertical-align: middle;display: none;" class="project-span-mobile"> + <?= $archive["name"] ?> + <?php if (trim($archive["description"]) !== ""): ?> + <span class="text-muted"><br><?= $archive["description"] ?></span> + <?php endif; ?> + </span> + <span class="text-muted project-date" style="float: right;"><?= timeAgo($archive["date"]) ?> (<?= date('M Y', $archive["date"]) ?>)</span> </a> <?php endforeach; ?> </div> |