Move about dialog into separate view and add API endpoint for system info

This commit is contained in:
Bernd Bestel
2019-02-09 13:41:40 +01:00
parent b5ac319a90
commit 01e9e3f5ce
9 changed files with 143 additions and 44 deletions

26
views/about.blade.php Normal file
View File

@@ -0,0 +1,26 @@
@extends('layout.default')
@section('title', $L('About grocy'))
@section('content')
<div class="row">
<div class="col-xs-12 col-md-6 col-xl-4 text-center">
<h1>@yield('title')</h1>
grocy is a project by
<a href="https://berrnd.de" class="discrete-link" target="_blank">Bernd Bestel</a><br>
Created with passion since 2017<br>
<br>
Version {{ $version }}<br>
{{ $L('Released on') }} {{ $releaseDate }} <time class="timeago timeago-contextual" datetime="{{ $releaseDate }}"></time><br>
<br>
PHP Version {{ $system_info['php_version'] }}<br>
SQLite Version {{ $system_info['sqlite_version'] }}<br>
<br>
Life runs on code<br>
<a href="https://github.com/grocy/grocy" class="discrete-link" target="_blank">
<i class="fab fa-github"></i>
</a>
</div>
</div>
@stop