Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
ccb0b811
Commit
ccb0b811
authored
Dec 08, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing dashboard module
parent
ef1c983c
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
0 additions
and
242 deletions
+0
-242
.gitignore
Modules/Dashboard/.gitignore
+0
-1
.sensiolabs.yml
Modules/Dashboard/.sensiolabs.yml
+0
-3
.travis.yml
Modules/Dashboard/.travis.yml
+0
-6
SidebarViewComposer.php
Modules/Dashboard/Composers/SidebarViewComposer.php
+0
-19
dashboard.php
Modules/Dashboard/Config/dashboard.php
+0
-5
permissions.php
Modules/Dashboard/Config/permissions.php
+0
-6
DashboardDatabaseSeeder.php
...es/Dashboard/Database/Seeders/DashboardDatabaseSeeder.php
+0
-19
DashboardController.php
.../Dashboard/Http/Controllers/Admin/DashboardController.php
+0
-12
routes.php
Modules/Dashboard/Http/routes.php
+0
-11
DashboardServiceProvider.php
Modules/Dashboard/Providers/DashboardServiceProvider.php
+0
-34
RouteServiceProvider.php
Modules/Dashboard/Providers/RouteServiceProvider.php
+0
-47
dashboard.php
Modules/Dashboard/Resources/lang/en/dashboard.php
+0
-5
dashboard.php
Modules/Dashboard/Resources/lang/fr/dashboard.php
+0
-5
dashboard.blade.php
Modules/Dashboard/Resources/views/admin/dashboard.blade.php
+0
-18
composer.json
Modules/Dashboard/composer.json
+0
-27
composers.php
Modules/Dashboard/composers.php
+0
-3
module.json
Modules/Dashboard/module.json
+0
-13
readme.md
Modules/Dashboard/readme.md
+0
-5
start.php
Modules/Dashboard/start.php
+0
-3
No files found.
Modules/Dashboard/.gitignore
deleted
100644 → 0
View file @
ef1c983c
.idea/
Modules/Dashboard/.sensiolabs.yml
deleted
100644 → 0
View file @
ef1c983c
rules
:
php.interface_has_no_interface_suffix
:
enabled
:
false
Modules/Dashboard/.travis.yml
deleted
100644 → 0
View file @
ef1c983c
language
:
php
php
:
-
5.6
-
5.5
-
5.4
-
hhvm
Modules/Dashboard/Composers/SidebarViewComposer.php
deleted
100644 → 0
View file @
ef1c983c
<?php
namespace
Modules\Dashboard\Composers
;
use
Illuminate\Contracts\View\View
;
use
Modules\Core\Composers\BaseSidebarViewComposer
;
class
SidebarViewComposer
extends
BaseSidebarViewComposer
{
public
function
compose
(
View
$view
)
{
$view
->
items
->
put
(
'dashboard'
,
[
'weight'
=>
0
,
'request'
=>
"*/
$view->prefix
"
,
'route'
=>
'dashboard.index'
,
'icon-class'
=>
'fa fa-dashboard'
,
'title'
=>
'Dashboard'
,
'permission'
=>
$this
->
auth
->
hasAccess
(
'dashboard.index'
)
]);
}
}
Modules/Dashboard/Config/dashboard.php
deleted
100644 → 0
View file @
ef1c983c
<?php
return
[
];
Modules/Dashboard/Config/permissions.php
deleted
100644 → 0
View file @
ef1c983c
<?php
return
[
'dashboard'
=>
[
'index'
]
];
Modules/Dashboard/Database/Seeders/DashboardDatabaseSeeder.php
deleted
100644 → 0
View file @
ef1c983c
<?php
namespace
Modules\Dashboard\Database\Seeders
;
use
Illuminate\Database\Seeder
;
use
Illuminate\Database\Eloquent\Model
;
class
DashboardDatabaseSeeder
extends
Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public
function
run
()
{
Model
::
unguard
();
}
}
Modules/Dashboard/Http/Controllers/Admin/DashboardController.php
deleted
100644 → 0
View file @
ef1c983c
<?php
namespace
Modules\Dashboard\Http\Controllers\Admin
;
use
Illuminate\Support\Facades\View
;
use
Modules\Core\Http\Controllers\Admin\AdminBaseController
;
class
DashboardController
extends
AdminBaseController
{
public
function
index
()
{
return
View
::
make
(
'dashboard::admin.dashboard'
);
}
}
Modules/Dashboard/Http/routes.php
deleted
100644 → 0
View file @
ef1c983c
<?php
use
Illuminate\Routing\Router
;
$router
->
group
([
'prefix'
=>
LaravelLocalization
::
setLocale
(),
'before'
=>
'LaravelLocalizationRedirectFilter|auth.admin'
],
function
(
Router
$router
)
{
$router
->
group
([
'prefix'
=>
Config
::
get
(
'core::core.admin-prefix'
),
'namespace'
=>
'Modules\Dashboard\Http\Controllers'
],
function
(
Router
$router
)
{
$router
->
get
(
'/'
,
[
'as'
=>
'dashboard.index'
,
'uses'
=>
'Admin\DashboardController@index'
]);
});
});
Modules/Dashboard/Providers/DashboardServiceProvider.php
deleted
100644 → 0
View file @
ef1c983c
<?php
namespace
Modules\Dashboard\Providers
;
use
Illuminate\Support\ServiceProvider
;
class
DashboardServiceProvider
extends
ServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected
$defer
=
false
;
/**
* Register the service provider.
*
* @return void
*/
public
function
register
()
{
//
}
/**
* Get the services provided by the provider.
*
* @return array
*/
public
function
provides
()
{
return
array
();
}
}
Modules/Dashboard/Providers/RouteServiceProvider.php
deleted
100644 → 0
View file @
ef1c983c
<?php
namespace
Modules\Dashboard\Providers
;
use
Illuminate\Routing\Router
;
use
Illuminate\Foundation\Support\Providers\RouteServiceProvider
as
ServiceProvider
;
class
RouteServiceProvider
extends
ServiceProvider
{
/**
* The root namespace to assume when generating URLs to actions.
*
* @var string
*/
protected
$rootUrlNamespace
=
'Modules\Dashboard\Http\Controllers'
;
/**
* The controllers to scan for route annotations.
*
* @var array
*/
protected
$scan
=
[
'Modules\Dashboard\Http\Controllers'
,
];
/**
* Called before routes are registered.
*
* Register any model bindings or pattern based filters.
*
* @param Router $router
* @return void
*/
public
function
before
(
Router
$router
)
{
//
}
/**
* Define the routes for the application.
*
* @return void
*/
public
function
map
(
Router
$router
)
{
require
__DIR__
.
'/../Http/routes.php'
;
}
}
Modules/Dashboard/Resources/lang/en/dashboard.php
deleted
100644 → 0
View file @
ef1c983c
<?php
return
[
'welcome-message'
=>
'Welcome on your admin dashboard'
];
Modules/Dashboard/Resources/lang/fr/dashboard.php
deleted
100644 → 0
View file @
ef1c983c
<?php
return
[
'welcome-message'
=>
'Bienvenue sur votre dashboard'
];
Modules/Dashboard/Resources/views/admin/dashboard.blade.php
deleted
100644 → 0
View file @
ef1c983c
@
extends
(
'core::layouts.master'
)
@
section
(
'content-header'
)
<
h1
>
Dashboard
</
h1
>
<
ol
class
="
breadcrumb
">
<li><a href="
#"><i class="fa fa-dashboard"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
</
ol
>
@
stop
@
section
(
'content'
)
<
div
class
="
row
">
<div class="
col
-
md
-
12
">
<p>{{ trans('dashboard::dashboard.welcome-message') }}</p>
</div>
</div>
@stop
Modules/Dashboard/composer.json
deleted
100644 → 0
View file @
ef1c983c
{
"name"
:
"asgardcms/dashboard-module"
,
"type"
:
"asgard-module"
,
"description"
:
"Dashboard module for AsgardCMS. Handles the display of the dashboard."
,
"keywords"
:
[
"asgardcms"
,
"dashboard"
],
"license"
:
"MIT"
,
"authors"
:
[
{
"name"
:
"Nicolas Widart"
,
"email"
:
"info@asgardcms.com"
,
"role"
:
"Developer"
}
],
"support"
:
{
"email"
:
"support@asgardcms.com"
,
"issues"
:
"https://github.com/AsgardCms/Dashboard/issues"
,
"source"
:
"https://github.com/AsgardCms/Dashboard"
},
"require"
:
{
"php"
:
">=5.4"
,
"composer/installers"
:
"~1.0"
},
"minimum-stability"
:
"dev"
}
Modules/Dashboard/composers.php
deleted
100644 → 0
View file @
ef1c983c
<?php
View
::
composer
(
'core::partials.sidebar-nav'
,
'Modules\Dashboard\Composers\SidebarViewComposer'
);
Modules/Dashboard/module.json
deleted
100644 → 0
View file @
ef1c983c
{
"name"
:
"Dashboard"
,
"alias"
:
"dashboard"
,
"description"
:
"The module responsible for the admin dashboard page."
,
"keywords"
:
[],
"active"
:
1
,
"providers"
:
[
"Modules
\\
Dashboard
\\
Providers
\\
RouteServiceProvider"
],
"files"
:
[
"start.php"
]
}
Modules/Dashboard/readme.md
deleted
100644 → 0
View file @
ef1c983c
# Dashboard Module
[
![SensioLabsInsight
](
https://insight.sensiolabs.com/projects/3616f9d8-1e5c-46c6-9058-13e916851254/mini.png
)
](https://insight.sensiolabs.com/projects/3616f9d8-1e5c-46c6-9058-13e916851254)
[
![Scrutinizer Code Quality
](
https://scrutinizer-ci.com/g/AsgardCms/Dashboard/badges/quality-score.png?b=master
)
](https://scrutinizer-ci.com/g/AsgardCms/Dashboard/?branch=master)
[
![Code Climate
](
https://codeclimate.com/github/AsgardCms/Dashboard/badges/gpa.svg
)
](https://codeclimate.com/github/AsgardCms/Dashboard)
Modules/Dashboard/start.php
deleted
100644 → 0
View file @
ef1c983c
<?php
require
__DIR__
.
'/composers.php'
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment