Fixing various problems. Search is now positioned in a saner way, designs have been fixed (only layout1)

This commit is contained in:
w0bm
2023-08-07 22:01:54 +00:00
parent 5ddd7f915a
commit f2e9408074
63 changed files with 513 additions and 37 deletions

View File

@@ -0,0 +1,28 @@
@extends('profilelayout')
@section('content')
<?php
function getLatestCommit() {
$latestCommit = shell_exec('git log -n 1');
$getcommitID = substr($latestCommit,0,48);
$commitID = substr($getcommitID, 7);
echo "<div class='box'>";
echo "<span>Latest commit</span>";
//echo "<h4><a style='color:white' href='https://git.lat/w0bm/w0bm/commit/$commitID' target='_blank'>$commitID</a></h4>";
echo "<pre>$latestCommit</pre>";
echo "</div>";
}
function getLastTenCommits() {
$lastTenCommits = shell_exec('git log -n 10');
echo "<div class='box'>";
echo "<span>Last 10 Commits</span>";
echo "<pre>$lastTenCommits</pre>";
echo "</div>";
}
getLatestCommit();
getLastTenCommits()
?>
@endsection