Added a visible (manual) changelog to the frontpage

master
Eirik Th S 2022-02-02 18:25:41 +01:00
parent b0606d2be0
commit b3fe240f55
2 changed files with 17 additions and 1 deletions

4
www/changes.txt Normal file
View File

@ -0,0 +1,4 @@
2022-02-02 Fixed wrong strikethrough.
2022-01-26 Search for products and some UI-fixes.
2022-01-19 Revamped the login-system.
2021-08-28 Items animate to the bottom of the list when complete.

View File

@ -34,7 +34,19 @@
</div>
</div>
<?php if(file_exists('changes.txt')){
$changes = file_get_contents('changes.txt');
?>
<div class="card-group" style="text-align: center;">
<div class="card" style="">
<div class="card-body">
<h5 class="card-title">Recent changes</h5>
<pre class="card-text" style="text-align: left; width: min-content; max-width: 100%; margin: auto; max-height: 150px; overflow-y: auto; padding: 0 15px;"><?=$changes;?></pre>
</div>
<div class="card-footer">For more details see the <a href="https://useg.it/eirik/PaperBag/commits/branch/master">commits</a></div>
</div>
</div>
<?php } ?>
</div>
</div>