diff --git a/resources/views/layout1/git.blade.php b/resources/views/layout1/git.blade.php index 29d0cae..feef14d 100644 --- a/resources/views/layout1/git.blade.php +++ b/resources/views/layout1/git.blade.php @@ -21,8 +21,11 @@ function getLastTenCommits() { echo ""; } +echo "
"; +echo "
GIT LOG
"; getLatestCommit(); -getLastTenCommits() +getLastTenCommits(); +echo "
"; ?> @endsection diff --git a/resources/views/layout2/git.blade.php b/resources/views/layout2/git.blade.php new file mode 100644 index 0000000..d7e5519 --- /dev/null +++ b/resources/views/layout2/git.blade.php @@ -0,0 +1,31 @@ +@extends('profilelayout') +@section('novidcontent') +"; + echo "Latest commit"; + //echo "

$commitID

"; + echo "
$latestCommit
"; + echo ""; +} + +function getLastTenCommits() { + $lastTenCommits = shell_exec('git log -n 10'); + echo "
"; + echo "Last 10 Commits"; + echo "
$lastTenCommits
"; + echo "
"; +} + +echo "
"; +echo "
GIT LOG
"; +getLatestCommit(); +getLastTenCommits(); +echo "
"; +?> + +@endsection \ No newline at end of file