fixes
This commit is contained in:
parent
4fba596909
commit
488fee7b4b
|
@ -311,7 +311,7 @@ class ItemController extends Controller
|
|||
|
||||
// live details
|
||||
if($app instanceof \App\EnhancedApps) {
|
||||
$output['config'] = $app_details->name.'.config';
|
||||
$output['config'] = className($app_details->name).'.config';
|
||||
} else {
|
||||
$output['config'] = null;
|
||||
}
|
||||
|
|
1
public/css/app.css
vendored
1
public/css/app.css
vendored
|
@ -1290,6 +1290,7 @@ hr {
|
|||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.livestats-container .livestats strong {
|
||||
|
|
2
public/mix-manifest.json
generated
2
public/mix-manifest.json
generated
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"/css/app.css": "/css/app.css?id=2d647cf8beb1a6515945",
|
||||
"/css/app.css": "/css/app.css?id=458c92fc5ea880eda1b6",
|
||||
"/js/app.js": "/js/app.js?id=8dc4a6ea723d0df7469d"
|
||||
}
|
|
@ -879,6 +879,7 @@ hr {
|
|||
opacity: 0.5;
|
||||
line-height: 1;
|
||||
display: flex;
|
||||
text-align: left;
|
||||
}
|
||||
strong {
|
||||
display: block;
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
{!! Form::hidden('config[enabled]', '0') !!}
|
||||
<label class="switch">
|
||||
<?php
|
||||
$checked = $item->enabled();
|
||||
$checked = false;
|
||||
if(isset($item) && !empty($item)) $checked = $item->enabled();
|
||||
$set_checked = ($checked) ? ' checked="checked"' : '';
|
||||
?>
|
||||
<input type="checkbox" name="config[enabled]" value="1"<?php echo $set_checked;?> />
|
||||
|
|
|
@ -42,7 +42,7 @@ Route::post('test_config', 'ItemController@testConfig')->name('test_config');
|
|||
Route::get('/get_stats/{id}', 'ItemController@getStats')->name('get_stats');
|
||||
|
||||
Route::get('view/{name_view}', function ($name_view) {
|
||||
return view('SupportedApps::'.$name_view);
|
||||
return view('SupportedApps::'.$name_view)->render();
|
||||
});
|
||||
|
||||
Route::get('titlecolour', function (Request $request) {
|
||||
|
|
Loading…
Reference in a new issue