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
3cd7f365
Commit
3cd7f365
authored
Nov 28, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
35af568e
'
* commit '
35af568e
': Squashed 'Modules/Core/' changes from 86e93cf..37d3173
parents
833cddb4
35af568e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
13 deletions
+45
-13
AdminLTE.css
Modules/Core/Assets/css/AdminLTE.css
+2
-2
login_and_register.less
Modules/Core/Assets/less/login_and_register.less
+8
-8
PublishThemeAssetsCommand.php
Modules/Core/Console/PublishThemeAssetsCommand.php
+22
-0
CoreServiceProvider.php
Modules/Core/Providers/CoreServiceProvider.php
+13
-3
No files found.
Modules/Core/Assets/css/AdminLTE.css
View file @
3cd7f365
...
...
@@ -2275,7 +2275,7 @@ Component: timeline
border-top-right-radius
:
4px
;
border-bottom-right-radius
:
0
;
border-bottom-left-radius
:
0
;
background
:
#
3d9970
;
background
:
#
00c0ef
;
box-shadow
:
inset
0px
-3px
0px
rgba
(
0
,
0
,
0
,
0.2
);
padding
:
20px
10px
;
text-align
:
center
;
...
...
Modules/Core/Assets/less/login_and_register.less
View file @
3cd7f365
...
...
@@ -7,7 +7,7 @@
margin: 90px auto 0 auto;
.header {
.border-radius(4px, 4px, 0, 0);
background: @
olive
;
background: @
aqua
;
box-shadow: inset 0px -3px 0px rgba(0,0,0,0.2);
padding: 20px 10px;
text-align: center;
...
...
Modules/Core/Console/PublishThemeAssetsCommand.php
0 → 100644
View file @
3cd7f365
<?php
namespace
Modules\Core\Console
;
use
Illuminate\Console\Command
;
use
Symfony\Component\Console\Input\InputArgument
;
class
PublishThemeAssetsCommand
extends
Command
{
protected
$name
=
'asgard:publish:theme'
;
protected
$description
=
'Publish theme assets'
;
public
function
fire
()
{
$this
->
info
(
'Publishing assets for '
.
$this
->
argument
(
'theme'
));
}
protected
function
getArguments
()
{
return
array
(
array
(
'theme'
,
InputArgument
::
REQUIRED
,
'The theme name'
)
);
}
}
Modules/Core/Providers/CoreServiceProvider.php
View file @
3cd7f365
...
...
@@ -4,6 +4,7 @@ use Illuminate\Contracts\Foundation\Application;
use
Illuminate\Routing\Router
;
use
Illuminate\Support\ServiceProvider
;
use
Modules\Core\Console\InstallCommand
;
use
Modules\Core\Console\PublishThemeAssetsCommand
;
use
Modules\Core\Services\Composer
;
use
Modules\Menu\Entities\Menuitem
;
use
Modules\Menu\Repositories\Eloquent\EloquentMenuItemRepository
;
...
...
@@ -79,6 +80,12 @@ class CoreServiceProvider extends ServiceProvider
private
function
registerCommands
()
{
$this
->
registerInstallCommand
();
$this
->
registerThemeCommand
();
$this
->
commands
([
'command.asgard.install'
,
'command.asgard.publish.theme'
,
]);
}
/**
...
...
@@ -93,10 +100,13 @@ class CoreServiceProvider extends ServiceProvider
new
Composer
(
$app
[
'files'
])
);
});
}
$this
->
commands
(
'command.asgard.install'
);
private
function
registerThemeCommand
()
{
$this
->
app
->
bindShared
(
'command.asgard.publish.theme'
,
function
()
{
return
new
PublishThemeAssetsCommand
;
});
}
private
function
registerMenuRoutes
()
...
...
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