mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 18:40:12 +00:00
Various new stuff.
This commit is contained in:
@@ -4,27 +4,8 @@ use Illuminate\Support\Facades\Config;
|
|||||||
|
|
||||||
return array(
|
return array(
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Debugbar Settings
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| Debugbar is enabled by default, when debug is set to true in app.php.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'enabled' => Config::get('app.debug'),
|
'enabled' => Config::get('app.debug'),
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Storage settings
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| DebugBar stores data for session/ajax requests in a directory.
|
|
||||||
| You can disable this, so the debugbar stores data in headers/session,
|
|
||||||
| but this can cause problems with large data collectors.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
'storage' => array(
|
'storage' => array(
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'path' => storage_path() . '/debugbar',
|
'path' => storage_path() . '/debugbar',
|
||||||
|
@@ -2,22 +2,10 @@
|
|||||||
|
|
||||||
class HomeController extends BaseController {
|
class HomeController extends BaseController {
|
||||||
|
|
||||||
/*
|
public function index()
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Default Home Controller
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| You may wish to use controllers instead of, or in addition to, Closure
|
|
||||||
| based routes. That's great! Here is an example controller method to
|
|
||||||
| get you started. To route to this controller, just add the route:
|
|
||||||
|
|
|
||||||
| Route::get('/', 'HomeController@showWelcome');
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
public function showWelcome()
|
|
||||||
{
|
{
|
||||||
return View::make('hello');
|
|
||||||
|
return View::make('index');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -11,7 +11,4 @@
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::get('/', function()
|
Route::get('/', ['uses' => 'HomeController@index','as' => 'index']);
|
||||||
{
|
|
||||||
return View::make('hello');
|
|
||||||
});
|
|
||||||
|
2
app/storage/debugbar/.gitignore
vendored
Normal file
2
app/storage/debugbar/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
File diff suppressed because one or more lines are too long
8
app/views/index.blade.php
Normal file
8
app/views/index.blade.php
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Bla bla</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
Bla bla
|
||||||
|
</body>
|
||||||
|
</html>
|
@@ -25,7 +25,7 @@
|
|||||||
"grumpydictator/gchart": "dev-master"
|
"grumpydictator/gchart": "dev-master"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"barryvdh/laravel-debugbar": "dev-master",
|
"barryvdh/laravel-debugbar": "1.*",
|
||||||
"barryvdh/laravel-ide-helper": "1.*"
|
"barryvdh/laravel-ide-helper": "1.*"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@@ -5,14 +5,11 @@ div.phpdebugbar {
|
|||||||
|
|
||||||
div.phpdebugbar-header {
|
div.phpdebugbar-header {
|
||||||
background: #efefef url(laravel-icon.png) no-repeat 4px 3px;
|
background: #efefef url(laravel-icon.png) no-repeat 4px 3px;
|
||||||
background-size: 20px;
|
|
||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
}
|
}
|
||||||
a.phpdebugbar-restore-btn {
|
a.phpdebugbar-restore-btn {
|
||||||
background: #efefef url(laravel-icon.png) no-repeat 5px 3px;
|
background: #efefef url(laravel-icon.png) no-repeat 5px 3px;
|
||||||
background-size: 20px;
|
|
||||||
width: 16px;
|
width: 16px;
|
||||||
border-right-color: #ccc;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.phpdebugbar-header > div > * {
|
div.phpdebugbar-header > div > * {
|
||||||
@@ -34,32 +31,3 @@ dl.phpdebugbar-widgets-kvlist dt{
|
|||||||
dl.phpdebugbar-widgets-kvlist dd {
|
dl.phpdebugbar-widgets-kvlist dd {
|
||||||
margin-left: 210px;
|
margin-left: 210px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.phpdebugbar-widgets-timeline li span.phpdebugbar-widgets-value {
|
|
||||||
height: 20px;
|
|
||||||
top: 0;
|
|
||||||
background-color: #f4645f;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul.phpdebugbar-widgets-timeline li span.phpdebugbar-widgets-label {
|
|
||||||
top: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.phpdebugbar-widgets-messages div.phpdebugbar-widgets-toolbar a.phpdebugbar-widgets-filter {
|
|
||||||
background-color: #f4645f;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.phpdebugbar-tab.phpdebugbar-active {
|
|
||||||
background: #f4645f;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.phpdebugbar-tab.phpdebugbar-active span.phpdebugbar-badge {
|
|
||||||
background-color: white;
|
|
||||||
color: #f4645f;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.phpdebugbar-tab span.phpdebugbar-badge {
|
|
||||||
background: #f4645f;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 594 B |
Reference in New Issue
Block a user