first steps
This commit is contained in:
parent
bd6cec92ea
commit
9644fe0fe2
|
@ -81,7 +81,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'locale' => 'en',
|
'locale' => env('LOCALE', 'en'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
25
resources/lang/de.json
Normal file
25
resources/lang/de.json
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
"Activity Logs": "Aktivitäts logs",
|
||||||
|
"No recent activity from cronjobs": "Keine neuen aktivitäten von Cronjobs",
|
||||||
|
"Check the docs for it here": "Zur Dokumentation",
|
||||||
|
"Are cronjobs running?": "Sind die Cronjobs gestartet?",
|
||||||
|
"Causer": "Verursacher",
|
||||||
|
"Description": "Beschreibung",
|
||||||
|
"Created at": "Erstellt am",
|
||||||
|
|
||||||
|
"Edit Configuration": "Einstellungen bearbeiten",
|
||||||
|
"Text Field": "Textfeld",
|
||||||
|
"Cancel": "Abbrechen",
|
||||||
|
"Save": "Speichern",
|
||||||
|
"true": "wahr",
|
||||||
|
"false": "falsch",
|
||||||
|
|
||||||
|
"Configurations": "Einstellungen",
|
||||||
|
"Dashboard": "Dashboard",
|
||||||
|
"Key": "Schlüssel",
|
||||||
|
"Value": "Wert",
|
||||||
|
"Type": "Typ"
|
||||||
|
|
||||||
|
}
|
|
@ -6,12 +6,12 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<h1>Activity Logs</h1>
|
<h1>{{ __('Activity Logs')}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<ol class="breadcrumb float-sm-right">
|
<ol class="breadcrumb float-sm-right">
|
||||||
<li class="breadcrumb-item"><a href="{{route('home')}}">Dashboard</a></li>
|
<li class="breadcrumb-item"><a href="{{route('home')}}">Dashboard</a></li>
|
||||||
<li class="breadcrumb-item"><a class="text-muted" href="{{route('admin.activitylogs.index')}}">Activity Logs</a>
|
<li class="breadcrumb-item"><a class="text-muted" href="{{route('admin.activitylogs.index')}}">{{ __('Activity Logs')}}</a>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,8 +32,8 @@
|
||||||
</div>
|
</div>
|
||||||
@else
|
@else
|
||||||
<div class="callout callout-danger">
|
<div class="callout callout-danger">
|
||||||
<h4>No recent activity from cronjobs</h4>
|
<h4>{{ __('No recent activity from cronjobs')}}</h4>
|
||||||
<p>Are cronjobs running? <a class="text-primary" target="_blank" href="https://github.com/ControlPanel-gg/dashboard/wiki/Installation#crontab-configuration">Check the docs for it here</a></p>
|
<p>{{ __('Are cronjobs running?')}} <a class="text-primary" target="_blank" href="https://github.com/ControlPanel-gg/dashboard/wiki/Installation#crontab-configuration">{{ __('Check the docs for it here')}}</a></p>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h5 class="card-title"><i class="fas fa-history mr-2"></i>Activity Logs</h5>
|
<h5 class="card-title"><i class="fas fa-history mr-2"></i>{{ __('Activity Logs')}}</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body table-responsive">
|
<div class="card-body table-responsive">
|
||||||
|
|
||||||
|
@ -63,16 +63,16 @@
|
||||||
<table class="table table-sm table-striped">
|
<table class="table table-sm table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Causer</th>
|
<th>{{ __('Causer') }}</th>
|
||||||
<th>Description</th>
|
<th>{{ __('Description') }}</th>
|
||||||
<th>Created At</th>
|
<th>{{ __('Created at') }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($logs as $log)
|
@foreach($logs as $log)
|
||||||
<tr>
|
<tr>
|
||||||
<td> @if($log->causer) <a href='/admin/users/{{$log->causer_id}}'> {{json_decode($log->causer)->name}}
|
<td> @if($log->causer) <a href='/admin/users/{{$log->causer_id}}'> {{json_decode($log->causer)->name}}
|
||||||
@else
|
@else
|
||||||
System
|
System
|
||||||
@endif</td>
|
@endif</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
@method('PATCH')
|
@method('PATCH')
|
||||||
<!-- Modal Header -->
|
<!-- Modal Header -->
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h4 class="modal-title">Edit Configuration</h4>
|
<h4 class="modal-title">{{__('Edit Configuration')}}</h4>
|
||||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Modal body -->
|
<!-- Modal body -->
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label id="keyLabel" for="value">Text Field</label>
|
<label id="keyLabel" for="value">{{__('Text Field')}}</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<div class="input-group-text">
|
<div class="input-group-text">
|
||||||
|
@ -32,8 +32,8 @@
|
||||||
|
|
||||||
<!-- Modal footer -->
|
<!-- Modal footer -->
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
|
<button type="button" class="btn btn-danger" data-dismiss="modal">{{__('Cancel')}}</button>
|
||||||
<button type="submit" class="btn btn-primary">Save</button>
|
<button type="submit" class="btn btn-primary">{{__('Save')}}'</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row mb-2">
|
<div class="row mb-2">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<h1>Configurations</h1>
|
<h1>{{__('Configurations')}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<ol class="breadcrumb float-sm-right">
|
<ol class="breadcrumb float-sm-right">
|
||||||
<li class="breadcrumb-item"><a href="{{route('home')}}">Dashboard</a></li>
|
<li class="breadcrumb-item"><a href="{{route('home')}}"{{__('Dashboard')}}</a></li>
|
||||||
<li class="breadcrumb-item"><a class="text-muted"
|
<li class="breadcrumb-item"><a class="text-muted"
|
||||||
href="{{route('admin.configurations.index')}}">Configurations</a></li>
|
href="{{route('admin.configurations.index')}}">{{__('Configurations')}}</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<h5 class="card-title"><i class="fas fa-cog mr-2"></i>Configurations</h5>
|
<h5 class="card-title"><i class="fas fa-cog mr-2"></i>{{__('Configurations')}}</h5>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -37,11 +37,11 @@
|
||||||
<table id="datatable" class="table table-striped">
|
<table id="datatable" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Key</th>
|
<th>{{__('Key')}}</th>
|
||||||
<th>Value</th>
|
<th>{{__('Value')}}</th>
|
||||||
<th>Type</th>
|
<th>{{__('Type')}}</th>
|
||||||
<th width="600">Description</th>
|
<th width="600">{{__('Description')}}</th>
|
||||||
<th>Created at</th>
|
<th>{{__('Created at')}}</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
Loading…
Reference in a new issue