Skip to content

Commit

Permalink
Merge pull request #373 from LavaLite/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
georgemjohn authored Nov 4, 2021
2 parents 9299f27 + e2abe64 commit 26dd2e5
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 120 deletions.
3 changes: 1 addition & 2 deletions app/Http/Controllers/Litepie/MasterResourceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public function __construct(MasterRepositoryInterface $master)
*/
public function index(MasterRequest $request, $type = null)
{

$pageLimit = $request->input('pageLimit', config('database.pagination.limit'));
$data = $this->repository
->pushFilter(MasterResourceFilter::class)
Expand All @@ -57,7 +56,7 @@ public function index(MasterRequest $request, $type = null)

return $this->response->setMetaTitle(trans('master.master.names'))
->view($view)
->data(compact('data', 'groups', 'modules', 'form', 'count', 'groups'))
->data(compact('data', 'type', 'groups', 'modules', 'form', 'count'))
->output();
}

Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

"lavalite/framework": "^8.0",
"litefront/default": "^1.0",
"litefront/user": "^1.0",
"litefront/public": "^1.0",

"litecms/block": "^8.0",
"litecms/blog": "^8.0",
Expand Down
12 changes: 6 additions & 6 deletions config/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
'view' => 'default',
],
'public' => [
'theme' => 'default',
'view' => 'default',
'theme' => 'public',
'view' => 'public',
],
'user' => [
'theme' => 'default',
'view' => 'default',
'theme' => 'user',
'view' => 'user',
],
'client' => [
'theme' => 'default',
'view' => 'default',
'theme' => 'user',
'view' => 'user',
],
],

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ public function up()
Schema::create('masters', function ($table) {
$table->increments('id');
$table->integer('parent_id')->nullable();
$table->string('type', 255)->nullable();
$table->string('name', 255)->nullable();
$table->string('type', 50)->nullable();
$table->string('name', 50)->nullable();
$table->string('code', 20)->nullable();
$table->double('amount', 10, 2)->nullable();
$table->string('abbr', 50)->nullable();
$table->string('description', 255)->nullable();
$table->string('icon', 255)->nullable();
$table->text('description')->nullable();
$table->string('icon', 50)->nullable();
$table->text('image')->nullable();
$table->text('images')->nullable();
$table->text('file')->nullable();
Expand Down
5 changes: 5 additions & 0 deletions packages/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore everything
*

# But not these files...
!.gitignore
112 changes: 4 additions & 108 deletions public/themes/.gitignore
Original file line number Diff line number Diff line change
@@ -1,109 +1,5 @@
# ignore log files and databases
*.log
*.sql
*.sqlite
# Ignore everything
*

# ignore compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so

# ignore packaged files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# ignore OS generated files
ehthumbs.db
Thumbs.db
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes

# ignore Editor files
*.sublime-project
*.sublime-workspace
*.komodoproject
_ide_helper.php
/.idea
/.vscode
# Eclipse project files
.buildpath
.project
.settings/
workspace.xml

# Ignore cache
.cache/

# Ignore user created files :)
*.bak
*.orig

# Ignore system files
.bash_history
LICENSE_AFL.txt
LICENSE.html
LICENSE.txt
LICENSE_EE*
RELEASE_NOTES.txt
.ssh/
error_log
# .htpasswds
# /.htaccess
php.ini.sample
.modgit/
_vti_bin/
_vti_cnf/
_vti_inf.html
_vti_log/
_vti_pvt/
_vti_txt/
tmp/
php.ini
_old/
# .htpasswds/
# .htpasswd
.viminfo
.profile
.bashrc
.bash_logout
.bash_history
.modgit/
.modman/
pkginfo
nohup.out
Homestead.yaml
Homestead.json
/.vagrant
.phpunit.result.cache

#Laravel Specific files
/vendor
.env
.env.backup
!.env.example
# /public/.htaccess
# storage/*
# !storage/framework/cache/
# !storage/framework/sessions/
# !storage/framework/views/
/storage/*.key
/node_modules
/public/hot
/public/storage

# composer files
composer.dev.json
composer.lock
package-lock.json
# But not these files...
!.gitignore

0 comments on commit 26dd2e5

Please sign in to comment.