Installer changes #1
This commit is contained in:
1
.idea/php.xml
generated
1
.idea/php.xml
generated
@@ -121,7 +121,6 @@
|
||||
<path value="$PROJECT_DIR$/vendor/zendframework/zend-diactoros" />
|
||||
<path value="$PROJECT_DIR$/vendor/sebastiaanluca/laravel-helpers" />
|
||||
<path value="$PROJECT_DIR$/vendor/laravelcollective/html" />
|
||||
<path value="$PROJECT_DIR$/vendor/nabeel/laravel-installer" />
|
||||
<path value="$PROJECT_DIR$/vendor/tivie/php-os-detector" />
|
||||
<path value="$PROJECT_DIR$/vendor/jackiedo/timezonelist" />
|
||||
<path value="$PROJECT_DIR$/vendor/tremby/laravel-git-version" />
|
||||
|
||||
53
composer.lock
generated
53
composer.lock
generated
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "40d89dc8080251603c43814d3be8abf2",
|
||||
"content-hash": "f657a54ce87b561f6f413f836cbd20a3",
|
||||
"packages": [
|
||||
{
|
||||
"name": "composer/semver",
|
||||
@@ -2087,56 +2087,6 @@
|
||||
],
|
||||
"time": "2017-10-19T19:58:43+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nabeel/laravel-installer",
|
||||
"version": "dev-master",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nabeelio/LaravelInstaller.git",
|
||||
"reference": "0a5877b5550b0f8b35ed354331f1250747c9c223"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/nabeelio/LaravelInstaller/zipball/0a5877b5550b0f8b35ed354331f1250747c9c223",
|
||||
"reference": "0a5877b5550b0f8b35ed354331f1250747c9c223",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.0.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"RachidLaasri\\LaravelInstaller\\Providers\\LaravelInstallerServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"RachidLaasri\\LaravelInstaller\\": "src/"
|
||||
},
|
||||
"files": [
|
||||
"src/Helpers/functions.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Rachid Laasri",
|
||||
"email": "rashidlaasri@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Jeremy Kenedy",
|
||||
"email": "jeremykenedy@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "Laravel web installer",
|
||||
"time": "2017-12-04T21:21:14+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nabeel/vacentral",
|
||||
"version": "dev-master",
|
||||
@@ -7183,7 +7133,6 @@
|
||||
"infyomlabs/adminlte-templates": 20,
|
||||
"zizaco/entrust": 20,
|
||||
"makinacorpus/php-bloom": 20,
|
||||
"nabeel/laravel-installer": 20,
|
||||
"nabeel/vacentral": 20
|
||||
},
|
||||
"prefer-stable": false,
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Installer\Http\Controllers;
|
||||
|
||||
use App\Http\Controllers\AppBaseController;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
|
||||
class AdminController extends AppBaseController
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return view('installer::admin.index');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('installer::admin.create');
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Request $request)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the specified resource.
|
||||
*/
|
||||
public function show()
|
||||
{
|
||||
return view('installer::admin.show');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit()
|
||||
{
|
||||
return view('installer::admin.edit');
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Request $request)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -16,49 +16,4 @@ class InstallerController extends AppBaseController
|
||||
return view('installer::index');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('installer::create');
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
* @param Request $request
|
||||
*/
|
||||
public function store(Request $request)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the specified resource.
|
||||
*/
|
||||
public function show()
|
||||
{
|
||||
return view('installer::show');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit()
|
||||
{
|
||||
return view('installer::edit');
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Request $request)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
@extends('installer::layouts.admin')
|
||||
|
||||
@section('title', 'Installer')
|
||||
@section('actions')
|
||||
<li>
|
||||
<a href="{!! url('/installer/admin/create') !!}">
|
||||
<i class="ti-plus"></i>
|
||||
Add New</a>
|
||||
</li>
|
||||
@endsection
|
||||
@section('content')
|
||||
<div class="card border-blue-bottom">
|
||||
<div class="header"><h4 class="title">Admin Scaffold!</h4></div>
|
||||
<div class="content">
|
||||
<p>This view is loaded from module: {!! config('installer.name') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
72
modules/Installer/Resources/views/app.blade.php
Normal file
72
modules/Installer/Resources/views/app.blade.php
Normal file
@@ -0,0 +1,72 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="/assets/frontend/img/apple-icon.png">
|
||||
<link rel="icon" type="image/png" href="/assets/frontend/img/favicon.png">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<title>phpvms installer</title>
|
||||
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no'
|
||||
name='viewport'/>
|
||||
<!-- Fonts and icons -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet"/>
|
||||
<link rel="stylesheet"
|
||||
href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css"/>
|
||||
<!-- CSS Files -->
|
||||
<link href="/assets/frontend/css/bootstrap.min.css" rel="stylesheet"/>
|
||||
<link href="/vendor/select2/dist/css/select2.min.css" rel="stylesheet"/>
|
||||
<link href="/assets/frontend/css/now-ui-kit.css" rel="stylesheet"/>
|
||||
<link href="/assets/frontend/css/styles.css" rel="stylesheet"/>
|
||||
@yield('css')
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Navbar -->
|
||||
<nav class="navbar navbar-toggleable-md" style="background: #067ec1;">
|
||||
<div class="container" style="width: 85%!important;">
|
||||
<div class="navbar-translate">
|
||||
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse"
|
||||
data-target="#navigation" aria-controls="navigation-index" aria-expanded="false"
|
||||
aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-bar bar1"></span>
|
||||
<span class="navbar-toggler-bar bar2"></span>
|
||||
<span class="navbar-toggler-bar bar3"></span>
|
||||
</button>
|
||||
<p class="navbar-brand text-white" data-placement="bottom" target="_blank">
|
||||
<a href="{!! url('/') !!}">
|
||||
<img src="/assets/frontend/img/logo_blue_bg.svg" width="135px" style=""/>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse justify-content-end" id="navigation"></div>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- End Navbar -->
|
||||
<div class="clearfix" style="height: 25px;"></div>
|
||||
<div class="wrapper">
|
||||
<div class="clear"></div>
|
||||
<div class="container-fluid" style="width: 85%!important;">
|
||||
@yield('content')
|
||||
</div>
|
||||
<div class="clearfix" style="height: 200px;"></div>
|
||||
</div>
|
||||
|
||||
<script src="/assets/frontend/js/core/jquery.3.2.1.min.js" type="text/javascript"></script>
|
||||
<script src="/assets/frontend/js/core/tether.min.js" type="text/javascript"></script>
|
||||
<script src="/assets/frontend/js/core/bootstrap.min.js" type="text/javascript"></script>
|
||||
<script src="/assets/frontend/js/plugins/bootstrap-switch.js"></script>
|
||||
<script src="/assets/frontend/js/plugins/nouislider.min.js" type="text/javascript"></script>
|
||||
<script src="/assets/frontend/js/plugins/bootstrap-datepicker.js" type="text/javascript"></script>
|
||||
<script src="/assets/frontend/js/now-ui-kit.js" type="text/javascript"></script>
|
||||
<script src="/vendor/select2/dist/js/select2.js"></script>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$(".select2").select2();
|
||||
});
|
||||
</script>
|
||||
|
||||
@yield('scripts')
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,9 +1,6 @@
|
||||
@extends('installer::layouts.frontend')
|
||||
@extends('installer::app')
|
||||
|
||||
@section('content')
|
||||
<h1>Hello World</h1>
|
||||
|
||||
<p>
|
||||
This view is loaded from module: {!! config('installer.name') !!}
|
||||
</p>
|
||||
<h2>phpvms installer</h2>
|
||||
<p>This view is loaded from module: {!! config('installer.name') !!}</p>
|
||||
@endsection
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{{--
|
||||
You probably don't want to edit anything here. Just make
|
||||
sure to extend this in your views. It will pass the content section through
|
||||
--}}
|
||||
@extends('admin.app')
|
||||
@@ -1,5 +0,0 @@
|
||||
{{--
|
||||
You probably don't want to edit anything here. Just make
|
||||
sure to extend this in your views. It will pass the content section through
|
||||
--}}
|
||||
@extends('layouts.' . config('phpvms.skin') . '.app')
|
||||
@@ -42,7 +42,6 @@
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/makinacorpus/php-bloom" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/mockery/mockery" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/myclabs/deep-copy" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nabeel/laravel-installer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/nwidart/laravel-modules" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/orchestra/testbench" />
|
||||
@@ -145,7 +144,6 @@
|
||||
<root url="file://$MODULE_DIR$/vendor/makinacorpus/php-bloom" />
|
||||
<root url="file://$MODULE_DIR$/vendor/mockery/mockery" />
|
||||
<root url="file://$MODULE_DIR$/vendor/myclabs/deep-copy" />
|
||||
<root url="file://$MODULE_DIR$/vendor/nabeel/laravel-installer" />
|
||||
<root url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
|
||||
<root url="file://$MODULE_DIR$/vendor/nwidart/laravel-modules" />
|
||||
<root url="file://$MODULE_DIR$/vendor/orchestra/testbench" />
|
||||
@@ -243,7 +241,6 @@
|
||||
<root url="file://$MODULE_DIR$/vendor/makinacorpus/php-bloom" />
|
||||
<root url="file://$MODULE_DIR$/vendor/mockery/mockery" />
|
||||
<root url="file://$MODULE_DIR$/vendor/myclabs/deep-copy" />
|
||||
<root url="file://$MODULE_DIR$/vendor/nabeel/laravel-installer" />
|
||||
<root url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
|
||||
<root url="file://$MODULE_DIR$/vendor/nwidart/laravel-modules" />
|
||||
<root url="file://$MODULE_DIR$/vendor/orchestra/testbench" />
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
</div>
|
||||
</nav>
|
||||
<!-- End Navbar -->
|
||||
<div class="clearfix" style="height: 50px;"></div>
|
||||
<div class="clearfix" style="height: 25px;"></div>
|
||||
<div class="wrapper">
|
||||
<div class="clear"></div>
|
||||
<div class="container-fluid" style="width: 85%!important;">
|
||||
|
||||
Reference in New Issue
Block a user