Skip to content

Commit c10db8f

Browse files
committed
Merge branch 'master' of https://github.com/serverfireteam/panel
2 parents 7065a81 + c01e562 commit c10db8f

File tree

346 files changed

+254
-55972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+254
-55972
lines changed

.gitattributes

-1
This file was deleted.

.gitignore

-5
This file was deleted.

.travis.yml

-13
This file was deleted.

README.md

+23-24
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,33 @@ This package provides an easily configurable admin panel for Laravel 4.2 applica
1616
- **Powerful**, Loign , Admin setting , forget password, all you need for admin panel
1717

1818
## Screen shot
19-
![login](https://raw.githubusercontent.com/serverfireteam/panel/master/public/img/login.png)
20-
![loading](https://raw.githubusercontent.com/serverfireteam/panel/master/public/img/loading.png)
21-
![dashboard of panel](https://raw.githubusercontent.com/serverfireteam/panel/master/public/img/Dashboard_full.png)
22-
This is custome crud with few line .
23-
![List of Pages](https://raw.githubusercontent.com/serverfireteam/panel/master/public/img/pages.png)
24-
![Edit Pages](https://raw.githubusercontent.com/serverfireteam/panel/master/public/img/editpages.png)
19+
![login](https://raw.githubusercontent.com/serverfireteam/panel/master/public/img/serverfire-panel-login.jpg)
20+
![dashboard of panel](https://raw.githubusercontent.com/serverfireteam/panel/master/public/img/serverfire-panel-dashboard.jpg)
21+
22+
- This is custome crud with few line .
23+
24+
![List of Pages](https://raw.githubusercontent.com/serverfireteam/panel/master/public/img/serverfire-panel-crud.jpg)
25+
![Edit Pages](https://raw.githubusercontent.com/serverfireteam/panel/master/public/img/serverfire-panel-crud-edit.jpg)
2526

2627
## Demo
27-
You can check the [live demo here](http://demo.serverfire.net/panel)
28-
User: admin
29-
pass: 12345
28+
You can check the [live demo here](http://demo.serverfire.net/panel) .
29+
30+
* User: admin
31+
* Pass: 12345
32+
3033

31-
##RoadMap
32-
We are going to develope this package every days and new idea are wellcome .
33-
We have a [Trello](https://trello.com/b/RDZ6HdK9/framework) board for project , you can check it and send your feedback .
34-
Fllow us in twitter[@serverfireteam](http://twitter.com/serverfireteam) .
3534

3635
##Installtions
3736
Note: if you face any problem in steps you please report it at [github](https://github.com/serverfireteam/panel/issues/new)
3837

3938

4039
1. First you need a laravel 4.2 project ready to use .
4140

42-
2. Add package to require-dev
41+
2. Add package to require
4342

4443
```json
4544
{
46-
"require-dev": {
45+
"require": {
4746
"serverfireteam/panel": "1.1.*"
4847
},
4948
}
@@ -62,22 +61,22 @@ and run the composer update command, the package and its dependencies will be in
6261
4. Run the following command in order to publishe configs, views and assets.
6362

6463
```bash
65-
php artisan asset:publish "serverfireteam/panel"
66-
php artisan asset:publish "serverfireteam/rapyd-laravel"
67-
php artisan config:publish "serverfireteam/panel"
64+
php artisan panel:install
6865
```
6966

70-
5. Go to the root of your project and run this command in order to set up the database
67+
5. Go to your domain.com/public/panel and you can login with
7168

72-
```bash
73-
php artisan migrate --path="vendor/serverfireteam/panel/src/database/migrations"
74-
```
75-
76-
6. Go to your domain.com/public/panel and you can login with , user : [email protected] , password : 12345
69+
70+
* password : 12345
7771

7872

7973
## Learn to add crud
8074
We have [WIKI](https://github.com/serverfireteam/panel/wiki) for how to do thing .
8175

8276
Thank you for using our package
8377

78+
##RoadMap
79+
We are going to develope this package every days and new idea are wellcome .
80+
We have a [Trello](https://trello.com/b/RDZ6HdK9/framework) board for project , you can check it and send your feedback .
81+
Fllow us in twitter[@serverfireteam](http://twitter.com/serverfireteam) .
82+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<?php namespace Serverfireteam\Panel\Commands;
2+
3+
use Illuminate\Console\Command;
4+
use Symfony\Component\Console\Input\InputOption;
5+
use Symfony\Component\Console\Input\InputArgument;
6+
7+
class panelCommand extends Command {
8+
9+
/**
10+
* The console command name.
11+
*
12+
* @var string
13+
*/
14+
protected $name = 'panel:install';
15+
16+
/**
17+
* The console command description.
18+
*
19+
* @var string
20+
*/
21+
protected $description = 'Installs Panel migrations, configs, views and assets.';
22+
23+
/**
24+
* Create a new command instance.
25+
*
26+
* @return void
27+
*/
28+
public function __construct()
29+
{
30+
parent::__construct();
31+
}
32+
33+
/**
34+
* Execute the console command.
35+
*
36+
* @return mixed
37+
*/
38+
public function fire()
39+
{
40+
$this->info('');$this->info('');$this->info('');
41+
42+
$this->info(' [ ServerFireTeam Panel ] ');
43+
$this->info(' ------------------');
44+
45+
$this->call('asset:publish', array('package' => 'serverfireteam/rapyd-laravel'));
46+
$this->info('Rapyd-laravel Asset is published..............[ok]');
47+
$this->info('');
48+
49+
50+
$this->call('config:publish', array('package' => 'serverfireteam/panel'));
51+
$this->info('Panle Config is published..............[ok]');
52+
$this->info('');
53+
54+
$this->call('asset:publish', array('package' => 'serverfireteam/panel'));
55+
$this->info('Panel Asset is published..............[ok]');
56+
$this->info('');
57+
58+
$this->call('migrate', array('--package' => 'orkhan/laraphrases'));
59+
$this->info('Panel has been migrated!...............[ok]');
60+
$this->info('');
61+
62+
$this->call('migrate', array('--path' => 'vendor/serverfireteam/panel/src/database/migrations'));
63+
$this->info('Panel has been migrated!...............[ok]');
64+
$this->info('');
65+
66+
67+
$this->info('');
68+
}
69+
70+
/**
71+
* Get the console command arguments.
72+
*
73+
* @return array
74+
*/
75+
protected function getArguments()
76+
{
77+
return [];
78+
}
79+
80+
/**
81+
* Get the console command options.
82+
*
83+
* @return array
84+
*/
85+
protected function getOptions()
86+
{
87+
return [];
88+
}
89+
90+
}

composer.json

-33
This file was deleted.
File renamed without changes.
File renamed without changes.

src/controllers/CrudController.php controllers/CrudController.php

+10-6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
namespace Serverfireteam\Panel;
33

44
use \Illuminate\Routing\Controllers;
5+
use \Illuminate\Support\Facades\Lang;
56
/*
67
* To change this license header, choose License Headers in Project Properties.
78
* To change this template file, choose Tools | Templates
@@ -29,11 +30,8 @@ public function __construct()
2930

3031

3132
public function all($entity)
32-
{
33-
34-
35-
//$this->addStylesToGrid();
36-
33+
{
34+
//$this->addStylesToGrid();
3735
}
3836

3937
public function edit($entity)
@@ -42,7 +40,8 @@ public function edit($entity)
4240
}
4341

4442

45-
public function getEntity(){
43+
public function getEntity()
44+
{
4645
return $this->entity;
4746
}
4847

@@ -103,4 +102,9 @@ public function returnEditView()
103102
));
104103
}
105104
}
105+
106+
public function finalizeFilter(){
107+
$this->filter->submit(Lang::get('panel::fields.search'));
108+
$this->filter->reset('reset');
109+
}
106110
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/lang/de/fields.php lang/de/fields.php

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
'ProfileEdit' => 'Profile Edit de',
77
'ResetPassword' => 'Reset Password de',
88
'Add' => 'ADD de',
9+
'search' => 'Search DE'
910
);
File renamed without changes.
File renamed without changes.

phpunit.xml

-18
This file was deleted.

0 commit comments

Comments
 (0)