Installing and managing modules from admin panel (#847)

This commit is contained in:
Yash Govekar
2020-10-19 19:40:28 +05:30
committed by GitHub
parent ca220f1cdf
commit 5803487d51
92 changed files with 1259 additions and 669 deletions

View File

@@ -0,0 +1,37 @@
@extends('admin.app')
@section('title', "Add Module")
@section('content')
<div class="card border-blue-bottom">
<div class="content">
<h5>Please note that : </h5>
<ul>
<li>Module Folder must be on top level of the zip.</li>
<li>Name of the zip must be exactly equal to the name of the module folder inside.</li>
</ul>
<h5>Module Zip Structure : </h5>
<ul>
<li>
ModuleName.zip
</li>
<ul>
<li>ModuleName Folder</li>
<ul>
<li>Config</li>
<li>Console</li>
<li>...</li>
</ul>
</ul>
</ul>
<hr>
<form method="post" action="{{route('admin.modules.store')}}" enctype="multipart/form-data">
@csrf
<div class="form-group">
<label>Module File : </label>
<input type="file" name="module_file" class="form-control" />
</div>
<button class="btn btn-success" type="submit">Add Module</button>
</form>
<hr>
</div>
</div>
@endsection