create: new folder
This commit is contained in:
parent
ebbeb5e167
commit
d9baca7ae6
15
adaptive-english-lesson-main/.editorconfig
Normal file
15
adaptive-english-lesson-main/.editorconfig
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_size = 2
|
||||||
46
adaptive-english-lesson-main/.env
Normal file
46
adaptive-english-lesson-main/.env
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
APP_NAME=Laravel
|
||||||
|
APP_ENV=local
|
||||||
|
APP_KEY=base64:rIm71ziT3xuYc4PghfDend1vaPrTOcpMx60mE3j3EuA=
|
||||||
|
APP_DEBUG=true
|
||||||
|
APP_URL=http://localhost
|
||||||
|
|
||||||
|
LOG_CHANNEL=stack
|
||||||
|
|
||||||
|
DB_CONNECTION=mysql
|
||||||
|
DB_HOST=127.0.0.1
|
||||||
|
DB_PORT=3306
|
||||||
|
DB_DATABASE=project_siswa
|
||||||
|
DB_USERNAME=root
|
||||||
|
DB_PASSWORD=
|
||||||
|
|
||||||
|
BROADCAST_DRIVER=log
|
||||||
|
CACHE_DRIVER=file
|
||||||
|
QUEUE_CONNECTION=sync
|
||||||
|
SESSION_DRIVER=file
|
||||||
|
SESSION_LIFETIME=120
|
||||||
|
|
||||||
|
REDIS_HOST=127.0.0.1
|
||||||
|
REDIS_PASSWORD=null
|
||||||
|
REDIS_PORT=6379
|
||||||
|
|
||||||
|
MAIL_DRIVER=smtp
|
||||||
|
MAIL_HOST=smtp.mailtrap.io
|
||||||
|
MAIL_PORT=2525
|
||||||
|
MAIL_USERNAME=null
|
||||||
|
MAIL_PASSWORD=null
|
||||||
|
MAIL_ENCRYPTION=null
|
||||||
|
MAIL_FROM_ADDRESS=null
|
||||||
|
MAIL_FROM_NAME="${APP_NAME}"
|
||||||
|
|
||||||
|
AWS_ACCESS_KEY_ID=
|
||||||
|
AWS_SECRET_ACCESS_KEY=
|
||||||
|
AWS_DEFAULT_REGION=us-east-1
|
||||||
|
AWS_BUCKET=
|
||||||
|
|
||||||
|
PUSHER_APP_ID=
|
||||||
|
PUSHER_APP_KEY=
|
||||||
|
PUSHER_APP_SECRET=
|
||||||
|
PUSHER_APP_CLUSTER=mt1
|
||||||
|
|
||||||
|
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
||||||
|
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
||||||
46
adaptive-english-lesson-main/.env.example
Normal file
46
adaptive-english-lesson-main/.env.example
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
APP_NAME=Laravel
|
||||||
|
APP_ENV=local
|
||||||
|
APP_KEY=
|
||||||
|
APP_DEBUG=true
|
||||||
|
APP_URL=http://localhost
|
||||||
|
|
||||||
|
LOG_CHANNEL=stack
|
||||||
|
|
||||||
|
DB_CONNECTION=mysql
|
||||||
|
DB_HOST=127.0.0.1
|
||||||
|
DB_PORT=3306
|
||||||
|
DB_DATABASE=laravel
|
||||||
|
DB_USERNAME=root
|
||||||
|
DB_PASSWORD=
|
||||||
|
|
||||||
|
BROADCAST_DRIVER=log
|
||||||
|
CACHE_DRIVER=file
|
||||||
|
QUEUE_CONNECTION=sync
|
||||||
|
SESSION_DRIVER=file
|
||||||
|
SESSION_LIFETIME=120
|
||||||
|
|
||||||
|
REDIS_HOST=127.0.0.1
|
||||||
|
REDIS_PASSWORD=null
|
||||||
|
REDIS_PORT=6379
|
||||||
|
|
||||||
|
MAIL_DRIVER=smtp
|
||||||
|
MAIL_HOST=smtp.mailtrap.io
|
||||||
|
MAIL_PORT=2525
|
||||||
|
MAIL_USERNAME=null
|
||||||
|
MAIL_PASSWORD=null
|
||||||
|
MAIL_ENCRYPTION=null
|
||||||
|
MAIL_FROM_ADDRESS=null
|
||||||
|
MAIL_FROM_NAME="${APP_NAME}"
|
||||||
|
|
||||||
|
AWS_ACCESS_KEY_ID=
|
||||||
|
AWS_SECRET_ACCESS_KEY=
|
||||||
|
AWS_DEFAULT_REGION=us-east-1
|
||||||
|
AWS_BUCKET=
|
||||||
|
|
||||||
|
PUSHER_APP_ID=
|
||||||
|
PUSHER_APP_KEY=
|
||||||
|
PUSHER_APP_SECRET=
|
||||||
|
PUSHER_APP_CLUSTER=mt1
|
||||||
|
|
||||||
|
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
||||||
|
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
||||||
5
adaptive-english-lesson-main/.gitattributes
vendored
Normal file
5
adaptive-english-lesson-main/.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
* text=auto
|
||||||
|
*.css linguist-vendored
|
||||||
|
*.scss linguist-vendored
|
||||||
|
*.js linguist-vendored
|
||||||
|
CHANGELOG.md export-ignore
|
||||||
12
adaptive-english-lesson-main/.gitignore
vendored
Normal file
12
adaptive-english-lesson-main/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
/node_modules
|
||||||
|
/public/hot
|
||||||
|
/public/storage
|
||||||
|
/storage/*.key
|
||||||
|
/vendor
|
||||||
|
# .env
|
||||||
|
.env.backup
|
||||||
|
.phpunit.result.cache
|
||||||
|
Homestead.json
|
||||||
|
Homestead.yaml
|
||||||
|
npm-debug.log
|
||||||
|
yarn-error.log
|
||||||
13
adaptive-english-lesson-main/.styleci.yml
Normal file
13
adaptive-english-lesson-main/.styleci.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
php:
|
||||||
|
preset: laravel
|
||||||
|
disabled:
|
||||||
|
- unused_use
|
||||||
|
finder:
|
||||||
|
not-name:
|
||||||
|
- index.php
|
||||||
|
- server.php
|
||||||
|
js:
|
||||||
|
finder:
|
||||||
|
not-name:
|
||||||
|
- webpack.mix.js
|
||||||
|
css: true
|
||||||
78
adaptive-english-lesson-main/README.md
Normal file
78
adaptive-english-lesson-main/README.md
Normal file
|
|
@ -0,0 +1,78 @@
|
||||||
|
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400"></a></p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a>
|
||||||
|
<a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/d/total.svg" alt="Total Downloads"></a>
|
||||||
|
<a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/v/stable.svg" alt="Latest Stable Version"></a>
|
||||||
|
<a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/license.svg" alt="License"></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
## About Laravel
|
||||||
|
|
||||||
|
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
|
||||||
|
|
||||||
|
- [Simple, fast routing engine](https://laravel.com/docs/routing).
|
||||||
|
- [Powerful dependency injection container](https://laravel.com/docs/container).
|
||||||
|
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
|
||||||
|
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
|
||||||
|
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
|
||||||
|
- [Robust background job processing](https://laravel.com/docs/queues).
|
||||||
|
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
|
||||||
|
|
||||||
|
Laravel is accessible, powerful, and provides tools required for large, robust applications.
|
||||||
|
|
||||||
|
## Learning Laravel
|
||||||
|
|
||||||
|
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
|
||||||
|
|
||||||
|
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
|
||||||
|
|
||||||
|
## Laravel Sponsors
|
||||||
|
|
||||||
|
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
|
||||||
|
|
||||||
|
- **[Vehikl](https://vehikl.com/)**
|
||||||
|
- **[Tighten Co.](https://tighten.co)**
|
||||||
|
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
|
||||||
|
- **[64 Robots](https://64robots.com)**
|
||||||
|
- **[Cubet Techno Labs](https://cubettech.com)**
|
||||||
|
- **[Cyber-Duck](https://cyber-duck.co.uk)**
|
||||||
|
- **[British Software Development](https://www.britishsoftware.co)**
|
||||||
|
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
|
||||||
|
- **[DevSquad](https://devsquad.com)**
|
||||||
|
- [UserInsights](https://userinsights.com)
|
||||||
|
- [Fragrantica](https://www.fragrantica.com)
|
||||||
|
- [SOFTonSOFA](https://softonsofa.com/)
|
||||||
|
- [User10](https://user10.com)
|
||||||
|
- [Soumettre.fr](https://soumettre.fr/)
|
||||||
|
- [CodeBrisk](https://codebrisk.com)
|
||||||
|
- [1Forge](https://1forge.com)
|
||||||
|
- [TECPRESSO](https://tecpresso.co.jp/)
|
||||||
|
- [Runtime Converter](http://runtimeconverter.com/)
|
||||||
|
- [WebL'Agence](https://weblagence.com/)
|
||||||
|
- [Invoice Ninja](https://www.invoiceninja.com)
|
||||||
|
- [iMi digital](https://www.imi-digital.de/)
|
||||||
|
- [Earthlink](https://www.earthlink.ro/)
|
||||||
|
- [Steadfast Collective](https://steadfastcollective.com/)
|
||||||
|
- [We Are The Robots Inc.](https://watr.mx/)
|
||||||
|
- [Understand.io](https://www.understand.io/)
|
||||||
|
- [Abdel Elrafa](https://abdelelrafa.com)
|
||||||
|
- [Hyper Host](https://hyper.host)
|
||||||
|
- [Appoly](https://www.appoly.co.uk)
|
||||||
|
- [OP.GG](https://op.gg)
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
|
||||||
|
|
||||||
|
## Code of Conduct
|
||||||
|
|
||||||
|
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
|
||||||
|
|
||||||
|
## Security Vulnerabilities
|
||||||
|
|
||||||
|
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
|
||||||
42
adaptive-english-lesson-main/app/Console/Kernel.php
Normal file
42
adaptive-english-lesson-main/app/Console/Kernel.php
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Console;
|
||||||
|
|
||||||
|
use Illuminate\Console\Scheduling\Schedule;
|
||||||
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
||||||
|
|
||||||
|
class Kernel extends ConsoleKernel
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The Artisan commands provided by your application.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $commands = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the application's command schedule.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function schedule(Schedule $schedule)
|
||||||
|
{
|
||||||
|
// $schedule->command('inspire')
|
||||||
|
// ->hourly();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register the commands for the application.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function commands()
|
||||||
|
{
|
||||||
|
$this->load(__DIR__.'/Commands');
|
||||||
|
|
||||||
|
require base_path('routes/console.php');
|
||||||
|
}
|
||||||
|
}
|
||||||
55
adaptive-english-lesson-main/app/Exceptions/Handler.php
Normal file
55
adaptive-english-lesson-main/app/Exceptions/Handler.php
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Exceptions;
|
||||||
|
|
||||||
|
use Exception;
|
||||||
|
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||||
|
|
||||||
|
class Handler extends ExceptionHandler
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* A list of the exception types that are not reported.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $dontReport = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A list of the inputs that are never flashed for validation exceptions.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $dontFlash = [
|
||||||
|
'password',
|
||||||
|
'password_confirmation',
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Report or log an exception.
|
||||||
|
*
|
||||||
|
* @param \Exception $exception
|
||||||
|
* @return void
|
||||||
|
*
|
||||||
|
* @throws \Exception
|
||||||
|
*/
|
||||||
|
public function report(Exception $exception)
|
||||||
|
{
|
||||||
|
parent::report($exception);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render an exception into an HTTP response.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param \Exception $exception
|
||||||
|
* @return \Symfony\Component\HttpFoundation\Response
|
||||||
|
*
|
||||||
|
* @throws \Exception
|
||||||
|
*/
|
||||||
|
public function render($request, Exception $exception)
|
||||||
|
{
|
||||||
|
return parent::render($request, $exception);
|
||||||
|
}
|
||||||
|
}
|
||||||
43
adaptive-english-lesson-main/app/Exercise.php
Normal file
43
adaptive-english-lesson-main/app/Exercise.php
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Exercise extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'm_exercises';
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'level_id',
|
||||||
|
'question',
|
||||||
|
'image',
|
||||||
|
'option_a',
|
||||||
|
'option_b',
|
||||||
|
'option_c',
|
||||||
|
'option_d',
|
||||||
|
'option_e',
|
||||||
|
'answer_key',
|
||||||
|
'weight',
|
||||||
|
];
|
||||||
|
|
||||||
|
protected $dates = [
|
||||||
|
'ts_entri',
|
||||||
|
];
|
||||||
|
|
||||||
|
public function level()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Level::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function viewlevel()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(ViewLevelRoute::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function stdexercises()
|
||||||
|
{
|
||||||
|
return $this->hasMany(StdExercise::class);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,818 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Subject;
|
||||||
|
use App\Level;
|
||||||
|
use App\ViewLevelRoute;
|
||||||
|
use App\Topic;
|
||||||
|
use App\Exercise;
|
||||||
|
use App\User;
|
||||||
|
use App\StdExercise;
|
||||||
|
use App\StdLearning;
|
||||||
|
use Auth;
|
||||||
|
use DB;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Storage;
|
||||||
|
use Illuminate\Support\Facades\Validator;
|
||||||
|
use Yajra\DataTables\Facades\DataTables;
|
||||||
|
|
||||||
|
|
||||||
|
class AdminController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
Start of Pages
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
return view('admin.index');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function subject()
|
||||||
|
{
|
||||||
|
return view('admin.subject');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function subject_detail(Request $request)
|
||||||
|
{
|
||||||
|
$subject_id = $request->subject_id;
|
||||||
|
$subject_details = Subject::find($subject_id);
|
||||||
|
return response()->json(['details' => $subject_details]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function topic()
|
||||||
|
{
|
||||||
|
$subjects = Subject::all();
|
||||||
|
return view('admin.topic', compact('subjects'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function topic_detail(Request $request)
|
||||||
|
{
|
||||||
|
$topic_id = $request->topic_id;
|
||||||
|
$topic_details = Topic::find($topic_id);
|
||||||
|
return response()->json(['details' => $topic_details]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function route()
|
||||||
|
{
|
||||||
|
$subjects = Subject::all('id', 'name');
|
||||||
|
$topics = Topic::with('subject')->get();
|
||||||
|
$levels = Level::with('topic')->get();
|
||||||
|
return view('admin.route', compact('levels', 'subjects', 'topics'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function route_detail(Request $request)
|
||||||
|
{
|
||||||
|
$level_id = $request->level_id;
|
||||||
|
$level_details = Level::find($level_id);
|
||||||
|
return response()->json(['details' => $level_details]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function level()
|
||||||
|
{
|
||||||
|
$subjects = Subject::all();
|
||||||
|
$topics = Topic::with('subject')->get();
|
||||||
|
$levels = Level::with('topic')->get();
|
||||||
|
return view('admin.level', compact('levels', 'subjects', 'topics'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getTopicBySubject(Request $request)
|
||||||
|
{
|
||||||
|
$subject_id = $request->input('subject_id');
|
||||||
|
$subtopics = Topic::where('subject_id', $subject_id)->with('subject')->get();
|
||||||
|
return response()->json($subtopics);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getFTopicByFSubject(Request $request)
|
||||||
|
{
|
||||||
|
$subject_name = $request->input('subject_name');
|
||||||
|
$subject = Subject::where('name', $subject_name)->first();
|
||||||
|
$topics = Topic::where('subject_id', $subject->id)->with('subject')->get();
|
||||||
|
return response()->json($topics);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function level_detail(Request $request)
|
||||||
|
{
|
||||||
|
$level_id = $request->level_id;
|
||||||
|
$level_details = Level::find($level_id);
|
||||||
|
return response()->json(['details' => $level_details]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function exercise()
|
||||||
|
{
|
||||||
|
$subjects = Subject::all();
|
||||||
|
$levels = Level::with(['topic', 'subject'])->get();
|
||||||
|
return view('admin.exercise', compact('levels', 'subjects'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function exercise_detail(Request $request)
|
||||||
|
{
|
||||||
|
$exercise_id = $request->exercise_id;
|
||||||
|
$exercise_details = Exercise::find($exercise_id);
|
||||||
|
return response()->json(['details' => $exercise_details]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
End of Pages
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Start of Subject
|
||||||
|
*/
|
||||||
|
|
||||||
|
public function addSubject(Request $request)
|
||||||
|
{
|
||||||
|
$icon_name = "";
|
||||||
|
$icon_upload = false;
|
||||||
|
|
||||||
|
$thumbnail_name = "";
|
||||||
|
$thumbnail_upload = false;
|
||||||
|
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'name' => 'required|string',
|
||||||
|
'description' => 'required|string',
|
||||||
|
'icon' => 'mimes:ico,png,jpg,jpeg',
|
||||||
|
'thumbnail' => 'mimes:jpg,png,jpeg',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
} else {
|
||||||
|
// Tambah Icon
|
||||||
|
if ($request->hasFile('icon')) {
|
||||||
|
$icon_path = 'icon/';
|
||||||
|
$icon = $request->file('icon');
|
||||||
|
$icon_name = $icon->getClientOriginalName();
|
||||||
|
$this->icon_upload = $icon->storeAs($icon_path, $icon_name, 'public');
|
||||||
|
} else {
|
||||||
|
$this->icon_upload = true;
|
||||||
|
}
|
||||||
|
// Tambah Thumbnail
|
||||||
|
if ($request->hasFile('thumbnail')) {
|
||||||
|
$thumbnail_path = 'thumbnail/';
|
||||||
|
$thumbnail = $request->file('thumbnail');
|
||||||
|
$thumbnail_name = $thumbnail->getClientOriginalName();
|
||||||
|
$this->thumbnail_upload = $thumbnail->storeAs($thumbnail_path, $thumbnail_name, 'public');
|
||||||
|
} else {
|
||||||
|
$this->thumbnail_upload = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
Subject::insert([
|
||||||
|
'name' => $request->name,
|
||||||
|
'description' => $request->description,
|
||||||
|
'icon' => $icon_name,
|
||||||
|
'thumbnail' => $thumbnail_name,
|
||||||
|
]);
|
||||||
|
return response()->json();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function subject_list()
|
||||||
|
{
|
||||||
|
$subjects = Subject::all();
|
||||||
|
return DataTables::of($subjects)
|
||||||
|
->addColumn('actions', function ($row) {
|
||||||
|
return
|
||||||
|
'<div class="btn-group" role="group">
|
||||||
|
<button id="edit_subject_btn" type="button" class="btn-edit" data-id="' . $row['id'] . '"><i class="fas fa-edit"></i></button>
|
||||||
|
<button id="delete_subject_btn" type="button" class="btn-delete" data-id="' . $row['id'] . '"><i class="fas fa-trash"></i></button>
|
||||||
|
</div>';
|
||||||
|
})
|
||||||
|
->rawColumns(['actions'])
|
||||||
|
->make(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function updateSubject(Request $request)
|
||||||
|
{
|
||||||
|
$subject_id = $request->subject_id;
|
||||||
|
$subject = Subject::find($subject_id);
|
||||||
|
|
||||||
|
$icon_name = '';
|
||||||
|
$thumbnail_name = '';
|
||||||
|
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'name' => 'required|string',
|
||||||
|
'description' => 'required|string',
|
||||||
|
'icon' => 'mimes:ico,png,jpg,jpeg',
|
||||||
|
'thumbnail' => 'mimes:jpg,png,jpeg',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
} else {
|
||||||
|
|
||||||
|
|
||||||
|
if ($request->hasFile('icon')) {
|
||||||
|
$icon = $request->file('icon');
|
||||||
|
$icon_name = $icon->getClientOriginalName();
|
||||||
|
$icon->storeAs('public/icon', $icon_name);
|
||||||
|
if ($subject->icon) {
|
||||||
|
Storage::delete('public/icon/' . $subject->icon);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$icon_name = $request->icon_image;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if ($request->hasFile('thumbnail')) {
|
||||||
|
$thumbnail = $request->file('thumbnail');
|
||||||
|
$thumbnail_name = $thumbnail->getClientOriginalName();
|
||||||
|
$thumbnail->storeAs('public/thumbnail', $thumbnail_name);
|
||||||
|
if ($subject->thumbnail) {
|
||||||
|
Storage::delete('public/thumbnail/' . $subject->thumbnail);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$thumbnail_name = $request->thumbnail_image;
|
||||||
|
}
|
||||||
|
|
||||||
|
$subject->update([
|
||||||
|
'name' => $request->name,
|
||||||
|
'description' => $request->description,
|
||||||
|
'icon' => $icon_name,
|
||||||
|
'thumbnail' => $thumbnail_name,
|
||||||
|
]);
|
||||||
|
return response()->json();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function deleteSubject(Request $request)
|
||||||
|
{
|
||||||
|
$id = $request->id;
|
||||||
|
$query = Subject::find($id);
|
||||||
|
|
||||||
|
// Hapus Icon
|
||||||
|
if (Storage::delete('public/icon/' . $query->icon)) {
|
||||||
|
Subject::destroy($id);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hapus Thumbnail
|
||||||
|
if (Storage::delete('public/thumbnail/' . $query->thumbnail)) {
|
||||||
|
Subject::destroy($id);
|
||||||
|
}
|
||||||
|
|
||||||
|
$query->delete();
|
||||||
|
|
||||||
|
if (!$query) {
|
||||||
|
return response()->json(['code' => 0, 'msg' => 'Something went wrong']);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 1, 'msg' => 'Subject has been successfully updated']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
End of Subject
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Start of Topic
|
||||||
|
*/
|
||||||
|
|
||||||
|
public function addTopic(Request $request)
|
||||||
|
{
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'subject_id' => 'required|string',
|
||||||
|
'title' => 'required|string',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
} else {
|
||||||
|
Topic::insert([
|
||||||
|
'subject_id' => $request->subject_id,
|
||||||
|
'title' => $request->title,
|
||||||
|
]);
|
||||||
|
return response()->json();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function topic_list()
|
||||||
|
{
|
||||||
|
$topics = Topic::with('subject')->select('m_topics.*');
|
||||||
|
|
||||||
|
return DataTables::of($topics)
|
||||||
|
->addColumn('actions', function ($row) {
|
||||||
|
return
|
||||||
|
'<div class="btn-group" role="group">
|
||||||
|
<button id="edit_topic_btn" type="button" class="btn-edit" data-id="' . $row['id'] . '"><i class="fas fa-edit"></i></button>
|
||||||
|
<button id="delete_topic_btn" type="button" class="btn-delete" data-id="' . $row['id'] . '"><i class="fas fa-trash"></i></button>
|
||||||
|
</div>';
|
||||||
|
})
|
||||||
|
->addColumn('subject_name', function ($topics) {
|
||||||
|
return $topics->subject->name;
|
||||||
|
})
|
||||||
|
->rawColumns(['actions'])
|
||||||
|
->make(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function updateTopic(Request $request)
|
||||||
|
{
|
||||||
|
$topic_id = $request->topic_id;
|
||||||
|
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'subject_id' => 'required|string',
|
||||||
|
'title' => 'required|string',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
} else {
|
||||||
|
$topic = Topic::find($topic_id);
|
||||||
|
$topic->subject_id = $request->subject_id;
|
||||||
|
$topic->title = $request->title;
|
||||||
|
$query = $topic->update();
|
||||||
|
|
||||||
|
if (!$query) {
|
||||||
|
return response()->json(['code' => 0, 'msg' => 'Something went wrong']);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 1, 'msg' => 'Topic has been successfully updated']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function deleteTopic(Request $request)
|
||||||
|
{
|
||||||
|
$id = $request->id;
|
||||||
|
$query = Topic::find($id);
|
||||||
|
$query->delete();
|
||||||
|
|
||||||
|
if (!$query) {
|
||||||
|
return response()->json(['code' => 0, 'msg' => 'Something went wrong']);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 1, 'msg' => 'Topic has been successfully updated']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
End of Topic
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Start of Level
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
public function addLevel(Request $request)
|
||||||
|
{
|
||||||
|
$audio_name = "";
|
||||||
|
$video_name = "";
|
||||||
|
$image_name = "";
|
||||||
|
|
||||||
|
$audio_upload = false;
|
||||||
|
$video_upload = false;
|
||||||
|
$image_upload = false;
|
||||||
|
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'title' => 'required|string',
|
||||||
|
'subject_id' => 'required|string',
|
||||||
|
'topic_id' => 'required|string',
|
||||||
|
'is_pretest' => 'string',
|
||||||
|
'is_termination' => 'string',
|
||||||
|
'content' => 'required|string',
|
||||||
|
'video' => 'mimes:mp4',
|
||||||
|
'audio' => 'mimes:mp3',
|
||||||
|
'image' => 'mimes:jpeg,jpg,png',
|
||||||
|
'youtube' => 'sometimes|nullable|url',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
} else {
|
||||||
|
|
||||||
|
if ($request->hasFile('audio')) {
|
||||||
|
$audio_path = 'audio/';
|
||||||
|
$audio = $request->file('audio');
|
||||||
|
$audio_name = $audio->getClientOriginalName();
|
||||||
|
$this->audio_upload = $audio->storeAs($audio_path, $audio_name, 'public');
|
||||||
|
} else {
|
||||||
|
$this->audio_upload = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($request->hasFile('video')) {
|
||||||
|
$video_path = 'video/';
|
||||||
|
$video = $request->file('video');
|
||||||
|
$video_name = $video->getClientOriginalName();
|
||||||
|
$this->video_upload = $video->storeAs($video_path, $video_name, 'public');
|
||||||
|
} else {
|
||||||
|
$this->video_upload = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($request->hasFile('image')) {
|
||||||
|
$image_path = 'image/';
|
||||||
|
$image = $request->file('image');
|
||||||
|
$image_name = $image->getClientOriginalName();
|
||||||
|
$this->image_upload = $image->storeAs($image_path, $image_name, 'public');
|
||||||
|
} else {
|
||||||
|
$this->image_upload = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if ($this->audio_upload and $this->video_upload and $this->image_upload) {
|
||||||
|
|
||||||
|
Level::insert([
|
||||||
|
'title' => $request->title,
|
||||||
|
'subject_id' => $request->subject_id,
|
||||||
|
'topic_id' => $request->topic_id,
|
||||||
|
'is_pretest' => $request->is_pretest,
|
||||||
|
'is_termination' => $request->is_termination,
|
||||||
|
'content' => $request->content,
|
||||||
|
'audio' => $audio_name,
|
||||||
|
'video' => $video_name,
|
||||||
|
'image' => $image_name,
|
||||||
|
'youtube' => $request->youtube,
|
||||||
|
'route1' => $request->route1,
|
||||||
|
'route2' => $request->route2,
|
||||||
|
'route3' => $request->route3,
|
||||||
|
'route4' => $request->route4,
|
||||||
|
]);
|
||||||
|
|
||||||
|
return response()->json(['code' => 1, 'msg' => 'BERHASIL menambahkan soal baru.']);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 0, 'msg' => 'GAGAL menambahkan soal baru.']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function level_list(Request $request)
|
||||||
|
{
|
||||||
|
|
||||||
|
$levels = ViewLevelRoute::query()->with(['subject', 'topic'])->select('v_level_title.*');;
|
||||||
|
|
||||||
|
return DataTables::of($levels)
|
||||||
|
->addColumn('actions', function ($row) {
|
||||||
|
return
|
||||||
|
'<div class="btn-group" role="group">
|
||||||
|
<button id="edit_level_btn" type="button" class="btn-edit" data-id="' . $row['id'] . '"><i class="fas fa-edit"></i></button>
|
||||||
|
<button id="delete_level_btn" type="button" class="btn-delete" data-id="' . $row['id'] . '"><i class="fas fa-trash"></i></button>
|
||||||
|
</div>';
|
||||||
|
})
|
||||||
|
->addColumn('subject_name', function (ViewLevelRoute $level) {
|
||||||
|
return $level->subject->name;
|
||||||
|
})
|
||||||
|
->addColumn('topic_title', function (ViewLevelRoute $level) {
|
||||||
|
return $level->topic->title;
|
||||||
|
})
|
||||||
|
|
||||||
|
->rawColumns(['actions'])
|
||||||
|
->make(true);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function updateLevel(Request $request)
|
||||||
|
{
|
||||||
|
$level_id = $request->level_id;
|
||||||
|
$level = Level::find($level_id);
|
||||||
|
|
||||||
|
$audio_name = '';
|
||||||
|
$video_name = '';
|
||||||
|
$image_name = '';
|
||||||
|
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'title' => 'required|string',
|
||||||
|
'subject_id' => 'required|string',
|
||||||
|
'topic_id' => 'required|string',
|
||||||
|
'is_pretest' => 'numeric',
|
||||||
|
'is_termination' => 'numeric',
|
||||||
|
'content' => 'required|string',
|
||||||
|
'video' => 'mimes:mp4',
|
||||||
|
'audio' => 'mimes:mp3',
|
||||||
|
'image' => 'mimes:jpeg,jpg,png',
|
||||||
|
'youtube' => 'sometimes|nullable|url',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
} else {
|
||||||
|
// Update Audio
|
||||||
|
if ($request->hasFile('audio')) {
|
||||||
|
$audio = $request->file('audio');
|
||||||
|
$audio_name = $audio->getClientOriginalName();
|
||||||
|
$audio->storeAs('public/audio', $audio_name);
|
||||||
|
if ($level->audio) {
|
||||||
|
Storage::delete('public/audio/' . $level->audio);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$audio_name = $request->level_audio;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update Video
|
||||||
|
if ($request->hasFile('video')) {
|
||||||
|
$video = $request->file('video');
|
||||||
|
$video_name = $video->getClientOriginalName();
|
||||||
|
$video->storeAs('public/video', $video_name);
|
||||||
|
if ($level->video) {
|
||||||
|
Storage::delete('public/video/' . $level->video);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$video_name = $request->level_video;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update Image
|
||||||
|
if ($request->hasFile('image')) {
|
||||||
|
$image = $request->file('image');
|
||||||
|
$image_name = $image->getClientOriginalName();
|
||||||
|
$image->storeAs('public/image', $image_name);
|
||||||
|
if ($level->image) {
|
||||||
|
Storage::delete('public/image/' . $level->image);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$image_name = $request->level_image;
|
||||||
|
}
|
||||||
|
|
||||||
|
$level->update([
|
||||||
|
'title' => $request->title,
|
||||||
|
'subject_id' => $request->subject_id,
|
||||||
|
'topic_id' => $request->topic_id,
|
||||||
|
'is_pretest' => $request->is_pretest,
|
||||||
|
'is_termination' => $request->is_termination,
|
||||||
|
'content' => $request->content,
|
||||||
|
'audio' => $audio_name,
|
||||||
|
'video' => $video_name,
|
||||||
|
'image' => $image_name,
|
||||||
|
'youtube' => $request->youtube,
|
||||||
|
]);
|
||||||
|
|
||||||
|
return response()->json();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function deleteLevel(Request $request)
|
||||||
|
{
|
||||||
|
$id = $request->id;
|
||||||
|
$query = Level::find($id);
|
||||||
|
|
||||||
|
// Hapus Image
|
||||||
|
if (Storage::delete('public/image/' . $query->image)) {
|
||||||
|
Level::destroy($id);
|
||||||
|
}
|
||||||
|
// Hapus Video
|
||||||
|
if (Storage::delete('public/video/' . $query->video)) {
|
||||||
|
Level::destroy($id);
|
||||||
|
}
|
||||||
|
// Hapus Audio
|
||||||
|
if (Storage::delete('public/audio/' . $query->audio)) {
|
||||||
|
Level::destroy($id);
|
||||||
|
}
|
||||||
|
|
||||||
|
$query->delete();
|
||||||
|
|
||||||
|
if (!$query) {
|
||||||
|
return response()->json(['code' => 0, 'msg' => 'Something went wrong']);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 1, 'msg' => 'Level has been successfully updated']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
End of Level
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Start of Route
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
public function addRoute(Request $request)
|
||||||
|
{
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'route1' => 'required|numeric',
|
||||||
|
'route2' => 'required|numeric',
|
||||||
|
'route3' => 'required|numeric',
|
||||||
|
'route4' => 'required|numeric',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
} else {
|
||||||
|
Level::insert([
|
||||||
|
'route1' => $request->route1,
|
||||||
|
'route2' => $request->route2,
|
||||||
|
'route3' => $request->route3,
|
||||||
|
'route4' => $request->route4,
|
||||||
|
]);
|
||||||
|
|
||||||
|
DB::statement('UPDATE m_levels SET route1 = id WHERE route1=0');
|
||||||
|
DB::statement('UPDATE m_levels SET route2 = id WHERE route2=0');
|
||||||
|
DB::statement('UPDATE m_levels SET route3 = id WHERE route3=0');
|
||||||
|
DB::statement('UPDATE m_levels SET route4 = id WHERE route4=0');
|
||||||
|
|
||||||
|
return response()->json(['code' => 1, 'msg' => 'BERHASIL menambahkan route baru.']);
|
||||||
|
return response()->json(['code' => 0, 'msg' => 'GAGAL menambahkan route baru.']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function route_list()
|
||||||
|
{
|
||||||
|
$levels = ViewLevelRoute::with(['subject', 'topic']);
|
||||||
|
return DataTables::of($levels)
|
||||||
|
->addColumn('actions', function ($row) {
|
||||||
|
return
|
||||||
|
'<div class="btn-group" role="group">
|
||||||
|
<button id="edit_route_btn" type="button" class="btn-edit" data-id="' . $row['id'] . '"><i class="fas fa-edit"></i></button>
|
||||||
|
</div>';
|
||||||
|
})
|
||||||
|
->rawColumns(['actions'])
|
||||||
|
->make(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function updateRoute(Request $request)
|
||||||
|
{
|
||||||
|
$level_id = $request->level_id;
|
||||||
|
$level = Level::find($level_id);
|
||||||
|
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'route1' => 'required',
|
||||||
|
'route2' => 'required',
|
||||||
|
'route3' => 'required',
|
||||||
|
'route4' => 'required',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
} else {
|
||||||
|
|
||||||
|
$level->update([
|
||||||
|
'route1' => $request->route1,
|
||||||
|
'route2' => $request->route2,
|
||||||
|
'route3' => $request->route3,
|
||||||
|
'route4' => $request->route4,
|
||||||
|
]);
|
||||||
|
|
||||||
|
DB::statement('UPDATE m_levels SET route1 = id WHERE route1=0');
|
||||||
|
DB::statement('UPDATE m_levels SET route2 = id WHERE route2=0');
|
||||||
|
DB::statement('UPDATE m_levels SET route3 = id WHERE route3=0');
|
||||||
|
DB::statement('UPDATE m_levels SET route4 = id WHERE route4=0');
|
||||||
|
|
||||||
|
return response()->json();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
End of Route
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Start of Exercise
|
||||||
|
*/
|
||||||
|
|
||||||
|
public function addExercise(Request $request)
|
||||||
|
{
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'level_id' => 'required|integer',
|
||||||
|
'question' => 'required|string',
|
||||||
|
'image' => 'mimes:jpeg,jpg,png,gif',
|
||||||
|
'option_a' => 'required|string',
|
||||||
|
'option_b' => 'required|string',
|
||||||
|
'option_c' => 'required|string',
|
||||||
|
'option_d' => 'required|string',
|
||||||
|
'option_e' => 'required|string',
|
||||||
|
'answer_key' => 'required|string|max:5',
|
||||||
|
'weight' => 'required|integer',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
}else{
|
||||||
|
if ($request->hasFile('image')) {
|
||||||
|
$image_path = 'exercise_image/';
|
||||||
|
$image = $request->file('image');
|
||||||
|
$image_name = $image->getClientOriginalName();
|
||||||
|
$this->image_upload = $image->storeAs($image_path, $image_name, 'public');
|
||||||
|
} else {
|
||||||
|
$this->image_upload = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($this->image_upload) {
|
||||||
|
$exercise = new Exercise();
|
||||||
|
$exercise->level_id = $request->level_id;
|
||||||
|
$exercise->question = $request->question;
|
||||||
|
$exercise->image = $image_name;
|
||||||
|
$exercise->option_a = $request->option_a;
|
||||||
|
$exercise->option_b = $request->option_b;
|
||||||
|
$exercise->option_c = $request->option_c;
|
||||||
|
$exercise->option_d = $request->option_d;
|
||||||
|
$exercise->option_e = $request->option_e;
|
||||||
|
$exercise->answer_key = $request->answer_key;
|
||||||
|
$exercise->weight = $request->weight;
|
||||||
|
$query = $exercise->save();
|
||||||
|
|
||||||
|
if (!$query) {
|
||||||
|
return response()->json(['code' => 0, 'msg' => 'Something went wrong']);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 1, 'msg' => 'New Exercise has been successfully saved']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function exercise_list()
|
||||||
|
{
|
||||||
|
$exercises = Exercise::with('level');
|
||||||
|
return DataTables::of($exercises)
|
||||||
|
->addColumn('actions', function ($row) {
|
||||||
|
return
|
||||||
|
'<div class="btn-group" role="group">
|
||||||
|
<button id="edit_exercise_btn" type="button" class="btn-edit" data-id="' . $row['id'] . '"><i class="fas fa-edit"></i></button>
|
||||||
|
<button id="delete_exercise_btn" type="button" class="btn-delete" data-id="' . $row['id'] . '"><i class="fas fa-trash"></i></button>
|
||||||
|
</div>';
|
||||||
|
})
|
||||||
|
->addColumn('level_title', function (Exercise $exercise) {
|
||||||
|
return $exercise->level->title;
|
||||||
|
})
|
||||||
|
->addColumn('level_topic_title', function (Exercise $exercise) {
|
||||||
|
return $exercise->level->topic->title;
|
||||||
|
})
|
||||||
|
->addColumn('level_subject_name', function (Exercise $exercise) {
|
||||||
|
return $exercise->level->subject->name;
|
||||||
|
})
|
||||||
|
->rawColumns(['actions'])
|
||||||
|
->make(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function updateExercise(Request $request)
|
||||||
|
{
|
||||||
|
$exercise_id = $request->exercise_id;
|
||||||
|
$exercise = Exercise::find($exercise_id);
|
||||||
|
|
||||||
|
$image_name = '';
|
||||||
|
|
||||||
|
$validator = Validator::make($request->all(), [
|
||||||
|
'level_id' => 'required|integer',
|
||||||
|
'question' => 'required|string',
|
||||||
|
'image' => 'mimes:jpeg,jpg,png,gif',
|
||||||
|
'option_a' => 'required|string',
|
||||||
|
'option_b' => 'required|string',
|
||||||
|
'option_c' => 'required|string',
|
||||||
|
'option_d' => 'required|string',
|
||||||
|
'option_e' => 'required|string',
|
||||||
|
'answer_key' => 'required|string|max:5',
|
||||||
|
'weight' => 'required|integer',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($validator->fails()) {
|
||||||
|
return response()->json(['code' => 0, 'error' => $validator->errors()->toArray()]);
|
||||||
|
} else {
|
||||||
|
// Update Image
|
||||||
|
if ($request->hasFile('image')) {
|
||||||
|
$image = $request->file('image');
|
||||||
|
$image_name = $image->getClientOriginalName();
|
||||||
|
$image->storeAs('public/exercise_image', $image_name);
|
||||||
|
if ($exercise->image) {
|
||||||
|
Storage::delete('public/exercise_image/' . $exercise->image);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$image_name = $request->exercise_image;
|
||||||
|
}
|
||||||
|
|
||||||
|
//Update exercise
|
||||||
|
$exercise = Exercise::find($exercise_id);
|
||||||
|
$exercise->level_id = $request->level_id;
|
||||||
|
$exercise->question = $request->question;
|
||||||
|
$exercise->image = $image_name;
|
||||||
|
$exercise->option_a = $request->option_a;
|
||||||
|
$exercise->option_b = $request->option_b;
|
||||||
|
$exercise->option_c = $request->option_c;
|
||||||
|
$exercise->option_d = $request->option_d;
|
||||||
|
$exercise->option_e = $request->option_e;
|
||||||
|
$exercise->answer_key = $request->answer_key;
|
||||||
|
$exercise->weight = $request->weight;
|
||||||
|
$query = $exercise->save();
|
||||||
|
|
||||||
|
if (!$query) {
|
||||||
|
return response()->json(['code' => 0, 'msg' => 'Something went wrong']);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 1, 'msg' => 'Exercise has been successfully updated']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function deleteExercise(Request $request)
|
||||||
|
{
|
||||||
|
$id = $request->id;
|
||||||
|
$query = Exercise::find($id);
|
||||||
|
|
||||||
|
// Hapus Image
|
||||||
|
if (Storage::delete('public/exercise_image/' . $query->image)) {
|
||||||
|
Exercise::destroy($id);
|
||||||
|
}
|
||||||
|
|
||||||
|
$query->delete();
|
||||||
|
|
||||||
|
if(!$query){
|
||||||
|
return response()->json(['code'=>0, 'msg'=>'Something went wrong']);
|
||||||
|
}else{
|
||||||
|
return response()->json(['code'=>1, 'msg'=>'Exercise has been deleted from database']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
End of Exercise
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use App\Providers\RouteServiceProvider;
|
||||||
|
use Illuminate\Foundation\Auth\ConfirmsPasswords;
|
||||||
|
|
||||||
|
class ConfirmPasswordController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Confirm Password Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller is responsible for handling password confirmations and
|
||||||
|
| uses a simple trait to include the behavior. You're free to explore
|
||||||
|
| this trait and override any functions that require customization.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use ConfirmsPasswords;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where to redirect users when the intended url fails.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $redirectTo = RouteServiceProvider::HOME;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new controller instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('auth');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
|
||||||
|
|
||||||
|
class ForgotPasswordController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Reset Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller is responsible for handling password reset emails and
|
||||||
|
| includes a trait which assists in sending these notifications from
|
||||||
|
| your application to your users. Feel free to explore this trait.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use SendsPasswordResetEmails;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,77 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use App\Providers\RouteServiceProvider;
|
||||||
|
use Illuminate\Foundation\Auth\AuthenticatesUsers;
|
||||||
|
use Alert;
|
||||||
|
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class LoginController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Login Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller handles authenticating users for the application and
|
||||||
|
| redirecting them to your home screen. The controller uses a trait
|
||||||
|
| to conveniently provide its functionality to your applications.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use AuthenticatesUsers;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where to redirect users after login.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $redirectTo = RouteServiceProvider::HOME;
|
||||||
|
/*protected function redirectTo()
|
||||||
|
{
|
||||||
|
if (Auth()->user()->roles == 'admin') {
|
||||||
|
return route('admin.home');
|
||||||
|
} else if (Auth()->user()->roles == 'teacher'){
|
||||||
|
return route('teacher.home');
|
||||||
|
}else{
|
||||||
|
return route('student.home');
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
/**
|
||||||
|
* Create a new controller instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('guest')->except('logout');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function login(Request $request){
|
||||||
|
$input = $request->all();
|
||||||
|
$this->validate($request,[
|
||||||
|
'email' => 'required|email|exists:users,email',
|
||||||
|
'password' => 'required|min:8',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if(auth()->attempt(array('email'=>$input['email'], 'password'=>$input['password']))){
|
||||||
|
if(auth()->user()->roles == 'admin'){
|
||||||
|
Alert::success('Login Successfully!', 'Welcome to Admin Page!');
|
||||||
|
return redirect()->route('admin.home');
|
||||||
|
}else if(auth()->user()->roles == 'teacher'){
|
||||||
|
Alert::success('Login Successfully!', 'Welcome to Teacher Page!');
|
||||||
|
return redirect()->route('teacher.home');
|
||||||
|
}else{
|
||||||
|
Alert::success('Login Successfully!', 'Welcome to Student Page!');
|
||||||
|
return redirect()->route('student.home');
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
Alert::error('Oops! Login Failure.', 'Something went wrong!');
|
||||||
|
return redirect()->back();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,100 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use App\Providers\RouteServiceProvider;
|
||||||
|
use App\User;
|
||||||
|
use Illuminate\Foundation\Auth\RegistersUsers;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Hash;
|
||||||
|
use Illuminate\Support\Facades\Validator;
|
||||||
|
use Alert;
|
||||||
|
|
||||||
|
class RegisterController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Register Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller handles the registration of new users as well as their
|
||||||
|
| validation and creation. By default this controller uses a trait to
|
||||||
|
| provide this functionality without requiring any additional code.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use RegistersUsers;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where to redirect users after registration.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $redirectTo = RouteServiceProvider::HOME;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new controller instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('guest');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get a validator for an incoming registration request.
|
||||||
|
*
|
||||||
|
* @param array $data
|
||||||
|
* @return \Illuminate\Contracts\Validation\Validator
|
||||||
|
*/
|
||||||
|
protected function validator(array $data)
|
||||||
|
{
|
||||||
|
return Validator::make($data, [
|
||||||
|
'name' => ['required', 'string', 'max:255'],
|
||||||
|
'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],
|
||||||
|
'password' => ['required', 'string', 'min:8', 'confirmed'],
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new user instance after a valid registration.
|
||||||
|
*
|
||||||
|
* @param array $data
|
||||||
|
* @return \App\User
|
||||||
|
*/
|
||||||
|
// protected function create(array $data)
|
||||||
|
// {
|
||||||
|
// return User::create([
|
||||||
|
// 'name' => $data['name'],
|
||||||
|
// 'email' => $data['email'],
|
||||||
|
// 'role' => 'student',
|
||||||
|
// 'password' => Hash::make($data['password']),
|
||||||
|
// ]);
|
||||||
|
// }
|
||||||
|
|
||||||
|
public function register(Request $request)
|
||||||
|
{
|
||||||
|
$request->validate([
|
||||||
|
'name' => ['required', 'string', 'max:255'],
|
||||||
|
'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],
|
||||||
|
'password' => ['required', 'string', 'min:8', 'confirmed'],
|
||||||
|
]);
|
||||||
|
|
||||||
|
$user = new User();
|
||||||
|
$user->name = $request->name;
|
||||||
|
$user->email = $request->email;
|
||||||
|
$user->roles = "student";
|
||||||
|
$user->password = Hash::make($request->password);
|
||||||
|
|
||||||
|
if ($user->save()) {
|
||||||
|
Alert::success('Registration Successfully!', 'You can login with your account now.');
|
||||||
|
return redirect()->back();
|
||||||
|
} else {
|
||||||
|
Alert::error('Oops! Registration Failure.', 'Something went wrong!');
|
||||||
|
return redirect()->back();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use App\Providers\RouteServiceProvider;
|
||||||
|
use Illuminate\Foundation\Auth\ResetsPasswords;
|
||||||
|
|
||||||
|
class ResetPasswordController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Reset Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller is responsible for handling password reset requests
|
||||||
|
| and uses a simple trait to include this behavior. You're free to
|
||||||
|
| explore this trait and override any methods you wish to tweak.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use ResetsPasswords;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where to redirect users after resetting their password.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $redirectTo = RouteServiceProvider::HOME;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,42 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use App\Providers\RouteServiceProvider;
|
||||||
|
use Illuminate\Foundation\Auth\VerifiesEmails;
|
||||||
|
|
||||||
|
class VerificationController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Email Verification Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller is responsible for handling email verification for any
|
||||||
|
| user that recently registered with the application. Emails may also
|
||||||
|
| be re-sent if the user didn't receive the original email message.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use VerifiesEmails;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where to redirect users after verification.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $redirectTo = RouteServiceProvider::HOME;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new controller instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('auth');
|
||||||
|
$this->middleware('signed')->only('verify');
|
||||||
|
$this->middleware('throttle:6,1')->only('verify', 'resend');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
||||||
|
use Illuminate\Foundation\Bus\DispatchesJobs;
|
||||||
|
use Illuminate\Foundation\Validation\ValidatesRequests;
|
||||||
|
use Illuminate\Routing\Controller as BaseController;
|
||||||
|
|
||||||
|
class Controller extends BaseController
|
||||||
|
{
|
||||||
|
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class HomeController extends Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Create a new controller instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('auth');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the application dashboard.
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Contracts\Support\Renderable
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
return view('home');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,147 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Exercise;
|
||||||
|
use App\Subject;
|
||||||
|
use App\Level;
|
||||||
|
use App\Topic;
|
||||||
|
use App\StdExercise;
|
||||||
|
use App\StdLearning;
|
||||||
|
use App\ViewScoreRoute;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Validator;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
use Illuminate\Support\Carbon;
|
||||||
|
|
||||||
|
class StudentController extends Controller
|
||||||
|
{
|
||||||
|
public function index(){
|
||||||
|
$subjects = Subject::all('id', 'name', 'description', 'icon', 'thumbnail');
|
||||||
|
return view('student.index', compact('subjects'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function subject(Request $request){
|
||||||
|
$topics = Topic::where('subject_id', '=', $request->id)->with('subject')->get();
|
||||||
|
$subject_name = Subject::where('id', '=', $request->id)->pluck('name')->first();
|
||||||
|
return view('student.topic', compact('topics', 'subject_name'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function level_list(Request $request){
|
||||||
|
$level_list = Level::where('topic_id', '=', $request->tpc_id)
|
||||||
|
->with('stdlearningStudent', 'topic')
|
||||||
|
->get();
|
||||||
|
|
||||||
|
$subjects = Topic::where('id', '=', $request->tpc_id)->with('subject')->first();
|
||||||
|
$subjectName = $subjects->subject->name;
|
||||||
|
|
||||||
|
$topicName = Topic::where('id', '=', $request->tpc_id)->pluck('title')->first();
|
||||||
|
// return response()->json(['levels' => $level_list]);
|
||||||
|
|
||||||
|
// get latest level using join
|
||||||
|
$current_level = StdLearning::join('m_levels', 'm_levels.id', '=', 'm_std_learnings.level_id')
|
||||||
|
->join('m_topics', 'm_topics.id', '=', 'm_levels.topic_id')
|
||||||
|
->where('m_std_learnings.user_id', '=', Auth::user()->id)
|
||||||
|
->orderBy('m_std_learnings.ts_start', 'desc')
|
||||||
|
->first();
|
||||||
|
|
||||||
|
if($current_level == null){
|
||||||
|
$current_level = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// return response()->json(['current_level' => $current_level]);
|
||||||
|
return view('student.level_list', compact('level_list', 'current_level', 'topicName', 'subjectName'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function level($std_id, $id){
|
||||||
|
$stdlrn = StdLearning::find($std_id);
|
||||||
|
$levels = Level::where('id', '=', $id)
|
||||||
|
->get();
|
||||||
|
return view('student.level', compact('levels', 'stdlrn'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function exercise($std_id, $id){
|
||||||
|
$stdlrn = StdLearning::find($std_id);
|
||||||
|
$exercises = Exercise::where('level_id', '=', $id)->get();
|
||||||
|
return view('student.exercise', compact('exercises', 'stdlrn'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function stdTakeExercise(Request $request){
|
||||||
|
$stdlrn = StdLearning::find($request->stdlrn_id);
|
||||||
|
$stdlrn->ts_exercise = Carbon::now()->format('Y/m/d H:i:s');
|
||||||
|
$stdlrn->update();
|
||||||
|
|
||||||
|
if (!$stdlrn) {
|
||||||
|
return response()->json(['code' => 0]);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function stdStart(Request $request){
|
||||||
|
$stdlrn = new StdLearning();
|
||||||
|
$stdlrn->user_id = Auth::user()->id;
|
||||||
|
$stdlrn->level_id = $request->level_id;
|
||||||
|
$stdlrn->ts_start = Carbon::now()->format('Y/m/d H:i:s');
|
||||||
|
$stdlrn->save();
|
||||||
|
|
||||||
|
if (!$stdlrn) {
|
||||||
|
return response()->json(['code' => 0]);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 1, 'stdlrn' => $stdlrn]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function exerciseAnswer($exercise_id){
|
||||||
|
$answer = Exercise::where('id',$exercise_id)->first();
|
||||||
|
return $answer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function submitAnswer(Request $request)
|
||||||
|
{
|
||||||
|
$stdlrn = StdLearning::find($request->stdlrn_id);
|
||||||
|
|
||||||
|
// Insert Std Exercise
|
||||||
|
$answers = array_values($request->soal);
|
||||||
|
$questions = array_keys($request->soal);
|
||||||
|
$i=0;
|
||||||
|
$total_score = 0;
|
||||||
|
foreach ($request->soal as $soal) {
|
||||||
|
$stdexr = new StdExercise();
|
||||||
|
$stdexr->std_learning_id = $request->stdlrn_id;
|
||||||
|
$stdexr->exercise_id = $questions[$i];
|
||||||
|
$stdexr->answer = $answers[$i];
|
||||||
|
|
||||||
|
$answer = $this->exerciseAnswer($questions[$i]);
|
||||||
|
|
||||||
|
if($answer->answer_key == $answers[$i]){
|
||||||
|
$stdexr->is_correct = 1;
|
||||||
|
$stdexr->score = $answer->weight;
|
||||||
|
$total_score += $answer->weight;
|
||||||
|
}else{
|
||||||
|
$stdexr->is_correct = 0;
|
||||||
|
$stdexr->score = 0;
|
||||||
|
}
|
||||||
|
$query = $stdexr->save();
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
|
|
||||||
|
$score_result = ViewScoreRoute::where('std_learning_id', '=', $stdlrn->id)->first();
|
||||||
|
$stdlrn->score = $score_result->score_exercise;
|
||||||
|
$stdlrn->comment = $request->comment;
|
||||||
|
$stdlrn->update();
|
||||||
|
|
||||||
|
|
||||||
|
$next_learn = ViewScoreRoute::where('std_learning_id', '=', $stdlrn->id)->first();
|
||||||
|
$stdlrn->next_learning = $next_learn->ROUTE;
|
||||||
|
$stdlrn->update();
|
||||||
|
|
||||||
|
|
||||||
|
if (!$query) {
|
||||||
|
return response()->json(['code' => 0]);
|
||||||
|
} else {
|
||||||
|
return response()->json(['code' => 1, 'next_learn' => $next_learn]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class TeacherController extends Controller
|
||||||
|
{
|
||||||
|
public function index(){
|
||||||
|
return view('teacher.index');
|
||||||
|
}
|
||||||
|
}
|
||||||
86
adaptive-english-lesson-main/app/Http/Kernel.php
Normal file
86
adaptive-english-lesson-main/app/Http/Kernel.php
Normal file
|
|
@ -0,0 +1,86 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Kernel as HttpKernel;
|
||||||
|
|
||||||
|
class Kernel extends HttpKernel
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The application's global HTTP middleware stack.
|
||||||
|
*
|
||||||
|
* These middleware are run during every request to your application.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $middleware = [
|
||||||
|
\App\Http\Middleware\TrustProxies::class,
|
||||||
|
\App\Http\Middleware\CheckForMaintenanceMode::class,
|
||||||
|
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
|
||||||
|
\App\Http\Middleware\TrimStrings::class,
|
||||||
|
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The application's route middleware groups.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $middlewareGroups = [
|
||||||
|
'web' => [
|
||||||
|
\App\Http\Middleware\EncryptCookies::class,
|
||||||
|
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||||
|
\Illuminate\Session\Middleware\StartSession::class,
|
||||||
|
// \Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||||
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||||
|
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||||
|
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
'api' => [
|
||||||
|
'throttle:60,1',
|
||||||
|
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The application's route middleware.
|
||||||
|
*
|
||||||
|
* These middleware may be assigned to groups or used individually.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $routeMiddleware = [
|
||||||
|
'auth' => \App\Http\Middleware\Authenticate::class,
|
||||||
|
'admin' => \App\Http\Middleware\AdminMiddleware::class,
|
||||||
|
'student' => \App\Http\Middleware\StudentMiddleware::class,
|
||||||
|
'teacher' => \App\Http\Middleware\TeacherMiddleware::class,
|
||||||
|
'pvb' => \App\Http\Middleware\PreventBackHistory::class,
|
||||||
|
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
|
||||||
|
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
|
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
|
||||||
|
'can' => \Illuminate\Auth\Middleware\Authorize::class,
|
||||||
|
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
|
||||||
|
'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
|
||||||
|
'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
|
||||||
|
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
|
||||||
|
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The priority-sorted list of middleware.
|
||||||
|
*
|
||||||
|
* This forces non-global middleware to always be in the given order.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $middlewarePriority = [
|
||||||
|
\Illuminate\Session\Middleware\StartSession::class,
|
||||||
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||||
|
\App\Http\Middleware\Authenticate::class,
|
||||||
|
\Illuminate\Routing\Middleware\ThrottleRequests::class,
|
||||||
|
\Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||||
|
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
|
\Illuminate\Auth\Middleware\Authorize::class,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Closure;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
|
||||||
|
class AdminMiddleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Handle an incoming request.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param \Closure $next
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function handle($request, Closure $next)
|
||||||
|
{
|
||||||
|
if (Auth::check() && Auth::user()->roles == 'admin') {
|
||||||
|
return $next($request);
|
||||||
|
}else{
|
||||||
|
return redirect()->route('login');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Auth\Middleware\Authenticate as Middleware;
|
||||||
|
|
||||||
|
class Authenticate extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Get the path the user should be redirected to when they are not authenticated.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @return string|null
|
||||||
|
*/
|
||||||
|
protected function redirectTo($request)
|
||||||
|
{
|
||||||
|
if (! $request->expectsJson()) {
|
||||||
|
return route('login');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode as Middleware;
|
||||||
|
|
||||||
|
class CheckForMaintenanceMode extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The URIs that should be reachable while maintenance mode is enabled.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
|
||||||
|
|
||||||
|
class EncryptCookies extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The names of the cookies that should not be encrypted.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Closure;
|
||||||
|
|
||||||
|
class PreventBackHistory
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Handle an incoming request.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param \Closure $next
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function handle($request, Closure $next)
|
||||||
|
{
|
||||||
|
$response = $next($request);
|
||||||
|
return $response
|
||||||
|
->header('Cache-Control', 'nocache, no-store, max-age=0, must-revalidate')
|
||||||
|
->header('Pragma', 'no-cache')
|
||||||
|
->header('Expires', 'Sun, 02 Jan 1990 00:00:00 GMT');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use App\Providers\RouteServiceProvider;
|
||||||
|
use Closure;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
|
||||||
|
class RedirectIfAuthenticated
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Handle an incoming request.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param \Closure $next
|
||||||
|
* @param string|null $guard
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function handle($request, Closure $next, $guard = null)
|
||||||
|
{
|
||||||
|
$guards = empty($guards) ? [null] : $guards;
|
||||||
|
|
||||||
|
foreach ($guards as $guard) {
|
||||||
|
if (Auth::guard($guard)->check() && Auth::user()->roles == "admin") {
|
||||||
|
return redirect()->route('admin.home');
|
||||||
|
}elseif (Auth::guard($guard)->check() && Auth::user()->roles == "teacher") {
|
||||||
|
return redirect()->route('teacher.home');
|
||||||
|
}
|
||||||
|
elseif (Auth::guard($guard)->check() && Auth::user()->roles == "student") {
|
||||||
|
return redirect()->route('student.home');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $next($request);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Closure;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
|
||||||
|
class StudentMiddleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Handle an incoming request.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param \Closure $next
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function handle($request, Closure $next)
|
||||||
|
{
|
||||||
|
if (Auth::check() && Auth::user()->roles == 'student') {
|
||||||
|
return $next($request);
|
||||||
|
}else{
|
||||||
|
return redirect()->route('login');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Closure;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
|
||||||
|
class TeacherMiddleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Handle an incoming request.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param \Closure $next
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function handle($request, Closure $next)
|
||||||
|
{
|
||||||
|
if (Auth::check() && Auth::user()->roles == 'teacher') {
|
||||||
|
return $next($request);
|
||||||
|
}else{
|
||||||
|
return redirect()->route('login');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
|
||||||
|
|
||||||
|
class TrimStrings extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The names of the attributes that should not be trimmed.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
'password',
|
||||||
|
'password_confirmation',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Fideloper\Proxy\TrustProxies as Middleware;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class TrustProxies extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The trusted proxies for this application.
|
||||||
|
*
|
||||||
|
* @var array|string
|
||||||
|
*/
|
||||||
|
protected $proxies;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The headers that should be used to detect proxies.
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $headers = Request::HEADER_X_FORWARDED_ALL;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
|
||||||
|
|
||||||
|
class VerifyCsrfToken extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
protected $addHttpCookie = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The URIs that should be excluded from CSRF verification.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
}
|
||||||
60
adaptive-english-lesson-main/app/Level.php
Normal file
60
adaptive-english-lesson-main/app/Level.php
Normal file
|
|
@ -0,0 +1,60 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
|
||||||
|
class Level extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'm_levels';
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'title',
|
||||||
|
'subject_id',
|
||||||
|
'topic_id',
|
||||||
|
'is_pretest',
|
||||||
|
'is_termination',
|
||||||
|
'content',
|
||||||
|
'video',
|
||||||
|
'audio',
|
||||||
|
'image',
|
||||||
|
'youtube',
|
||||||
|
'route1',
|
||||||
|
'route2',
|
||||||
|
'route3',
|
||||||
|
'route4',
|
||||||
|
];
|
||||||
|
|
||||||
|
protected $dates = [
|
||||||
|
'ts_entri',
|
||||||
|
];
|
||||||
|
|
||||||
|
public function exercise()
|
||||||
|
{
|
||||||
|
return $this->hasMany(Exercise::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function subject()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Subject::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function topic()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Topic::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function stdlearnings(){
|
||||||
|
return $this->hasMany(StdLearning::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function stdlearningStudent()
|
||||||
|
{
|
||||||
|
return $this->hasMany(StdLearning::class,'level_id')->where('user_id', '=', Auth::user()->id)->orderBy('ts_exercise', 'DESC');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
|
class AppServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Register any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function register()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bootstrap any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
|
||||||
|
use Illuminate\Support\Facades\Gate;
|
||||||
|
|
||||||
|
class AuthServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The policy mappings for the application.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $policies = [
|
||||||
|
// 'App\Model' => 'App\Policies\ModelPolicy',
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register any authentication / authorization services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
$this->registerPolicies();
|
||||||
|
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Broadcast;
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
|
class BroadcastServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Bootstrap any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
Broadcast::routes();
|
||||||
|
|
||||||
|
require base_path('routes/channels.php');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Auth\Events\Registered;
|
||||||
|
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
|
||||||
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||||
|
use Illuminate\Support\Facades\Event;
|
||||||
|
|
||||||
|
class EventServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The event listener mappings for the application.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $listen = [
|
||||||
|
Registered::class => [
|
||||||
|
SendEmailVerificationNotification::class,
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register any events for your application.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
parent::boot();
|
||||||
|
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,80 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
|
||||||
|
class RouteServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This namespace is applied to your controller routes.
|
||||||
|
*
|
||||||
|
* In addition, it is set as the URL generator's root namespace.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $namespace = 'App\Http\Controllers';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The path to the "home" route for your application.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
public const HOME = '/home';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define your route model bindings, pattern filters, etc.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
|
||||||
|
parent::boot();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the routes for the application.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function map()
|
||||||
|
{
|
||||||
|
$this->mapApiRoutes();
|
||||||
|
|
||||||
|
$this->mapWebRoutes();
|
||||||
|
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the "web" routes for the application.
|
||||||
|
*
|
||||||
|
* These routes all receive session state, CSRF protection, etc.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function mapWebRoutes()
|
||||||
|
{
|
||||||
|
Route::middleware('web')
|
||||||
|
->namespace($this->namespace)
|
||||||
|
->group(base_path('routes/web.php'));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the "api" routes for the application.
|
||||||
|
*
|
||||||
|
* These routes are typically stateless.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function mapApiRoutes()
|
||||||
|
{
|
||||||
|
Route::prefix('api')
|
||||||
|
->middleware('api')
|
||||||
|
->namespace($this->namespace)
|
||||||
|
->group(base_path('routes/api.php'));
|
||||||
|
}
|
||||||
|
}
|
||||||
38
adaptive-english-lesson-main/app/StdExercise.php
Normal file
38
adaptive-english-lesson-main/app/StdExercise.php
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class StdExercise extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'm_std_exercises';
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'std_learning_id',
|
||||||
|
'exercise_id',
|
||||||
|
'answer',
|
||||||
|
'is_correct',
|
||||||
|
'score',
|
||||||
|
];
|
||||||
|
|
||||||
|
protected $dates = [
|
||||||
|
'ts_entri',
|
||||||
|
];
|
||||||
|
|
||||||
|
public function stdlearning()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(StdLearning::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function user()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(User::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function exercise()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Exercise::class);
|
||||||
|
}
|
||||||
|
}
|
||||||
42
adaptive-english-lesson-main/app/StdLearning.php
Normal file
42
adaptive-english-lesson-main/app/StdLearning.php
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class StdLearning extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'm_std_learnings';
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'user_id',
|
||||||
|
'level_id',
|
||||||
|
'ts_start',
|
||||||
|
'is_validated',
|
||||||
|
'ts_exercise',
|
||||||
|
'score',
|
||||||
|
'next_learning',
|
||||||
|
'comment',
|
||||||
|
'is_termination',
|
||||||
|
];
|
||||||
|
|
||||||
|
protected $dates = [
|
||||||
|
'ts_entri',
|
||||||
|
];
|
||||||
|
|
||||||
|
public function stdexercises()
|
||||||
|
{
|
||||||
|
return $this->hasMany(StdExercise::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function user()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(User::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function level()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Level::class);
|
||||||
|
}
|
||||||
|
}
|
||||||
43
adaptive-english-lesson-main/app/Subject.php
Normal file
43
adaptive-english-lesson-main/app/Subject.php
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Subject extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'm_subjects';
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'name',
|
||||||
|
'description',
|
||||||
|
'icon',
|
||||||
|
'thumbnail',
|
||||||
|
];
|
||||||
|
|
||||||
|
protected $dates = [
|
||||||
|
'ts_entri',
|
||||||
|
];
|
||||||
|
|
||||||
|
public function levels()
|
||||||
|
{
|
||||||
|
return $this->hasMany(Level::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function viewlevel()
|
||||||
|
{
|
||||||
|
return $this->hasMany(ViewLevelRoute::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function topics()
|
||||||
|
{
|
||||||
|
return $this->hasMany(Topic::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function subjects()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Subject::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
43
adaptive-english-lesson-main/app/Topic.php
Normal file
43
adaptive-english-lesson-main/app/Topic.php
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Topic extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'm_topics';
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'subject_id',
|
||||||
|
'title',
|
||||||
|
];
|
||||||
|
|
||||||
|
protected $dates = [
|
||||||
|
'ts_entri',
|
||||||
|
];
|
||||||
|
|
||||||
|
public function subject()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Subject::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function topics()
|
||||||
|
{
|
||||||
|
return $this->hasMany(Topic::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function viewlevel()
|
||||||
|
{
|
||||||
|
return $this->hasMany(ViewLevelRoute::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function level()
|
||||||
|
{
|
||||||
|
return $this->hasMany(Level::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
49
adaptive-english-lesson-main/app/User.php
Normal file
49
adaptive-english-lesson-main/app/User.php
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Contracts\Auth\MustVerifyEmail;
|
||||||
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||||
|
use Illuminate\Notifications\Notifiable;
|
||||||
|
|
||||||
|
class User extends Authenticatable
|
||||||
|
{
|
||||||
|
use Notifiable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that are mass assignable.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $fillable = [
|
||||||
|
'name', 'email', 'password', 'role'
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that should be hidden for arrays.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $hidden = [
|
||||||
|
'password', 'remember_token',
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that should be cast to native types.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $casts = [
|
||||||
|
'email_verified_at' => 'datetime',
|
||||||
|
];
|
||||||
|
|
||||||
|
public function stdexercises()
|
||||||
|
{
|
||||||
|
return $this->hasMany(StdExercise::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function stdlearnings()
|
||||||
|
{
|
||||||
|
return $this->hasMany(StdLearning::class);
|
||||||
|
}
|
||||||
|
}
|
||||||
33
adaptive-english-lesson-main/app/ViewLevelRoute.php
Normal file
33
adaptive-english-lesson-main/app/ViewLevelRoute.php
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class ViewLevelRoute extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'v_level_title';
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
public function exercise()
|
||||||
|
{
|
||||||
|
return $this->hasMany(Exercise::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function subject()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Subject::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function topic()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Topic::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function stdlearnings()
|
||||||
|
{
|
||||||
|
return $this->hasMany(StdLearning::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
18
adaptive-english-lesson-main/app/ViewScoreRoute.php
Normal file
18
adaptive-english-lesson-main/app/ViewScoreRoute.php
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class ViewScoreRoute extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'v_std_exercises_route';
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'std_learning_id',
|
||||||
|
'score_exercise',
|
||||||
|
'level_id',
|
||||||
|
'ROUTE',
|
||||||
|
];
|
||||||
|
}
|
||||||
53
adaptive-english-lesson-main/artisan
Normal file
53
adaptive-english-lesson-main/artisan
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
#!/usr/bin/env php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
define('LARAVEL_START', microtime(true));
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Register The Auto Loader
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Composer provides a convenient, automatically generated class loader
|
||||||
|
| for our application. We just need to utilize it! We'll require it
|
||||||
|
| into the script here so that we do not have to worry about the
|
||||||
|
| loading of any our classes "manually". Feels great to relax.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
require __DIR__.'/vendor/autoload.php';
|
||||||
|
|
||||||
|
$app = require_once __DIR__.'/bootstrap/app.php';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Run The Artisan Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When we run the console application, the current CLI command will be
|
||||||
|
| executed in this console and the response sent back to a terminal
|
||||||
|
| or another output device for the developers. Here goes nothing!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
||||||
|
|
||||||
|
$status = $kernel->handle(
|
||||||
|
$input = new Symfony\Component\Console\Input\ArgvInput,
|
||||||
|
new Symfony\Component\Console\Output\ConsoleOutput
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Shutdown The Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Once Artisan has finished running, we will fire off the shutdown events
|
||||||
|
| so that any final work may be done by the application before we shut
|
||||||
|
| down the process. This is the last thing to happen to the request.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$kernel->terminate($input, $status);
|
||||||
|
|
||||||
|
exit($status);
|
||||||
55
adaptive-english-lesson-main/bootstrap/app.php
Normal file
55
adaptive-english-lesson-main/bootstrap/app.php
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Create The Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The first thing we will do is create a new Laravel application instance
|
||||||
|
| which serves as the "glue" for all the components of Laravel, and is
|
||||||
|
| the IoC container for the system binding all of the various parts.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$app = new Illuminate\Foundation\Application(
|
||||||
|
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Bind Important Interfaces
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Next, we need to bind some important interfaces into the container so
|
||||||
|
| we will be able to resolve them when needed. The kernels serve the
|
||||||
|
| incoming requests to this application from both the web and CLI.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$app->singleton(
|
||||||
|
Illuminate\Contracts\Http\Kernel::class,
|
||||||
|
App\Http\Kernel::class
|
||||||
|
);
|
||||||
|
|
||||||
|
$app->singleton(
|
||||||
|
Illuminate\Contracts\Console\Kernel::class,
|
||||||
|
App\Console\Kernel::class
|
||||||
|
);
|
||||||
|
|
||||||
|
$app->singleton(
|
||||||
|
Illuminate\Contracts\Debug\ExceptionHandler::class,
|
||||||
|
App\Exceptions\Handler::class
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Return The Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This script returns the application instance. The instance is given to
|
||||||
|
| the calling script so we can separate the building of the instances
|
||||||
|
| from the actual running of the application and sending responses.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
return $app;
|
||||||
2
adaptive-english-lesson-main/bootstrap/cache/.gitignore
vendored
Normal file
2
adaptive-english-lesson-main/bootstrap/cache/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
||||||
64
adaptive-english-lesson-main/composer.json
Normal file
64
adaptive-english-lesson-main/composer.json
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
{
|
||||||
|
"name": "laravel/laravel",
|
||||||
|
"type": "project",
|
||||||
|
"description": "The Laravel Framework.",
|
||||||
|
"keywords": [
|
||||||
|
"framework",
|
||||||
|
"laravel"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"require": {
|
||||||
|
"php": "^7.2.5|^8.0",
|
||||||
|
"fideloper/proxy": "^4.4",
|
||||||
|
"laravel/framework": "^6.20.26",
|
||||||
|
"laravel/tinker": "^2.5",
|
||||||
|
"laravel/ui": "*",
|
||||||
|
"realrashid/sweet-alert": "^5.1",
|
||||||
|
"yajra/laravel-datatables-oracle": "^9.21"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"facade/ignition": "^1.16.15",
|
||||||
|
"fakerphp/faker": "^1.9.1",
|
||||||
|
"mockery/mockery": "^1.0",
|
||||||
|
"nunomaduro/collision": "^3.0",
|
||||||
|
"phpunit/phpunit": "^8.5.8|^9.3.3"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"optimize-autoloader": true,
|
||||||
|
"preferred-install": "dist",
|
||||||
|
"sort-packages": true
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"dont-discover": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"App\\": "app/"
|
||||||
|
},
|
||||||
|
"classmap": [
|
||||||
|
"database/seeds",
|
||||||
|
"database/factories"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-4": {
|
||||||
|
"Tests\\": "tests/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true,
|
||||||
|
"scripts": {
|
||||||
|
"post-autoload-dump": [
|
||||||
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||||||
|
"@php artisan package:discover --ansi"
|
||||||
|
],
|
||||||
|
"post-root-package-install": [
|
||||||
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||||
|
],
|
||||||
|
"post-create-project-cmd": [
|
||||||
|
"@php artisan key:generate --ansi"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
6795
adaptive-english-lesson-main/composer.lock
generated
Normal file
6795
adaptive-english-lesson-main/composer.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
233
adaptive-english-lesson-main/config/app.php
Normal file
233
adaptive-english-lesson-main/config/app.php
Normal file
|
|
@ -0,0 +1,233 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This value is the name of your application. This value is used when the
|
||||||
|
| framework needs to place the application's name in a notification or
|
||||||
|
| any other location as required by the application or its packages.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'name' => env('APP_NAME', 'Laravel'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Environment
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This value determines the "environment" your application is currently
|
||||||
|
| running in. This may determine how you prefer to configure various
|
||||||
|
| services the application utilizes. Set this in your ".env" file.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'env' => env('APP_ENV', 'production'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Debug Mode
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When your application is in debug mode, detailed error messages with
|
||||||
|
| stack traces will be shown on every error that occurs within your
|
||||||
|
| application. If disabled, a simple generic error page is shown.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'debug' => (bool) env('APP_DEBUG', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application URL
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This URL is used by the console to properly generate URLs when using
|
||||||
|
| the Artisan command line tool. You should set this to the root of
|
||||||
|
| your application so that it is used when running Artisan tasks.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'url' => env('APP_URL', 'http://localhost'),
|
||||||
|
|
||||||
|
'asset_url' => env('ASSET_URL', null),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Timezone
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the default timezone for your application, which
|
||||||
|
| will be used by the PHP date and date-time functions. We have gone
|
||||||
|
| ahead and set this to a sensible default for you out of the box.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'timezone' => 'Asia/Jakarta',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Locale Configuration
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The application locale determines the default locale that will be used
|
||||||
|
| by the translation service provider. You are free to set this value
|
||||||
|
| to any of the locales which will be supported by the application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'locale' => 'en',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Fallback Locale
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The fallback locale determines the locale to use when the current one
|
||||||
|
| is not available. You may change the value to correspond to any of
|
||||||
|
| the language folders that are provided through your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'fallback_locale' => 'en',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Faker Locale
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This locale will be used by the Faker PHP library when generating fake
|
||||||
|
| data for your database seeds. For example, this will be used to get
|
||||||
|
| localized telephone numbers, street address information and more.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'faker_locale' => 'en_US',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Encryption Key
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This key is used by the Illuminate encrypter service and should be set
|
||||||
|
| to a random, 32 character string, otherwise these encrypted strings
|
||||||
|
| will not be safe. Please do this before deploying an application!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'key' => env('APP_KEY'),
|
||||||
|
|
||||||
|
'cipher' => 'AES-256-CBC',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Autoloaded Service Providers
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The service providers listed here will be automatically loaded on the
|
||||||
|
| request to your application. Feel free to add your own services to
|
||||||
|
| this array to grant expanded functionality to your applications.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'providers' => [
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Laravel Framework Service Providers...
|
||||||
|
*/
|
||||||
|
Illuminate\Auth\AuthServiceProvider::class,
|
||||||
|
Illuminate\Broadcasting\BroadcastServiceProvider::class,
|
||||||
|
Illuminate\Bus\BusServiceProvider::class,
|
||||||
|
Illuminate\Cache\CacheServiceProvider::class,
|
||||||
|
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
|
||||||
|
Illuminate\Cookie\CookieServiceProvider::class,
|
||||||
|
Illuminate\Database\DatabaseServiceProvider::class,
|
||||||
|
Illuminate\Encryption\EncryptionServiceProvider::class,
|
||||||
|
Illuminate\Filesystem\FilesystemServiceProvider::class,
|
||||||
|
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
|
||||||
|
Illuminate\Hashing\HashServiceProvider::class,
|
||||||
|
Illuminate\Mail\MailServiceProvider::class,
|
||||||
|
Illuminate\Notifications\NotificationServiceProvider::class,
|
||||||
|
Illuminate\Pagination\PaginationServiceProvider::class,
|
||||||
|
Illuminate\Pipeline\PipelineServiceProvider::class,
|
||||||
|
Illuminate\Queue\QueueServiceProvider::class,
|
||||||
|
Illuminate\Redis\RedisServiceProvider::class,
|
||||||
|
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
|
||||||
|
Illuminate\Session\SessionServiceProvider::class,
|
||||||
|
Illuminate\Translation\TranslationServiceProvider::class,
|
||||||
|
Illuminate\Validation\ValidationServiceProvider::class,
|
||||||
|
Illuminate\View\ViewServiceProvider::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Package Service Providers...
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Application Service Providers...
|
||||||
|
*/
|
||||||
|
App\Providers\AppServiceProvider::class,
|
||||||
|
App\Providers\AuthServiceProvider::class,
|
||||||
|
// App\Providers\BroadcastServiceProvider::class,
|
||||||
|
App\Providers\EventServiceProvider::class,
|
||||||
|
App\Providers\RouteServiceProvider::class,
|
||||||
|
Yajra\DataTables\DataTablesServiceProvider::class
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Class Aliases
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This array of class aliases will be registered when this application
|
||||||
|
| is started. However, feel free to register as many as you wish as
|
||||||
|
| the aliases are "lazy" loaded so they don't hinder performance.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'aliases' => [
|
||||||
|
|
||||||
|
'App' => Illuminate\Support\Facades\App::class,
|
||||||
|
'Arr' => Illuminate\Support\Arr::class,
|
||||||
|
'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
||||||
|
'Auth' => Illuminate\Support\Facades\Auth::class,
|
||||||
|
'Blade' => Illuminate\Support\Facades\Blade::class,
|
||||||
|
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
|
||||||
|
'Bus' => Illuminate\Support\Facades\Bus::class,
|
||||||
|
'Cache' => Illuminate\Support\Facades\Cache::class,
|
||||||
|
'Config' => Illuminate\Support\Facades\Config::class,
|
||||||
|
'Cookie' => Illuminate\Support\Facades\Cookie::class,
|
||||||
|
'Crypt' => Illuminate\Support\Facades\Crypt::class,
|
||||||
|
'DB' => Illuminate\Support\Facades\DB::class,
|
||||||
|
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
|
||||||
|
'Event' => Illuminate\Support\Facades\Event::class,
|
||||||
|
'File' => Illuminate\Support\Facades\File::class,
|
||||||
|
'Gate' => Illuminate\Support\Facades\Gate::class,
|
||||||
|
'Hash' => Illuminate\Support\Facades\Hash::class,
|
||||||
|
'Lang' => Illuminate\Support\Facades\Lang::class,
|
||||||
|
'Log' => Illuminate\Support\Facades\Log::class,
|
||||||
|
'Mail' => Illuminate\Support\Facades\Mail::class,
|
||||||
|
'Notification' => Illuminate\Support\Facades\Notification::class,
|
||||||
|
'Password' => Illuminate\Support\Facades\Password::class,
|
||||||
|
'Queue' => Illuminate\Support\Facades\Queue::class,
|
||||||
|
'Redirect' => Illuminate\Support\Facades\Redirect::class,
|
||||||
|
'Redis' => Illuminate\Support\Facades\Redis::class,
|
||||||
|
'Request' => Illuminate\Support\Facades\Request::class,
|
||||||
|
'Response' => Illuminate\Support\Facades\Response::class,
|
||||||
|
'Route' => Illuminate\Support\Facades\Route::class,
|
||||||
|
'Schema' => Illuminate\Support\Facades\Schema::class,
|
||||||
|
'Session' => Illuminate\Support\Facades\Session::class,
|
||||||
|
'Storage' => Illuminate\Support\Facades\Storage::class,
|
||||||
|
'Str' => Illuminate\Support\Str::class,
|
||||||
|
'URL' => Illuminate\Support\Facades\URL::class,
|
||||||
|
'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||||
|
'View' => Illuminate\Support\Facades\View::class,
|
||||||
|
'DataTables' => Yajra\DataTables\Facades\DataTables::class,
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
117
adaptive-english-lesson-main/config/auth.php
Normal file
117
adaptive-english-lesson-main/config/auth.php
Normal file
|
|
@ -0,0 +1,117 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Authentication Defaults
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default authentication "guard" and password
|
||||||
|
| reset options for your application. You may change these defaults
|
||||||
|
| as required, but they're a perfect start for most applications.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'defaults' => [
|
||||||
|
'guard' => 'web',
|
||||||
|
'passwords' => 'users',
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Authentication Guards
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Next, you may define every authentication guard for your application.
|
||||||
|
| Of course, a great default configuration has been defined for you
|
||||||
|
| here which uses session storage and the Eloquent user provider.
|
||||||
|
|
|
||||||
|
| All authentication drivers have a user provider. This defines how the
|
||||||
|
| users are actually retrieved out of your database or other storage
|
||||||
|
| mechanisms used by this application to persist your user's data.
|
||||||
|
|
|
||||||
|
| Supported: "session", "token"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'guards' => [
|
||||||
|
'web' => [
|
||||||
|
'driver' => 'session',
|
||||||
|
'provider' => 'users',
|
||||||
|
],
|
||||||
|
|
||||||
|
'api' => [
|
||||||
|
'driver' => 'token',
|
||||||
|
'provider' => 'users',
|
||||||
|
'hash' => false,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| User Providers
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| All authentication drivers have a user provider. This defines how the
|
||||||
|
| users are actually retrieved out of your database or other storage
|
||||||
|
| mechanisms used by this application to persist your user's data.
|
||||||
|
|
|
||||||
|
| If you have multiple user tables or models you may configure multiple
|
||||||
|
| sources which represent each model / table. These sources may then
|
||||||
|
| be assigned to any extra authentication guards you have defined.
|
||||||
|
|
|
||||||
|
| Supported: "database", "eloquent"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'providers' => [
|
||||||
|
'users' => [
|
||||||
|
'driver' => 'eloquent',
|
||||||
|
'model' => App\User::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
// 'users' => [
|
||||||
|
// 'driver' => 'database',
|
||||||
|
// 'table' => 'users',
|
||||||
|
// ],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Resetting Passwords
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| You may specify multiple password reset configurations if you have more
|
||||||
|
| than one user table or model in the application and you want to have
|
||||||
|
| separate password reset settings based on the specific user types.
|
||||||
|
|
|
||||||
|
| The expire time is the number of minutes that the reset token should be
|
||||||
|
| considered valid. This security feature keeps tokens short-lived so
|
||||||
|
| they have less time to be guessed. You may change this as needed.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'passwords' => [
|
||||||
|
'users' => [
|
||||||
|
'provider' => 'users',
|
||||||
|
'table' => 'password_resets',
|
||||||
|
'expire' => 60,
|
||||||
|
'throttle' => 60,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Confirmation Timeout
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may define the amount of seconds before a password confirmation
|
||||||
|
| times out and the user is prompted to re-enter their password via the
|
||||||
|
| confirmation screen. By default, the timeout lasts for three hours.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'password_timeout' => 10800,
|
||||||
|
|
||||||
|
];
|
||||||
59
adaptive-english-lesson-main/config/broadcasting.php
Normal file
59
adaptive-english-lesson-main/config/broadcasting.php
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Broadcaster
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default broadcaster that will be used by the
|
||||||
|
| framework when an event needs to be broadcast. You may set this to
|
||||||
|
| any of the connections defined in the "connections" array below.
|
||||||
|
|
|
||||||
|
| Supported: "pusher", "redis", "log", "null"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('BROADCAST_DRIVER', 'null'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Broadcast Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may define all of the broadcast connections that will be used
|
||||||
|
| to broadcast events to other systems or over websockets. Samples of
|
||||||
|
| each available type of connection are provided inside this array.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'pusher' => [
|
||||||
|
'driver' => 'pusher',
|
||||||
|
'key' => env('PUSHER_APP_KEY'),
|
||||||
|
'secret' => env('PUSHER_APP_SECRET'),
|
||||||
|
'app_id' => env('PUSHER_APP_ID'),
|
||||||
|
'options' => [
|
||||||
|
'cluster' => env('PUSHER_APP_CLUSTER'),
|
||||||
|
'useTLS' => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
'driver' => 'redis',
|
||||||
|
'connection' => 'default',
|
||||||
|
],
|
||||||
|
|
||||||
|
'log' => [
|
||||||
|
'driver' => 'log',
|
||||||
|
],
|
||||||
|
|
||||||
|
'null' => [
|
||||||
|
'driver' => 'null',
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
103
adaptive-english-lesson-main/config/cache.php
Normal file
103
adaptive-english-lesson-main/config/cache.php
Normal file
|
|
@ -0,0 +1,103 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Cache Store
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default cache connection that gets used while
|
||||||
|
| using this caching library. This connection is used when another is
|
||||||
|
| not explicitly specified when executing a given caching function.
|
||||||
|
|
|
||||||
|
| Supported: "apc", "array", "database", "file",
|
||||||
|
| "memcached", "redis", "dynamodb"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('CACHE_DRIVER', 'file'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Stores
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may define all of the cache "stores" for your application as
|
||||||
|
| well as their drivers. You may even define multiple stores for the
|
||||||
|
| same cache driver to group types of items stored in your caches.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'stores' => [
|
||||||
|
|
||||||
|
'apc' => [
|
||||||
|
'driver' => 'apc',
|
||||||
|
],
|
||||||
|
|
||||||
|
'array' => [
|
||||||
|
'driver' => 'array',
|
||||||
|
],
|
||||||
|
|
||||||
|
'database' => [
|
||||||
|
'driver' => 'database',
|
||||||
|
'table' => 'cache',
|
||||||
|
'connection' => null,
|
||||||
|
],
|
||||||
|
|
||||||
|
'file' => [
|
||||||
|
'driver' => 'file',
|
||||||
|
'path' => storage_path('framework/cache/data'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'memcached' => [
|
||||||
|
'driver' => 'memcached',
|
||||||
|
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
|
||||||
|
'sasl' => [
|
||||||
|
env('MEMCACHED_USERNAME'),
|
||||||
|
env('MEMCACHED_PASSWORD'),
|
||||||
|
],
|
||||||
|
'options' => [
|
||||||
|
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
|
||||||
|
],
|
||||||
|
'servers' => [
|
||||||
|
[
|
||||||
|
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
|
||||||
|
'port' => env('MEMCACHED_PORT', 11211),
|
||||||
|
'weight' => 100,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
'driver' => 'redis',
|
||||||
|
'connection' => 'cache',
|
||||||
|
],
|
||||||
|
|
||||||
|
'dynamodb' => [
|
||||||
|
'driver' => 'dynamodb',
|
||||||
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
||||||
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
||||||
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
||||||
|
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
|
||||||
|
'endpoint' => env('DYNAMODB_ENDPOINT'),
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Key Prefix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When utilizing a RAM based store such as APC or Memcached, there might
|
||||||
|
| be other applications utilizing the same cache. So, we'll specify a
|
||||||
|
| value to get prefixed to all our keys so we can avoid collisions.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),
|
||||||
|
|
||||||
|
];
|
||||||
147
adaptive-english-lesson-main/config/database.php
Normal file
147
adaptive-english-lesson-main/config/database.php
Normal file
|
|
@ -0,0 +1,147 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Database Connection Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify which of the database connections below you wish
|
||||||
|
| to use as your default connection for all database work. Of course
|
||||||
|
| you may use many connections at once using the Database library.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('DB_CONNECTION', 'mysql'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Database Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here are each of the database connections setup for your application.
|
||||||
|
| Of course, examples of configuring each database platform that is
|
||||||
|
| supported by Laravel is shown below to make development simple.
|
||||||
|
|
|
||||||
|
|
|
||||||
|
| All database work in Laravel is done through the PHP PDO facilities
|
||||||
|
| so make sure you have the driver for your particular database of
|
||||||
|
| choice installed on your machine before you begin development.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'sqlite' => [
|
||||||
|
'driver' => 'sqlite',
|
||||||
|
'url' => env('DATABASE_URL'),
|
||||||
|
'database' => env('DB_DATABASE', database_path('database.sqlite')),
|
||||||
|
'prefix' => '',
|
||||||
|
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
|
||||||
|
],
|
||||||
|
|
||||||
|
'mysql' => [
|
||||||
|
'driver' => 'mysql',
|
||||||
|
'url' => env('DATABASE_URL'),
|
||||||
|
'host' => env('DB_HOST', '127.0.0.1'),
|
||||||
|
'port' => env('DB_PORT', '3306'),
|
||||||
|
'database' => env('DB_DATABASE', 'forge'),
|
||||||
|
'username' => env('DB_USERNAME', 'forge'),
|
||||||
|
'password' => env('DB_PASSWORD', ''),
|
||||||
|
'unix_socket' => env('DB_SOCKET', ''),
|
||||||
|
'charset' => 'utf8mb4',
|
||||||
|
'collation' => 'utf8mb4_unicode_ci',
|
||||||
|
'prefix' => '',
|
||||||
|
'prefix_indexes' => true,
|
||||||
|
'strict' => true,
|
||||||
|
'engine' => null,
|
||||||
|
'options' => extension_loaded('pdo_mysql') ? array_filter([
|
||||||
|
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
|
||||||
|
]) : [],
|
||||||
|
],
|
||||||
|
|
||||||
|
'pgsql' => [
|
||||||
|
'driver' => 'pgsql',
|
||||||
|
'url' => env('DATABASE_URL'),
|
||||||
|
'host' => env('DB_HOST', '127.0.0.1'),
|
||||||
|
'port' => env('DB_PORT', '5432'),
|
||||||
|
'database' => env('DB_DATABASE', 'forge'),
|
||||||
|
'username' => env('DB_USERNAME', 'forge'),
|
||||||
|
'password' => env('DB_PASSWORD', ''),
|
||||||
|
'charset' => 'utf8',
|
||||||
|
'prefix' => '',
|
||||||
|
'prefix_indexes' => true,
|
||||||
|
'schema' => 'public',
|
||||||
|
'sslmode' => 'prefer',
|
||||||
|
],
|
||||||
|
|
||||||
|
'sqlsrv' => [
|
||||||
|
'driver' => 'sqlsrv',
|
||||||
|
'url' => env('DATABASE_URL'),
|
||||||
|
'host' => env('DB_HOST', 'localhost'),
|
||||||
|
'port' => env('DB_PORT', '1433'),
|
||||||
|
'database' => env('DB_DATABASE', 'forge'),
|
||||||
|
'username' => env('DB_USERNAME', 'forge'),
|
||||||
|
'password' => env('DB_PASSWORD', ''),
|
||||||
|
'charset' => 'utf8',
|
||||||
|
'prefix' => '',
|
||||||
|
'prefix_indexes' => true,
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Migration Repository Table
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This table keeps track of all the migrations that have already run for
|
||||||
|
| your application. Using this information, we can determine which of
|
||||||
|
| the migrations on disk haven't actually been run in the database.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'migrations' => 'migrations',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Redis Databases
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Redis is an open source, fast, and advanced key-value store that also
|
||||||
|
| provides a richer body of commands than a typical key-value system
|
||||||
|
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
|
||||||
|
'client' => env('REDIS_CLIENT', 'phpredis'),
|
||||||
|
|
||||||
|
'options' => [
|
||||||
|
'cluster' => env('REDIS_CLUSTER', 'redis'),
|
||||||
|
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'default' => [
|
||||||
|
'url' => env('REDIS_URL'),
|
||||||
|
'host' => env('REDIS_HOST', '127.0.0.1'),
|
||||||
|
'password' => env('REDIS_PASSWORD', null),
|
||||||
|
'port' => env('REDIS_PORT', '6379'),
|
||||||
|
'database' => env('REDIS_DB', '0'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'cache' => [
|
||||||
|
'url' => env('REDIS_URL'),
|
||||||
|
'host' => env('REDIS_HOST', '127.0.0.1'),
|
||||||
|
'password' => env('REDIS_PASSWORD', null),
|
||||||
|
'port' => env('REDIS_PORT', '6379'),
|
||||||
|
'database' => env('REDIS_CACHE_DB', '1'),
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
70
adaptive-english-lesson-main/config/filesystems.php
Normal file
70
adaptive-english-lesson-main/config/filesystems.php
Normal file
|
|
@ -0,0 +1,70 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Filesystem Disk
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the default filesystem disk that should be used
|
||||||
|
| by the framework. The "local" disk, as well as a variety of cloud
|
||||||
|
| based disks are available to your application. Just store away!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('FILESYSTEM_DRIVER', 'local'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Cloud Filesystem Disk
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Many applications store files both locally and in the cloud. For this
|
||||||
|
| reason, you may specify a default "cloud" driver here. This driver
|
||||||
|
| will be bound as the Cloud disk implementation in the container.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'cloud' => env('FILESYSTEM_CLOUD', 's3'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Filesystem Disks
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure as many filesystem "disks" as you wish, and you
|
||||||
|
| may even configure multiple disks of the same driver. Defaults have
|
||||||
|
| been setup for each driver as an example of the required options.
|
||||||
|
|
|
||||||
|
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'disks' => [
|
||||||
|
|
||||||
|
'local' => [
|
||||||
|
'driver' => 'local',
|
||||||
|
'root' => storage_path('app'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'public' => [
|
||||||
|
'driver' => 'local',
|
||||||
|
'root' => storage_path('app/public'),
|
||||||
|
'url' => env('APP_URL').'/storage',
|
||||||
|
'visibility' => 'public',
|
||||||
|
],
|
||||||
|
|
||||||
|
's3' => [
|
||||||
|
'driver' => 's3',
|
||||||
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
||||||
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
||||||
|
'region' => env('AWS_DEFAULT_REGION'),
|
||||||
|
'bucket' => env('AWS_BUCKET'),
|
||||||
|
'url' => env('AWS_URL'),
|
||||||
|
'endpoint' => env('AWS_ENDPOINT'),
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
52
adaptive-english-lesson-main/config/hashing.php
Normal file
52
adaptive-english-lesson-main/config/hashing.php
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Hash Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default hash driver that will be used to hash
|
||||||
|
| passwords for your application. By default, the bcrypt algorithm is
|
||||||
|
| used; however, you remain free to modify this option if you wish.
|
||||||
|
|
|
||||||
|
| Supported: "bcrypt", "argon", "argon2id"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'driver' => 'bcrypt',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Bcrypt Options
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the configuration options that should be used when
|
||||||
|
| passwords are hashed using the Bcrypt algorithm. This will allow you
|
||||||
|
| to control the amount of time it takes to hash the given password.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'bcrypt' => [
|
||||||
|
'rounds' => env('BCRYPT_ROUNDS', 10),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Argon Options
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the configuration options that should be used when
|
||||||
|
| passwords are hashed using the Argon algorithm. These will allow you
|
||||||
|
| to control the amount of time it takes to hash the given password.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'argon' => [
|
||||||
|
'memory' => 1024,
|
||||||
|
'threads' => 2,
|
||||||
|
'time' => 2,
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
104
adaptive-english-lesson-main/config/logging.php
Normal file
104
adaptive-english-lesson-main/config/logging.php
Normal file
|
|
@ -0,0 +1,104 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Monolog\Handler\NullHandler;
|
||||||
|
use Monolog\Handler\StreamHandler;
|
||||||
|
use Monolog\Handler\SyslogUdpHandler;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Log Channel
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option defines the default log channel that gets used when writing
|
||||||
|
| messages to the logs. The name specified in this option should match
|
||||||
|
| one of the channels defined in the "channels" configuration array.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('LOG_CHANNEL', 'stack'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Log Channels
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure the log channels for your application. Out of
|
||||||
|
| the box, Laravel uses the Monolog PHP logging library. This gives
|
||||||
|
| you a variety of powerful log handlers / formatters to utilize.
|
||||||
|
|
|
||||||
|
| Available Drivers: "single", "daily", "slack", "syslog",
|
||||||
|
| "errorlog", "monolog",
|
||||||
|
| "custom", "stack"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'channels' => [
|
||||||
|
'stack' => [
|
||||||
|
'driver' => 'stack',
|
||||||
|
'channels' => ['single'],
|
||||||
|
'ignore_exceptions' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
'single' => [
|
||||||
|
'driver' => 'single',
|
||||||
|
'path' => storage_path('logs/laravel.log'),
|
||||||
|
'level' => 'debug',
|
||||||
|
],
|
||||||
|
|
||||||
|
'daily' => [
|
||||||
|
'driver' => 'daily',
|
||||||
|
'path' => storage_path('logs/laravel.log'),
|
||||||
|
'level' => 'debug',
|
||||||
|
'days' => 14,
|
||||||
|
],
|
||||||
|
|
||||||
|
'slack' => [
|
||||||
|
'driver' => 'slack',
|
||||||
|
'url' => env('LOG_SLACK_WEBHOOK_URL'),
|
||||||
|
'username' => 'Laravel Log',
|
||||||
|
'emoji' => ':boom:',
|
||||||
|
'level' => 'critical',
|
||||||
|
],
|
||||||
|
|
||||||
|
'papertrail' => [
|
||||||
|
'driver' => 'monolog',
|
||||||
|
'level' => 'debug',
|
||||||
|
'handler' => SyslogUdpHandler::class,
|
||||||
|
'handler_with' => [
|
||||||
|
'host' => env('PAPERTRAIL_URL'),
|
||||||
|
'port' => env('PAPERTRAIL_PORT'),
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'stderr' => [
|
||||||
|
'driver' => 'monolog',
|
||||||
|
'handler' => StreamHandler::class,
|
||||||
|
'formatter' => env('LOG_STDERR_FORMATTER'),
|
||||||
|
'with' => [
|
||||||
|
'stream' => 'php://stderr',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'syslog' => [
|
||||||
|
'driver' => 'syslog',
|
||||||
|
'level' => 'debug',
|
||||||
|
],
|
||||||
|
|
||||||
|
'errorlog' => [
|
||||||
|
'driver' => 'errorlog',
|
||||||
|
'level' => 'debug',
|
||||||
|
],
|
||||||
|
|
||||||
|
'null' => [
|
||||||
|
'driver' => 'monolog',
|
||||||
|
'handler' => NullHandler::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
'emergency' => [
|
||||||
|
'path' => storage_path('logs/laravel.log'),
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
136
adaptive-english-lesson-main/config/mail.php
Normal file
136
adaptive-english-lesson-main/config/mail.php
Normal file
|
|
@ -0,0 +1,136 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Mail Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
|
||||||
|
| sending of e-mail. You may specify which one you're using throughout
|
||||||
|
| your application here. By default, Laravel is setup for SMTP mail.
|
||||||
|
|
|
||||||
|
| Supported: "smtp", "sendmail", "mailgun", "ses",
|
||||||
|
| "postmark", "log", "array"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'driver' => env('MAIL_DRIVER', 'smtp'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| SMTP Host Address
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may provide the host address of the SMTP server used by your
|
||||||
|
| applications. A default option is provided that is compatible with
|
||||||
|
| the Mailgun mail service which will provide reliable deliveries.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| SMTP Host Port
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is the SMTP port used by your application to deliver e-mails to
|
||||||
|
| users of the application. Like the host we have set this value to
|
||||||
|
| stay compatible with the Mailgun e-mail application by default.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'port' => env('MAIL_PORT', 587),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Global "From" Address
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| You may wish for all e-mails sent by your application to be sent from
|
||||||
|
| the same address. Here, you may specify a name and address that is
|
||||||
|
| used globally for all e-mails that are sent by your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'from' => [
|
||||||
|
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
|
||||||
|
'name' => env('MAIL_FROM_NAME', 'Example'),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| E-Mail Encryption Protocol
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the encryption protocol that should be used when
|
||||||
|
| the application send e-mail messages. A sensible default using the
|
||||||
|
| transport layer security protocol should provide great security.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| SMTP Server Username
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If your SMTP server requires a username for authentication, you should
|
||||||
|
| set it here. This will get used to authenticate with your server on
|
||||||
|
| connection. You may also set the "password" value below this one.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'username' => env('MAIL_USERNAME'),
|
||||||
|
|
||||||
|
'password' => env('MAIL_PASSWORD'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Sendmail System Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "sendmail" driver to send e-mails, we will need to know
|
||||||
|
| the path to where Sendmail lives on this server. A default path has
|
||||||
|
| been provided here, which will work well on most of your systems.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'sendmail' => '/usr/sbin/sendmail -bs',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Markdown Mail Settings
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you are using Markdown based email rendering, you may configure your
|
||||||
|
| theme and component paths here, allowing you to customize the design
|
||||||
|
| of the emails. Or, you may simply stick with the Laravel defaults!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'markdown' => [
|
||||||
|
'theme' => 'default',
|
||||||
|
|
||||||
|
'paths' => [
|
||||||
|
resource_path('views/vendor/mail'),
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Log Channel
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you are using the "log" driver, you may specify the logging channel
|
||||||
|
| if you prefer to keep mail messages separate from other log entries
|
||||||
|
| for simpler reading. Otherwise, the default channel will be used.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'log_channel' => env('MAIL_LOG_CHANNEL'),
|
||||||
|
|
||||||
|
];
|
||||||
88
adaptive-english-lesson-main/config/queue.php
Normal file
88
adaptive-english-lesson-main/config/queue.php
Normal file
|
|
@ -0,0 +1,88 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Queue Connection Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Laravel's queue API supports an assortment of back-ends via a single
|
||||||
|
| API, giving you convenient access to each back-end using the same
|
||||||
|
| syntax for every one. Here you may define a default connection.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('QUEUE_CONNECTION', 'sync'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Queue Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure the connection information for each server that
|
||||||
|
| is used by your application. A default configuration has been added
|
||||||
|
| for each back-end shipped with Laravel. You are free to add more.
|
||||||
|
|
|
||||||
|
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'sync' => [
|
||||||
|
'driver' => 'sync',
|
||||||
|
],
|
||||||
|
|
||||||
|
'database' => [
|
||||||
|
'driver' => 'database',
|
||||||
|
'table' => 'jobs',
|
||||||
|
'queue' => 'default',
|
||||||
|
'retry_after' => 90,
|
||||||
|
],
|
||||||
|
|
||||||
|
'beanstalkd' => [
|
||||||
|
'driver' => 'beanstalkd',
|
||||||
|
'host' => 'localhost',
|
||||||
|
'queue' => 'default',
|
||||||
|
'retry_after' => 90,
|
||||||
|
'block_for' => 0,
|
||||||
|
],
|
||||||
|
|
||||||
|
'sqs' => [
|
||||||
|
'driver' => 'sqs',
|
||||||
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
||||||
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
||||||
|
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
|
||||||
|
'queue' => env('SQS_QUEUE', 'your-queue-name'),
|
||||||
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
'driver' => 'redis',
|
||||||
|
'connection' => 'default',
|
||||||
|
'queue' => env('REDIS_QUEUE', 'default'),
|
||||||
|
'retry_after' => 90,
|
||||||
|
'block_for' => null,
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Failed Queue Jobs
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These options configure the behavior of failed queue job logging so you
|
||||||
|
| can control which database and table are used to store the jobs that
|
||||||
|
| have failed. You may change them to any database / table you wish.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'failed' => [
|
||||||
|
'driver' => env('QUEUE_FAILED_DRIVER', 'database'),
|
||||||
|
'database' => env('DB_CONNECTION', 'mysql'),
|
||||||
|
'table' => 'failed_jobs',
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
33
adaptive-english-lesson-main/config/services.php
Normal file
33
adaptive-english-lesson-main/config/services.php
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Third Party Services
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This file is for storing the credentials for third party services such
|
||||||
|
| as Mailgun, Postmark, AWS and more. This file provides the de facto
|
||||||
|
| location for this type of information, allowing packages to have
|
||||||
|
| a conventional file to locate the various service credentials.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'mailgun' => [
|
||||||
|
'domain' => env('MAILGUN_DOMAIN'),
|
||||||
|
'secret' => env('MAILGUN_SECRET'),
|
||||||
|
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'postmark' => [
|
||||||
|
'token' => env('POSTMARK_TOKEN'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'ses' => [
|
||||||
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
||||||
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
||||||
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
199
adaptive-english-lesson-main/config/session.php
Normal file
199
adaptive-english-lesson-main/config/session.php
Normal file
|
|
@ -0,0 +1,199 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Session Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default session "driver" that will be used on
|
||||||
|
| requests. By default, we will use the lightweight native driver but
|
||||||
|
| you may specify any of the other wonderful drivers provided here.
|
||||||
|
|
|
||||||
|
| Supported: "file", "cookie", "database", "apc",
|
||||||
|
| "memcached", "redis", "dynamodb", "array"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'driver' => env('SESSION_DRIVER', 'file'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Lifetime
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the number of minutes that you wish the session
|
||||||
|
| to be allowed to remain idle before it expires. If you want them
|
||||||
|
| to immediately expire on the browser closing, set that option.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'lifetime' => env('SESSION_LIFETIME', 120),
|
||||||
|
|
||||||
|
'expire_on_close' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Encryption
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option allows you to easily specify that all of your session data
|
||||||
|
| should be encrypted before it is stored. All encryption will be run
|
||||||
|
| automatically by Laravel and you can use the Session like normal.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'encrypt' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session File Location
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the native session driver, we need a location where session
|
||||||
|
| files may be stored. A default has been set for you but a different
|
||||||
|
| location may be specified. This is only needed for file sessions.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'files' => storage_path('framework/sessions'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Database Connection
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "database" or "redis" session drivers, you may specify a
|
||||||
|
| connection that should be used to manage these sessions. This should
|
||||||
|
| correspond to a connection in your database configuration options.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connection' => env('SESSION_CONNECTION', null),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Database Table
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "database" session driver, you may specify the table we
|
||||||
|
| should use to manage the sessions. Of course, a sensible default is
|
||||||
|
| provided for you; however, you are free to change this as needed.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'table' => 'sessions',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cache Store
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "apc", "memcached", or "dynamodb" session drivers you may
|
||||||
|
| list a cache store that should be used for these sessions. This value
|
||||||
|
| must match with one of the application's configured cache "stores".
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'store' => env('SESSION_STORE', null),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Sweeping Lottery
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Some session drivers must manually sweep their storage location to get
|
||||||
|
| rid of old sessions from storage. Here are the chances that it will
|
||||||
|
| happen on a given request. By default, the odds are 2 out of 100.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'lottery' => [2, 100],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cookie Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may change the name of the cookie used to identify a session
|
||||||
|
| instance by ID. The name specified here will get used every time a
|
||||||
|
| new session cookie is created by the framework for every driver.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'cookie' => env(
|
||||||
|
'SESSION_COOKIE',
|
||||||
|
Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
|
||||||
|
),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cookie Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The session cookie path determines the path for which the cookie will
|
||||||
|
| be regarded as available. Typically, this will be the root path of
|
||||||
|
| your application but you are free to change this when necessary.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'path' => '/',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cookie Domain
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may change the domain of the cookie used to identify a session
|
||||||
|
| in your application. This will determine which domains the cookie is
|
||||||
|
| available to in your application. A sensible default has been set.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'domain' => env('SESSION_DOMAIN', null),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| HTTPS Only Cookies
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| By setting this option to true, session cookies will only be sent back
|
||||||
|
| to the server if the browser has a HTTPS connection. This will keep
|
||||||
|
| the cookie from being sent to you if it can not be done securely.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'secure' => env('SESSION_SECURE_COOKIE', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| HTTP Access Only
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Setting this value to true will prevent JavaScript from accessing the
|
||||||
|
| value of the cookie and the cookie will only be accessible through
|
||||||
|
| the HTTP protocol. You are free to modify this option if needed.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'http_only' => true,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Same-Site Cookies
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option determines how your cookies behave when cross-site requests
|
||||||
|
| take place, and can be used to mitigate CSRF attacks. By default, we
|
||||||
|
| do not enable this as other CSRF protection services are in place.
|
||||||
|
|
|
||||||
|
| Supported: "lax", "strict", "none"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'same_site' => null,
|
||||||
|
|
||||||
|
];
|
||||||
212
adaptive-english-lesson-main/config/sweetalert.php
Normal file
212
adaptive-english-lesson-main/config/sweetalert.php
Normal file
|
|
@ -0,0 +1,212 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| CDN LINK
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| By default SweetAlert2 use its local sweetalert.all.js
|
||||||
|
| file.
|
||||||
|
| However, you can use its cdn if you want.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'cdn' => env('SWEET_ALERT_CDN'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Always load the sweetalert.all.js
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| There might be situations where you will always want the sweet alert
|
||||||
|
| js package to be there for you. (for eg. you might use it heavily to
|
||||||
|
| show notifications or you might want to use the native js) then this
|
||||||
|
| might be handy.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'alwaysLoadJS' => env('SWEET_ALERT_ALWAYS_LOAD_JS', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Never load the sweetalert.all.js
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| If you want to handle the sweet alert js package by yourself
|
||||||
|
| (for eg. you might want to use laravel mix) then this can be
|
||||||
|
| handy.
|
||||||
|
| If you set always load js to true & never load js to false,
|
||||||
|
| it's going to prioritize the never load js.
|
||||||
|
|
|
||||||
|
| alwaysLoadJs = true & neverLoadJs = true => js will not be loaded
|
||||||
|
| alwaysLoadJs = true & neverLoadJs = false => js will be loaded
|
||||||
|
| alwaysLoadJs = false & neverLoadJs = false => js will be loaded when
|
||||||
|
| you set alert/toast by using the facade/helper functions.
|
||||||
|
*/
|
||||||
|
|
||||||
|
'neverLoadJS' => env('SWEET_ALERT_NEVER_LOAD_JS', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| AutoClose Timer
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| For specific modal just use the autoClose() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'timer' => env('SWEET_ALERT_TIMER', 5000),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Width
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Modal window width, including paddings (box-sizing: border-box).
|
||||||
|
| Can be in px or %.
|
||||||
|
| The default width is 32rem.
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| for particular modal just use the width() helper method.
|
||||||
|
*/
|
||||||
|
|
||||||
|
'width' => env('SWEET_ALERT_WIDTH', '32rem'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Height Auto
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| By default, SweetAlert2 sets html's and body's CSS height to auto !important.
|
||||||
|
| If this behavior isn't compatible with your project's layout,
|
||||||
|
| set heightAuto to false.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'height_auto' => env('SWEET_ALERT_HEIGHT_AUTO', true),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Padding
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Modal window padding.
|
||||||
|
| Can be in px or %.
|
||||||
|
| The default padding is 1.25rem.
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| for particular modal just use the padding() helper method.
|
||||||
|
*/
|
||||||
|
|
||||||
|
'padding' => env('SWEET_ALERT_PADDING', '1.25rem'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Animation
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom animation with [Animate.css](https://daneden.github.io/animate.css/)
|
||||||
|
| If set to false, modal CSS animation will be use default ones.
|
||||||
|
| For specific modal just use the animation() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'animation' => [
|
||||||
|
'enable' => env('SWEET_ALERT_ANIMATION_ENABLE', false),
|
||||||
|
],
|
||||||
|
|
||||||
|
'animatecss' => env('SWEET_ALERT_ANIMATECSS', 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| ShowConfirmButton
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| If set to false, a "Confirm"-button will not be shown.
|
||||||
|
| It can be useful when you're using custom HTML description.
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| For specific modal just use the showConfirmButton() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'show_confirm_button' => env('SWEET_ALERT_CONFIRM_BUTTON', true),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| ShowCloseButton
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| If set to true, a "Close"-button will be shown,
|
||||||
|
| which the user can click on to dismiss the modal.
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| For specific modal just use the showCloseButton() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'show_close_button' => env('SWEET_ALERT_CLOSE_BUTTON', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Toast position
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Modal window or toast position, can be 'top',
|
||||||
|
| 'top-start', 'top-end', 'center', 'center-start',
|
||||||
|
| 'center-end', 'bottom', 'bottom-start', or 'bottom-end'.
|
||||||
|
| For specific modal just use the position() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'toast_position' => env('SWEET_ALERT_TOAST_POSITION', 'top-end'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Progress Bar
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| If set to true, a progress bar at the bottom of a popup will be shown.
|
||||||
|
| It can be useful with toasts.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'timer_progress_bar' => env('SWEET_ALERT_TIMER_PROGRESS_BAR', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Middleware
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Modal window or toast, config for the Middleware
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'middleware' => [
|
||||||
|
|
||||||
|
'autoClose' => env('SWEET_ALERT_MIDDLEWARE_AUTO_CLOSE', false),
|
||||||
|
|
||||||
|
'toast_position' => env('SWEET_ALERT_MIDDLEWARE_TOAST_POSITION', 'top-end'),
|
||||||
|
|
||||||
|
'toast_close_button' => env('SWEET_ALERT_MIDDLEWARE_TOAST_CLOSE_BUTTON', true),
|
||||||
|
|
||||||
|
'timer' => env('SWEET_ALERT_MIDDLEWARE_ALERT_CLOSE_TIME', 6000),
|
||||||
|
|
||||||
|
'auto_display_error_messages' => env('SWEET_ALERT_AUTO_DISPLAY_ERROR_MESSAGES', false),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom Class
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| A custom CSS class for the modal:
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'customClass' => [
|
||||||
|
|
||||||
|
'container' => env('SWEET_ALERT_CONTAINER_CLASS'),
|
||||||
|
'popup' => env('SWEET_ALERT_POPUP_CLASS'),
|
||||||
|
'header' => env('SWEET_ALERT_HEADER_CLASS'),
|
||||||
|
'title' => env('SWEET_ALERT_TITLE_CLASS'),
|
||||||
|
'closeButton' => env('SWEET_ALERT_CLOSE_BUTTON_CLASS'),
|
||||||
|
'icon' => env('SWEET_ALERT_ICON_CLASS'),
|
||||||
|
'image' => env('SWEET_ALERT_IMAGE_CLASS'),
|
||||||
|
'content' => env('SWEET_ALERT_CONTENT_CLASS'),
|
||||||
|
'input' => env('SWEET_ALERT_INPUT_CLASS'),
|
||||||
|
'actions' => env('SWEET_ALERT_ACTIONS_CLASS'),
|
||||||
|
'confirmButton' => env('SWEET_ALERT_CONFIRM_BUTTON_CLASS'),
|
||||||
|
'cancelButton' => env('SWEET_ALERT_CANCEL_BUTTON_CLASS'),
|
||||||
|
'footer' => env('SWEET_ALERT_FOOTER_CLASS'),
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
36
adaptive-english-lesson-main/config/view.php
Normal file
36
adaptive-english-lesson-main/config/view.php
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| View Storage Paths
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Most templating systems load templates from disk. Here you may specify
|
||||||
|
| an array of paths that should be checked for your views. Of course
|
||||||
|
| the usual Laravel view path has already been registered for you.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'paths' => [
|
||||||
|
resource_path('views'),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Compiled View Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option determines where all the compiled Blade templates will be
|
||||||
|
| stored for your application. Typically, this is within the storage
|
||||||
|
| directory. However, as usual, you are free to change this value.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'compiled' => env(
|
||||||
|
'VIEW_COMPILED_PATH',
|
||||||
|
realpath(storage_path('framework/views'))
|
||||||
|
),
|
||||||
|
|
||||||
|
];
|
||||||
2
adaptive-english-lesson-main/database/.gitignore
vendored
Normal file
2
adaptive-english-lesson-main/database/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
*.sqlite
|
||||||
|
*.sqlite-journal
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
||||||
|
|
||||||
|
use App\User;
|
||||||
|
use Faker\Generator as Faker;
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Model Factories
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This directory should contain each of the model factory definitions for
|
||||||
|
| your application. Factories provide a convenient way to generate new
|
||||||
|
| model instances for testing / seeding your application's database.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$factory->define(User::class, function (Faker $faker) {
|
||||||
|
return [
|
||||||
|
'name' => $faker->name,
|
||||||
|
'email' => $faker->unique()->safeEmail,
|
||||||
|
'email_verified_at' => now(),
|
||||||
|
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
|
||||||
|
'remember_token' => Str::random(10),
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
class CreateUsersTable extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::create('users', function (Blueprint $table) {
|
||||||
|
$table->bigIncrements('id');
|
||||||
|
$table->string('name');
|
||||||
|
$table->string('email')->unique();
|
||||||
|
$table->timestamp('email_verified_at')->nullable();
|
||||||
|
$table->string('password');
|
||||||
|
$table->rememberToken();
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('users');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
class CreatePasswordResetsTable extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::create('password_resets', function (Blueprint $table) {
|
||||||
|
$table->string('email')->index();
|
||||||
|
$table->string('token');
|
||||||
|
$table->timestamp('created_at')->nullable();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('password_resets');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
class CreateFailedJobsTable extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::create('failed_jobs', function (Blueprint $table) {
|
||||||
|
$table->bigIncrements('id');
|
||||||
|
$table->text('connection');
|
||||||
|
$table->text('queue');
|
||||||
|
$table->longText('payload');
|
||||||
|
$table->longText('exception');
|
||||||
|
$table->timestamp('failed_at')->useCurrent();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('failed_jobs');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Seeder;
|
||||||
|
use App\User;
|
||||||
|
|
||||||
|
class AdministratorSeeder extends Seeder
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the database seeds.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function run()
|
||||||
|
{
|
||||||
|
$admin = new \App\User;
|
||||||
|
$admin->name = "Admin";
|
||||||
|
$admin->email = "admin@gmail.com";
|
||||||
|
$admin->password = \Hash::make("admin123");
|
||||||
|
$admin->roles = "admin";
|
||||||
|
$admin->save();
|
||||||
|
$this->command->info("Admin berhasil ditambah");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Seeder;
|
||||||
|
|
||||||
|
class DatabaseSeeder extends Seeder
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Seed the application's database.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function run()
|
||||||
|
{
|
||||||
|
// $this->call(UsersTableSeeder::class);
|
||||||
|
}
|
||||||
|
}
|
||||||
24
adaptive-english-lesson-main/package.json
Normal file
24
adaptive-english-lesson-main/package.json
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"dev": "npm run development",
|
||||||
|
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
|
"watch": "npm run development -- --watch",
|
||||||
|
"watch-poll": "npm run watch -- --watch-poll",
|
||||||
|
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
|
"prod": "npm run production",
|
||||||
|
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --config=node_modules/laravel-mix/setup/webpack.config.js"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"axios": "^0.19",
|
||||||
|
"bootstrap": "^4.0.0",
|
||||||
|
"cross-env": "^7.0",
|
||||||
|
"jquery": "^3.2",
|
||||||
|
"laravel-mix": "^5.0.1",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"popper.js": "^1.12",
|
||||||
|
"resolve-url-loader": "^3.1.0",
|
||||||
|
"sass": "^1.15.2",
|
||||||
|
"sass-loader": "^8.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
30
adaptive-english-lesson-main/phpunit.xml
Normal file
30
adaptive-english-lesson-main/phpunit.xml
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
|
bootstrap="vendor/autoload.php"
|
||||||
|
colors="true">
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Unit">
|
||||||
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
|
</testsuite>
|
||||||
|
|
||||||
|
<testsuite name="Feature">
|
||||||
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
<filter>
|
||||||
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||||
|
<directory suffix=".php">./app</directory>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
<php>
|
||||||
|
<server name="APP_ENV" value="testing"/>
|
||||||
|
<server name="BCRYPT_ROUNDS" value="4"/>
|
||||||
|
<server name="CACHE_DRIVER" value="array"/>
|
||||||
|
<server name="DB_CONNECTION" value="sqlite"/>
|
||||||
|
<server name="DB_DATABASE" value=":memory:"/>
|
||||||
|
<server name="MAIL_DRIVER" value="array"/>
|
||||||
|
<server name="QUEUE_CONNECTION" value="sync"/>
|
||||||
|
<server name="SESSION_DRIVER" value="array"/>
|
||||||
|
</php>
|
||||||
|
</phpunit>
|
||||||
654
adaptive-english-lesson-main/project_siswa.sql
Normal file
654
adaptive-english-lesson-main/project_siswa.sql
Normal file
|
|
@ -0,0 +1,654 @@
|
||||||
|
-- phpMyAdmin SQL Dump
|
||||||
|
-- version 5.1.0
|
||||||
|
-- https://www.phpmyadmin.net/
|
||||||
|
--
|
||||||
|
-- Host: 127.0.0.1
|
||||||
|
-- Generation Time: Jan 20, 2023 at 02:21 AM
|
||||||
|
-- Server version: 10.4.19-MariaDB
|
||||||
|
-- PHP Version: 7.3.28
|
||||||
|
|
||||||
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||||
|
START TRANSACTION;
|
||||||
|
SET time_zone = "+00:00";
|
||||||
|
|
||||||
|
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||||
|
/*!40101 SET NAMES utf8mb4 */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Database: `project_siswa`
|
||||||
|
--
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `failed_jobs`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `failed_jobs` (
|
||||||
|
`id` bigint(20) UNSIGNED NOT NULL,
|
||||||
|
`uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `migrations`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `migrations` (
|
||||||
|
`id` int(10) UNSIGNED NOT NULL,
|
||||||
|
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`batch` int(11) NOT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `migrations`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
|
||||||
|
(2, '2014_10_12_100000_create_password_resets_table', 1),
|
||||||
|
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
|
||||||
|
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
|
||||||
|
(5, '2014_10_12_000000_create_users_table', 2);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `m_exercises`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `m_exercises` (
|
||||||
|
`id` int(11) NOT NULL,
|
||||||
|
`level_id` int(11) NOT NULL,
|
||||||
|
`question` text NOT NULL,
|
||||||
|
`option_a` varchar(200) NOT NULL,
|
||||||
|
`option_b` varchar(200) NOT NULL,
|
||||||
|
`option_c` varchar(200) NOT NULL,
|
||||||
|
`option_d` varchar(200) NOT NULL,
|
||||||
|
`option_e` varchar(200) NOT NULL,
|
||||||
|
`answer_key` varchar(5) NOT NULL,
|
||||||
|
`weight` smallint(6) NOT NULL DEFAULT 1,
|
||||||
|
`ts_entri` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `m_exercises`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `m_exercises` (`id`, `level_id`, `question`, `option_a`, `option_b`, `option_c`, `option_d`, `option_e`, `answer_key`, `weight`, `ts_entri`) VALUES
|
||||||
|
(2, 1, 'Qui consequuntur do', 'Ipsum consequuntur', 'Ratione voluptatem', 'Quam quos ea autem e', 'Amet omnis consecte', 'Eius molestiae ea du', 'A', 4, '2022-08-07 15:55:41'),
|
||||||
|
(10, 1, 'Soal', 'Asperiores nesciunt', 'Molestiae sed harum', 'Accusamus in Nam non', 'Possimus quo culpa', 'Eius molestiae ea du', 'B', 2, '2022-12-19 23:11:21'),
|
||||||
|
(11, 1, 'Question', 'Asperiores nesciunt', 'Molestiae sed harum', 'Quam quos ea autem e', 'Amet omnis consecte', 'Eius molestiae ea du', 'C', 2, '2022-12-19 23:11:48');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `m_levels`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `m_levels` (
|
||||||
|
`id` int(11) NOT NULL,
|
||||||
|
`title` varchar(100) NOT NULL,
|
||||||
|
`subject_id` int(11) NOT NULL,
|
||||||
|
`topic_id` int(11) DEFAULT NULL,
|
||||||
|
`is_pretest` tinyint(1) DEFAULT NULL,
|
||||||
|
`content` varchar(200) DEFAULT NULL,
|
||||||
|
`video` varchar(200) DEFAULT NULL,
|
||||||
|
`audio` varchar(200) DEFAULT NULL,
|
||||||
|
`image` varchar(200) DEFAULT NULL,
|
||||||
|
`youtube` varchar(200) DEFAULT NULL,
|
||||||
|
`route1` int(11) NOT NULL,
|
||||||
|
`route2` int(11) NOT NULL,
|
||||||
|
`route3` int(11) NOT NULL,
|
||||||
|
`route4` int(11) NOT NULL,
|
||||||
|
`ts_entri` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `m_levels`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `m_levels` (`id`, `title`, `subject_id`, `topic_id`, `is_pretest`, `content`, `video`, `audio`, `image`, `youtube`, `route1`, `route2`, `route3`, `route4`, `ts_entri`) VALUES
|
||||||
|
(1, '1', 1, 12, 0, 'Hello. My name is Winda Auliana. People usually call me Winda. I’m 14 years old and I was born in Bandung, on 17th January, 2006. I live in Bandung since I was child and now I study in SMP XXX.', NULL, NULL, '48f7c8dd3e690378bfdf6b94f7516d95.jpg', 'https://www.youtube.com/watch?v=NeQM1c-XCDc', 39, 40, 41, 42, '2022-12-19 22:33:30'),
|
||||||
|
(39, '2', 1, 12, 0, 'tes', NULL, NULL, NULL, 'https://www.youtube.com/watch?v=NeQM1c-XCDc', 1, 40, 41, 42, '2022-12-19 22:15:41'),
|
||||||
|
(40, '3', 1, 12, 0, 'tes', NULL, NULL, NULL, 'https://www.youtube.com/watch?v=NeQM1c-XCDc', 1, 39, 41, 42, '2022-12-19 22:15:59'),
|
||||||
|
(41, '4', 1, 12, 0, 'tes', NULL, NULL, NULL, 'https://www.youtube.com/watch?v=NeQM1c-XCDc', 1, 39, 40, 42, '2022-12-19 22:16:23'),
|
||||||
|
(42, '5', 1, 12, 0, 'tes', NULL, NULL, NULL, 'https://www.youtube.com/watch?v=NeQM1c-XCDc', 1, 39, 40, 41, '2022-12-08 02:01:40');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `m_std_exercises`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `m_std_exercises` (
|
||||||
|
`id` bigint(20) NOT NULL,
|
||||||
|
`std_learning_id` bigint(20) DEFAULT NULL,
|
||||||
|
`exercise_id` int(11) NOT NULL,
|
||||||
|
`answer` char(1) NOT NULL,
|
||||||
|
`is_correct` tinyint(1) NOT NULL,
|
||||||
|
`score` smallint(11) NOT NULL,
|
||||||
|
`ts_entri` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `m_std_exercises`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `m_std_exercises` (`id`, `std_learning_id`, `exercise_id`, `answer`, `is_correct`, `score`, `ts_entri`) VALUES
|
||||||
|
(153, 320, 2, 'A', 1, 4, '2022-12-26 14:31:02'),
|
||||||
|
(154, 320, 10, 'B', 1, 2, '2022-12-26 14:31:03'),
|
||||||
|
(155, 320, 11, 'D', 0, 0, '2022-12-26 14:31:03');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `m_std_learnings`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `m_std_learnings` (
|
||||||
|
`id` bigint(20) NOT NULL,
|
||||||
|
`user_id` bigint(11) NOT NULL,
|
||||||
|
`level_id` int(11) NOT NULL,
|
||||||
|
`ts_start` datetime NOT NULL,
|
||||||
|
`is_validated` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
|
`ts_exercise` datetime DEFAULT NULL,
|
||||||
|
`score` int(11) DEFAULT NULL,
|
||||||
|
`next_learning` int(11) DEFAULT NULL,
|
||||||
|
`comment` text DEFAULT NULL,
|
||||||
|
`is_termination` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
|
`ts_entri` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `m_std_learnings`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `m_std_learnings` (`id`, `user_id`, `level_id`, `ts_start`, `is_validated`, `ts_exercise`, `score`, `next_learning`, `comment`, `is_termination`, `ts_entri`) VALUES
|
||||||
|
(320, 9, 1, '2022-12-26 21:30:43', 0, '2022-12-26 21:30:46', 75, 41, NULL, 0, '2022-12-26 14:31:03'),
|
||||||
|
(332, 11, 1, '2023-01-02 21:16:19', 0, NULL, NULL, NULL, NULL, 0, '2023-01-02 14:16:19');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `m_subjects`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `m_subjects` (
|
||||||
|
`id` int(11) NOT NULL,
|
||||||
|
`name` varchar(50) NOT NULL,
|
||||||
|
`description` text NOT NULL,
|
||||||
|
`icon` varchar(255) DEFAULT NULL,
|
||||||
|
`thumbnail` varchar(255) DEFAULT NULL,
|
||||||
|
`ts_entri` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `m_subjects`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `m_subjects` (`id`, `name`, `description`, `icon`, `thumbnail`, `ts_entri`) VALUES
|
||||||
|
(1, 'Listening', 'Listening section is designed to measure your ability to understand conversations and lectures in English', 'headphones-listening-svgrepo-com.ico', 'listening.jpg', '2022-08-13 11:50:59'),
|
||||||
|
(2, 'Vocabulary', 'Vocabulary is an important focus of literacy teaching and refers to the knowledge or words', '987811.ico', 'vocabulary.jpg', '2022-08-13 11:51:13'),
|
||||||
|
(3, 'Grammar', 'Grammar is the breaking down of the building blocks, or parts of speech, in language, and the use of those pieces to form complete sentences.', '2463150.png', 'wp11021892-grammar-wallpapers.jpg', '2022-08-13 11:54:46'),
|
||||||
|
(10, 'Reading', 'Reading is defined as a cognitive process that involves decoding symbols to arrive at meaning', '201612.png', 'wallpaperflare.com_wallpaper (2).jpg', '2022-08-13 11:55:47');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `m_topics`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `m_topics` (
|
||||||
|
`id` int(11) NOT NULL,
|
||||||
|
`subject_id` int(11) NOT NULL,
|
||||||
|
`title` varchar(255) NOT NULL,
|
||||||
|
`ts_entri` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `m_topics`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `m_topics` (`id`, `subject_id`, `title`, `ts_entri`) VALUES
|
||||||
|
(1, 10, 'Talking about Self (emails)', '2022-11-22 04:13:55'),
|
||||||
|
(2, 10, 'Congratulating & Complimenting Others', '2022-11-22 04:19:06'),
|
||||||
|
(3, 10, 'Talking About Intentions', '2022-11-22 04:19:25'),
|
||||||
|
(4, 10, 'Presenting Information', '2022-11-22 04:19:49'),
|
||||||
|
(5, 10, 'Describing a Place', '2022-11-22 04:19:58'),
|
||||||
|
(6, 10, 'Giving Information to Public', '2022-11-22 04:21:29'),
|
||||||
|
(7, 10, 'Retelling Past Events', '2022-11-22 04:21:41'),
|
||||||
|
(8, 10, 'Entertaining', '2022-11-22 04:22:21'),
|
||||||
|
(9, 10, 'Introducing Moral Values', '2022-11-22 04:22:35'),
|
||||||
|
(10, 10, 'Developing Interactional Communication', '2022-11-22 04:22:56'),
|
||||||
|
(11, 10, 'Appreciating Cultural Values', '2022-11-22 04:23:15'),
|
||||||
|
(12, 1, 'Talking about Self', '2022-11-22 04:24:46'),
|
||||||
|
(13, 1, 'Congratulating & Complimenting Others', '2022-11-22 04:25:01'),
|
||||||
|
(14, 1, 'Talking About Intentions', '2022-11-22 04:25:13'),
|
||||||
|
(15, 1, 'Presenting Information', '2022-11-22 04:25:20'),
|
||||||
|
(16, 1, 'Describing a Place', '2022-11-22 04:59:33'),
|
||||||
|
(17, 1, 'Giving Information to Public', '2022-11-22 05:00:20'),
|
||||||
|
(18, 1, 'Retelling Past Events', '2022-11-22 05:00:30'),
|
||||||
|
(19, 1, 'Entertaining', '2022-11-22 05:00:39'),
|
||||||
|
(20, 1, 'Introducing Moral Values', '2022-11-22 05:00:49'),
|
||||||
|
(21, 1, 'Developing Interactional Communication', '2022-11-22 05:01:05'),
|
||||||
|
(22, 1, 'Appreciating Cultural Values', '2022-11-22 05:01:19'),
|
||||||
|
(23, 2, 'Talking about Self', '2022-11-22 05:03:42'),
|
||||||
|
(24, 2, 'Congratulating & Complimenting Others', '2022-11-22 05:03:54'),
|
||||||
|
(25, 2, 'Recreation; Holidays', '2022-11-22 05:04:05'),
|
||||||
|
(26, 2, 'Ecotourism, Historical Buildings', '2022-11-22 05:04:25'),
|
||||||
|
(27, 2, 'Recreational Places', '2022-11-22 05:04:40'),
|
||||||
|
(28, 2, 'Public Places', '2022-11-22 05:04:53'),
|
||||||
|
(29, 2, 'Idol', '2022-11-22 05:04:58'),
|
||||||
|
(30, 2, 'Past Events', '2022-11-22 05:05:07'),
|
||||||
|
(31, 2, 'Prominent Figures', '2022-11-22 05:05:20'),
|
||||||
|
(32, 2, 'Folktales', '2022-11-22 05:05:31'),
|
||||||
|
(33, 2, 'Life of Famous People', '2022-11-22 05:05:46'),
|
||||||
|
(34, 2, 'Characters', '2022-11-22 05:05:54'),
|
||||||
|
(35, 2, 'Friendship', '2022-11-22 05:06:01'),
|
||||||
|
(36, 3, 'Pronouns', '2022-11-22 05:06:37'),
|
||||||
|
(37, 3, 'Noun Phrases', '2022-11-22 05:06:52'),
|
||||||
|
(38, 3, 'Derivatives: Nouns from Verbs', '2022-11-22 05:07:20'),
|
||||||
|
(39, 3, 'Adjectives and Adverbs', '2022-11-22 05:07:36'),
|
||||||
|
(40, 3, 'Adverbial Clauses; Adverbial Phrases', '2022-11-22 05:08:04'),
|
||||||
|
(41, 3, 'Adverb of Time Clauses', '2022-11-22 05:08:17'),
|
||||||
|
(42, 3, 'Would Like; Be going to', '2022-11-22 05:08:29'),
|
||||||
|
(43, 3, 'Simple Past; Adjectives', '2022-11-22 05:08:42'),
|
||||||
|
(44, 3, 'Simple Past, Present Perfect', '2022-11-22 05:08:57'),
|
||||||
|
(45, 3, 'Reported Speech vs. Direct Speech', '2022-11-22 05:09:13');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `password_resets`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `password_resets` (
|
||||||
|
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`created_at` timestamp NULL DEFAULT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `personal_access_tokens`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `personal_access_tokens` (
|
||||||
|
`id` bigint(20) UNSIGNED NOT NULL,
|
||||||
|
`tokenable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`tokenable_id` bigint(20) UNSIGNED NOT NULL,
|
||||||
|
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`abilities` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||||
|
`last_used_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`created_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`updated_at` timestamp NULL DEFAULT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `users`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `users` (
|
||||||
|
`id` bigint(20) NOT NULL,
|
||||||
|
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`email_verified_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
|
`roles` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||||
|
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||||
|
`created_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`updated_at` timestamp NULL DEFAULT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `users`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `roles`, `remember_token`, `created_at`, `updated_at`) VALUES
|
||||||
|
(2, 'Administrator', 'admin@mail.com', NULL, '$2y$10$dp/EIXyLSnw0yM6nHB4P0eXpNSKqVYjXd6lA25WD6wR7SxefaxUJe', 'admin', NULL, '2022-07-06 01:58:07', '2022-07-06 01:58:07'),
|
||||||
|
(3, 'Student 1', 'student@mail.com', NULL, '$2y$10$z.xakYmC5Qs6WPp9.rdelugKEZXNkLeVrnTVnIF/uq06T4di7uSwG', 'student', NULL, '2022-07-13 10:15:10', '2022-07-13 10:15:10'),
|
||||||
|
(9, 'yusuf', 'mchyush@gmail.com', NULL, '$2y$10$lMuS0dP8Hi2C/J4E058b0ObXOHzR6jRDI9VjRzdMoD2i.wYGCQmb2', 'student', NULL, '2022-08-04 14:37:22', '2022-08-04 14:37:22'),
|
||||||
|
(10, 'tes', 'tes@mail.com', NULL, '$2y$10$pid1hBAaQ4Ln4Km7ZeyEZ.S6jex8zLPPsIbk.CHy10kRcMh2MT3/C', 'student', NULL, '2022-11-29 01:33:42', '2022-11-29 01:33:42'),
|
||||||
|
(11, 'Tubagus MIxue', 'mixue@gmail.com', NULL, '$2y$10$Kvgw2Mr2wGPPPiIW5M7aHeF0bfeRo.M70KpzjLAabid/YlpWjL4Gi', 'student', NULL, '2023-01-02 14:02:09', '2023-01-02 14:02:09');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Stand-in structure for view `view1`
|
||||||
|
-- (See below for the actual view)
|
||||||
|
--
|
||||||
|
CREATE TABLE `view1` (
|
||||||
|
`id` int(11)
|
||||||
|
,`level_id` int(11)
|
||||||
|
,`question` text
|
||||||
|
,`option_a` varchar(200)
|
||||||
|
,`option_b` varchar(200)
|
||||||
|
,`option_c` varchar(200)
|
||||||
|
,`option_d` varchar(200)
|
||||||
|
,`option_e` varchar(200)
|
||||||
|
,`answer_key` varchar(5)
|
||||||
|
,`weight` smallint(6)
|
||||||
|
,`ts_entri` timestamp
|
||||||
|
);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Stand-in structure for view `v_level_title`
|
||||||
|
-- (See below for the actual view)
|
||||||
|
--
|
||||||
|
CREATE TABLE `v_level_title` (
|
||||||
|
`id` int(11)
|
||||||
|
,`title` varchar(100)
|
||||||
|
,`subject_id` int(11)
|
||||||
|
,`topic_id` int(11)
|
||||||
|
,`is_pretest` tinyint(1)
|
||||||
|
,`content` varchar(200)
|
||||||
|
,`video` varchar(200)
|
||||||
|
,`audio` varchar(200)
|
||||||
|
,`image` varchar(200)
|
||||||
|
,`youtube` varchar(200)
|
||||||
|
,`route1` int(11)
|
||||||
|
,`route2` int(11)
|
||||||
|
,`route3` int(11)
|
||||||
|
,`route4` int(11)
|
||||||
|
,`ts_entri` timestamp
|
||||||
|
,`title_route1` varchar(100)
|
||||||
|
,`content_route1` varchar(200)
|
||||||
|
,`title_route2` varchar(100)
|
||||||
|
,`content_route2` varchar(200)
|
||||||
|
,`title_route3` varchar(100)
|
||||||
|
,`content_route3` varchar(200)
|
||||||
|
,`title_route4` varchar(100)
|
||||||
|
,`content_route4` varchar(200)
|
||||||
|
);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Stand-in structure for view `v_std_exercises`
|
||||||
|
-- (See below for the actual view)
|
||||||
|
--
|
||||||
|
CREATE TABLE `v_std_exercises` (
|
||||||
|
`id` bigint(20)
|
||||||
|
,`std_learning_id` bigint(20)
|
||||||
|
,`exercise_id` int(11)
|
||||||
|
,`answer` char(1)
|
||||||
|
,`is_correct` tinyint(1)
|
||||||
|
,`score` smallint(11)
|
||||||
|
,`answer_key` varchar(5)
|
||||||
|
,`weight` smallint(6)
|
||||||
|
,`question` text
|
||||||
|
);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Stand-in structure for view `v_std_exercises_route`
|
||||||
|
-- (See below for the actual view)
|
||||||
|
--
|
||||||
|
CREATE TABLE `v_std_exercises_route` (
|
||||||
|
`std_learning_id` bigint(20)
|
||||||
|
,`score_exercise` decimal(39,4)
|
||||||
|
,`level_id` int(11)
|
||||||
|
,`ROUTE` int(11)
|
||||||
|
);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Stand-in structure for view `v_std_exercises_score`
|
||||||
|
-- (See below for the actual view)
|
||||||
|
--
|
||||||
|
CREATE TABLE `v_std_exercises_score` (
|
||||||
|
`std_learning_id` bigint(20)
|
||||||
|
,`score_exercise` decimal(39,4)
|
||||||
|
);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Structure for view `view1`
|
||||||
|
--
|
||||||
|
DROP TABLE IF EXISTS `view1`;
|
||||||
|
|
||||||
|
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `view1` AS SELECT `m_exercises`.`id` AS `id`, `m_exercises`.`level_id` AS `level_id`, `m_exercises`.`question` AS `question`, `m_exercises`.`option_a` AS `option_a`, `m_exercises`.`option_b` AS `option_b`, `m_exercises`.`option_c` AS `option_c`, `m_exercises`.`option_d` AS `option_d`, `m_exercises`.`option_e` AS `option_e`, `m_exercises`.`answer_key` AS `answer_key`, `m_exercises`.`weight` AS `weight`, `m_exercises`.`ts_entri` AS `ts_entri` FROM `m_exercises` ;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Structure for view `v_level_title`
|
||||||
|
--
|
||||||
|
DROP TABLE IF EXISTS `v_level_title`;
|
||||||
|
|
||||||
|
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_level_title` AS SELECT `a`.`id` AS `id`, `a`.`title` AS `title`, `a`.`subject_id` AS `subject_id`, `a`.`topic_id` AS `topic_id`, `a`.`is_pretest` AS `is_pretest`, `a`.`content` AS `content`, `a`.`video` AS `video`, `a`.`audio` AS `audio`, `a`.`image` AS `image`, `a`.`youtube` AS `youtube`, `a`.`route1` AS `route1`, `a`.`route2` AS `route2`, `a`.`route3` AS `route3`, `a`.`route4` AS `route4`, `a`.`ts_entri` AS `ts_entri`, `b`.`title` AS `title_route1`, `b`.`content` AS `content_route1`, `c`.`title` AS `title_route2`, `c`.`content` AS `content_route2`, `d`.`title` AS `title_route3`, `d`.`content` AS `content_route3`, `e`.`title` AS `title_route4`, `e`.`content` AS `content_route4` FROM ((((`m_levels` `a` left join `m_levels` `b` on(`a`.`route1` = `b`.`id`)) left join `m_levels` `c` on(`a`.`route2` = `c`.`id`)) left join `m_levels` `d` on(`a`.`route3` = `d`.`id`)) left join `m_levels` `e` on(`a`.`route4` = `e`.`id`)) ;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Structure for view `v_std_exercises`
|
||||||
|
--
|
||||||
|
DROP TABLE IF EXISTS `v_std_exercises`;
|
||||||
|
|
||||||
|
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_std_exercises` AS SELECT `a`.`id` AS `id`, `a`.`std_learning_id` AS `std_learning_id`, `a`.`exercise_id` AS `exercise_id`, `a`.`answer` AS `answer`, `a`.`is_correct` AS `is_correct`, `a`.`score` AS `score`, `b`.`answer_key` AS `answer_key`, `b`.`weight` AS `weight`, `b`.`question` AS `question` FROM (`m_std_exercises` `a` join `m_exercises` `b` on(`a`.`exercise_id` = `b`.`id`)) ;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Structure for view `v_std_exercises_route`
|
||||||
|
--
|
||||||
|
DROP TABLE IF EXISTS `v_std_exercises_route`;
|
||||||
|
|
||||||
|
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_std_exercises_route` AS SELECT `a`.`std_learning_id` AS `std_learning_id`, `a`.`score_exercise` AS `score_exercise`, `b`.`level_id` AS `level_id`, if(`a`.`score_exercise` < 26,`c`.`route1`,if(`a`.`score_exercise` < 51,`c`.`route2`,if(`a`.`score_exercise` < 76,`c`.`route3`,`c`.`route4`))) AS `ROUTE` FROM ((`v_std_exercises_score` `a` join `m_std_learnings` `b` on(`a`.`std_learning_id` = `b`.`id`)) join `m_levels` `c` on(`b`.`level_id` = `c`.`id`)) ;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Structure for view `v_std_exercises_score`
|
||||||
|
--
|
||||||
|
DROP TABLE IF EXISTS `v_std_exercises_score`;
|
||||||
|
|
||||||
|
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_std_exercises_score` AS SELECT `v_std_exercises`.`std_learning_id` AS `std_learning_id`, sum(`v_std_exercises`.`score`) / sum(`v_std_exercises`.`weight`) * 100 AS `score_exercise` FROM `v_std_exercises` GROUP BY `v_std_exercises`.`std_learning_id` ;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for dumped tables
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `failed_jobs`
|
||||||
|
--
|
||||||
|
ALTER TABLE `failed_jobs`
|
||||||
|
ADD PRIMARY KEY (`id`),
|
||||||
|
ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `migrations`
|
||||||
|
--
|
||||||
|
ALTER TABLE `migrations`
|
||||||
|
ADD PRIMARY KEY (`id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `m_exercises`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_exercises`
|
||||||
|
ADD PRIMARY KEY (`id`),
|
||||||
|
ADD KEY `const_study` (`level_id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `m_levels`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_levels`
|
||||||
|
ADD PRIMARY KEY (`id`),
|
||||||
|
ADD KEY `study_to_topic` (`subject_id`),
|
||||||
|
ADD KEY `topic_id` (`topic_id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `m_std_exercises`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_std_exercises`
|
||||||
|
ADD PRIMARY KEY (`id`),
|
||||||
|
ADD KEY `std_exc_to_exercise` (`exercise_id`),
|
||||||
|
ADD KEY `std_exc_to_user` (`std_learning_id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `m_std_learnings`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_std_learnings`
|
||||||
|
ADD PRIMARY KEY (`id`),
|
||||||
|
ADD KEY `std_learning_to_sbj` (`level_id`),
|
||||||
|
ADD KEY `std_learning_to_user` (`user_id`),
|
||||||
|
ADD KEY `route_study` (`next_learning`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `m_subjects`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_subjects`
|
||||||
|
ADD PRIMARY KEY (`id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `m_topics`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_topics`
|
||||||
|
ADD PRIMARY KEY (`id`),
|
||||||
|
ADD KEY `subject_id` (`subject_id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `password_resets`
|
||||||
|
--
|
||||||
|
ALTER TABLE `password_resets`
|
||||||
|
ADD KEY `password_resets_email_index` (`email`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `personal_access_tokens`
|
||||||
|
--
|
||||||
|
ALTER TABLE `personal_access_tokens`
|
||||||
|
ADD PRIMARY KEY (`id`),
|
||||||
|
ADD UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
|
||||||
|
ADD KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `users`
|
||||||
|
--
|
||||||
|
ALTER TABLE `users`
|
||||||
|
ADD PRIMARY KEY (`id`),
|
||||||
|
ADD UNIQUE KEY `users_email_unique` (`email`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for dumped tables
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `failed_jobs`
|
||||||
|
--
|
||||||
|
ALTER TABLE `failed_jobs`
|
||||||
|
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `migrations`
|
||||||
|
--
|
||||||
|
ALTER TABLE `migrations`
|
||||||
|
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `m_exercises`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_exercises`
|
||||||
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `m_levels`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_levels`
|
||||||
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=44;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `m_std_exercises`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_std_exercises`
|
||||||
|
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=156;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `m_std_learnings`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_std_learnings`
|
||||||
|
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=333;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `m_subjects`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_subjects`
|
||||||
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `m_topics`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_topics`
|
||||||
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `personal_access_tokens`
|
||||||
|
--
|
||||||
|
ALTER TABLE `personal_access_tokens`
|
||||||
|
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `users`
|
||||||
|
--
|
||||||
|
ALTER TABLE `users`
|
||||||
|
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Constraints for dumped tables
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Constraints for table `m_exercises`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_exercises`
|
||||||
|
ADD CONSTRAINT `const_study` FOREIGN KEY (`level_id`) REFERENCES `m_levels` (`id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Constraints for table `m_levels`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_levels`
|
||||||
|
ADD CONSTRAINT `level_to_topic` FOREIGN KEY (`topic_id`) REFERENCES `m_topics` (`id`),
|
||||||
|
ADD CONSTRAINT `study_to_topic` FOREIGN KEY (`subject_id`) REFERENCES `m_subjects` (`id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Constraints for table `m_std_exercises`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_std_exercises`
|
||||||
|
ADD CONSTRAINT `std_exc_to_exercise` FOREIGN KEY (`exercise_id`) REFERENCES `m_exercises` (`id`),
|
||||||
|
ADD CONSTRAINT `std_exc_to_std_learning` FOREIGN KEY (`std_learning_id`) REFERENCES `m_std_learnings` (`id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Constraints for table `m_std_learnings`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_std_learnings`
|
||||||
|
ADD CONSTRAINT `std_learning_to_sbj` FOREIGN KEY (`level_id`) REFERENCES `m_levels` (`id`),
|
||||||
|
ADD CONSTRAINT `std_learning_to_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
|
||||||
|
ADD CONSTRAINT `std_next_learning_to_level` FOREIGN KEY (`next_learning`) REFERENCES `m_levels` (`id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Constraints for table `m_topics`
|
||||||
|
--
|
||||||
|
ALTER TABLE `m_topics`
|
||||||
|
ADD CONSTRAINT `topics_to_subjects` FOREIGN KEY (`subject_id`) REFERENCES `m_subjects` (`id`);
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
21
adaptive-english-lesson-main/public/.htaccess
Normal file
21
adaptive-english-lesson-main/public/.htaccess
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
<IfModule mod_negotiation.c>
|
||||||
|
Options -MultiViews -Indexes
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
RewriteEngine On
|
||||||
|
|
||||||
|
# Handle Authorization Header
|
||||||
|
RewriteCond %{HTTP:Authorization} .
|
||||||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
|
||||||
|
# Redirect Trailing Slashes If Not A Folder...
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteCond %{REQUEST_URI} (.+)/$
|
||||||
|
RewriteRule ^ %1 [L,R=301]
|
||||||
|
|
||||||
|
# Handle Front Controller...
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteRule ^ index.php [L]
|
||||||
|
</IfModule>
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
# README #
|
||||||
|
|
||||||
|
We have tried to add most of the packages into package.json, but we advice you to do not update any plugin, we will provide you update whenever our future release.
|
||||||
|
|
||||||
|
|
||||||
2337
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/css/font-awesome.css
vendored
Normal file
2337
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/css/font-awesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
4
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/css/font-awesome.min.css
vendored
Normal file
4
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 434 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
34
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/animated.less
vendored
Normal file
34
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/animated.less
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
// Animated Icons
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-spin {
|
||||||
|
-webkit-animation: fa-spin 2s infinite linear;
|
||||||
|
animation: fa-spin 2s infinite linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-pulse {
|
||||||
|
-webkit-animation: fa-spin 1s infinite steps(8);
|
||||||
|
animation: fa-spin 1s infinite steps(8);
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes fa-spin {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(359deg);
|
||||||
|
transform: rotate(359deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fa-spin {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(359deg);
|
||||||
|
transform: rotate(359deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
25
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/bordered-pulled.less
vendored
Normal file
25
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/bordered-pulled.less
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
// Bordered & Pulled
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-border {
|
||||||
|
padding: .2em .25em .15em;
|
||||||
|
border: solid .08em @fa-border-color;
|
||||||
|
border-radius: .1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-pull-left { float: left; }
|
||||||
|
.@{fa-css-prefix}-pull-right { float: right; }
|
||||||
|
|
||||||
|
.@{fa-css-prefix} {
|
||||||
|
&.@{fa-css-prefix}-pull-left { margin-right: .3em; }
|
||||||
|
&.@{fa-css-prefix}-pull-right { margin-left: .3em; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deprecated as of 4.4.0 */
|
||||||
|
.pull-right { float: right; }
|
||||||
|
.pull-left { float: left; }
|
||||||
|
|
||||||
|
.@{fa-css-prefix} {
|
||||||
|
&.pull-left { margin-right: .3em; }
|
||||||
|
&.pull-right { margin-left: .3em; }
|
||||||
|
}
|
||||||
12
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/core.less
vendored
Normal file
12
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/core.less
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
// Base Class Definition
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix} {
|
||||||
|
display: inline-block;
|
||||||
|
font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
|
||||||
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
}
|
||||||
6
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/fixed-width.less
vendored
Normal file
6
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/fixed-width.less
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
// Fixed Width Icons
|
||||||
|
// -------------------------
|
||||||
|
.@{fa-css-prefix}-fw {
|
||||||
|
width: (18em / 14);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
18
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/font-awesome.less
vendored
Normal file
18
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/font-awesome.less
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||||
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import "variables.less";
|
||||||
|
@import "mixins.less";
|
||||||
|
@import "path.less";
|
||||||
|
@import "core.less";
|
||||||
|
@import "larger.less";
|
||||||
|
@import "fixed-width.less";
|
||||||
|
@import "list.less";
|
||||||
|
@import "bordered-pulled.less";
|
||||||
|
@import "animated.less";
|
||||||
|
@import "rotated-flipped.less";
|
||||||
|
@import "stacked.less";
|
||||||
|
@import "icons.less";
|
||||||
|
@import "screen-reader.less";
|
||||||
789
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/icons.less
vendored
Normal file
789
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/icons.less
vendored
Normal file
|
|
@ -0,0 +1,789 @@
|
||||||
|
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||||
|
readers do not read off random characters that represent icons */
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-glass:before { content: @fa-var-glass; }
|
||||||
|
.@{fa-css-prefix}-music:before { content: @fa-var-music; }
|
||||||
|
.@{fa-css-prefix}-search:before { content: @fa-var-search; }
|
||||||
|
.@{fa-css-prefix}-envelope-o:before { content: @fa-var-envelope-o; }
|
||||||
|
.@{fa-css-prefix}-heart:before { content: @fa-var-heart; }
|
||||||
|
.@{fa-css-prefix}-star:before { content: @fa-var-star; }
|
||||||
|
.@{fa-css-prefix}-star-o:before { content: @fa-var-star-o; }
|
||||||
|
.@{fa-css-prefix}-user:before { content: @fa-var-user; }
|
||||||
|
.@{fa-css-prefix}-film:before { content: @fa-var-film; }
|
||||||
|
.@{fa-css-prefix}-th-large:before { content: @fa-var-th-large; }
|
||||||
|
.@{fa-css-prefix}-th:before { content: @fa-var-th; }
|
||||||
|
.@{fa-css-prefix}-th-list:before { content: @fa-var-th-list; }
|
||||||
|
.@{fa-css-prefix}-check:before { content: @fa-var-check; }
|
||||||
|
.@{fa-css-prefix}-remove:before,
|
||||||
|
.@{fa-css-prefix}-close:before,
|
||||||
|
.@{fa-css-prefix}-times:before { content: @fa-var-times; }
|
||||||
|
.@{fa-css-prefix}-search-plus:before { content: @fa-var-search-plus; }
|
||||||
|
.@{fa-css-prefix}-search-minus:before { content: @fa-var-search-minus; }
|
||||||
|
.@{fa-css-prefix}-power-off:before { content: @fa-var-power-off; }
|
||||||
|
.@{fa-css-prefix}-signal:before { content: @fa-var-signal; }
|
||||||
|
.@{fa-css-prefix}-gear:before,
|
||||||
|
.@{fa-css-prefix}-cog:before { content: @fa-var-cog; }
|
||||||
|
.@{fa-css-prefix}-trash-o:before { content: @fa-var-trash-o; }
|
||||||
|
.@{fa-css-prefix}-home:before { content: @fa-var-home; }
|
||||||
|
.@{fa-css-prefix}-file-o:before { content: @fa-var-file-o; }
|
||||||
|
.@{fa-css-prefix}-clock-o:before { content: @fa-var-clock-o; }
|
||||||
|
.@{fa-css-prefix}-road:before { content: @fa-var-road; }
|
||||||
|
.@{fa-css-prefix}-download:before { content: @fa-var-download; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-o-down:before { content: @fa-var-arrow-circle-o-down; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-o-up:before { content: @fa-var-arrow-circle-o-up; }
|
||||||
|
.@{fa-css-prefix}-inbox:before { content: @fa-var-inbox; }
|
||||||
|
.@{fa-css-prefix}-play-circle-o:before { content: @fa-var-play-circle-o; }
|
||||||
|
.@{fa-css-prefix}-rotate-right:before,
|
||||||
|
.@{fa-css-prefix}-repeat:before { content: @fa-var-repeat; }
|
||||||
|
.@{fa-css-prefix}-refresh:before { content: @fa-var-refresh; }
|
||||||
|
.@{fa-css-prefix}-list-alt:before { content: @fa-var-list-alt; }
|
||||||
|
.@{fa-css-prefix}-lock:before { content: @fa-var-lock; }
|
||||||
|
.@{fa-css-prefix}-flag:before { content: @fa-var-flag; }
|
||||||
|
.@{fa-css-prefix}-headphones:before { content: @fa-var-headphones; }
|
||||||
|
.@{fa-css-prefix}-volume-off:before { content: @fa-var-volume-off; }
|
||||||
|
.@{fa-css-prefix}-volume-down:before { content: @fa-var-volume-down; }
|
||||||
|
.@{fa-css-prefix}-volume-up:before { content: @fa-var-volume-up; }
|
||||||
|
.@{fa-css-prefix}-qrcode:before { content: @fa-var-qrcode; }
|
||||||
|
.@{fa-css-prefix}-barcode:before { content: @fa-var-barcode; }
|
||||||
|
.@{fa-css-prefix}-tag:before { content: @fa-var-tag; }
|
||||||
|
.@{fa-css-prefix}-tags:before { content: @fa-var-tags; }
|
||||||
|
.@{fa-css-prefix}-book:before { content: @fa-var-book; }
|
||||||
|
.@{fa-css-prefix}-bookmark:before { content: @fa-var-bookmark; }
|
||||||
|
.@{fa-css-prefix}-print:before { content: @fa-var-print; }
|
||||||
|
.@{fa-css-prefix}-camera:before { content: @fa-var-camera; }
|
||||||
|
.@{fa-css-prefix}-font:before { content: @fa-var-font; }
|
||||||
|
.@{fa-css-prefix}-bold:before { content: @fa-var-bold; }
|
||||||
|
.@{fa-css-prefix}-italic:before { content: @fa-var-italic; }
|
||||||
|
.@{fa-css-prefix}-text-height:before { content: @fa-var-text-height; }
|
||||||
|
.@{fa-css-prefix}-text-width:before { content: @fa-var-text-width; }
|
||||||
|
.@{fa-css-prefix}-align-left:before { content: @fa-var-align-left; }
|
||||||
|
.@{fa-css-prefix}-align-center:before { content: @fa-var-align-center; }
|
||||||
|
.@{fa-css-prefix}-align-right:before { content: @fa-var-align-right; }
|
||||||
|
.@{fa-css-prefix}-align-justify:before { content: @fa-var-align-justify; }
|
||||||
|
.@{fa-css-prefix}-list:before { content: @fa-var-list; }
|
||||||
|
.@{fa-css-prefix}-dedent:before,
|
||||||
|
.@{fa-css-prefix}-outdent:before { content: @fa-var-outdent; }
|
||||||
|
.@{fa-css-prefix}-indent:before { content: @fa-var-indent; }
|
||||||
|
.@{fa-css-prefix}-video-camera:before { content: @fa-var-video-camera; }
|
||||||
|
.@{fa-css-prefix}-photo:before,
|
||||||
|
.@{fa-css-prefix}-image:before,
|
||||||
|
.@{fa-css-prefix}-picture-o:before { content: @fa-var-picture-o; }
|
||||||
|
.@{fa-css-prefix}-pencil:before { content: @fa-var-pencil; }
|
||||||
|
.@{fa-css-prefix}-map-marker:before { content: @fa-var-map-marker; }
|
||||||
|
.@{fa-css-prefix}-adjust:before { content: @fa-var-adjust; }
|
||||||
|
.@{fa-css-prefix}-tint:before { content: @fa-var-tint; }
|
||||||
|
.@{fa-css-prefix}-edit:before,
|
||||||
|
.@{fa-css-prefix}-pencil-square-o:before { content: @fa-var-pencil-square-o; }
|
||||||
|
.@{fa-css-prefix}-share-square-o:before { content: @fa-var-share-square-o; }
|
||||||
|
.@{fa-css-prefix}-check-square-o:before { content: @fa-var-check-square-o; }
|
||||||
|
.@{fa-css-prefix}-arrows:before { content: @fa-var-arrows; }
|
||||||
|
.@{fa-css-prefix}-step-backward:before { content: @fa-var-step-backward; }
|
||||||
|
.@{fa-css-prefix}-fast-backward:before { content: @fa-var-fast-backward; }
|
||||||
|
.@{fa-css-prefix}-backward:before { content: @fa-var-backward; }
|
||||||
|
.@{fa-css-prefix}-play:before { content: @fa-var-play; }
|
||||||
|
.@{fa-css-prefix}-pause:before { content: @fa-var-pause; }
|
||||||
|
.@{fa-css-prefix}-stop:before { content: @fa-var-stop; }
|
||||||
|
.@{fa-css-prefix}-forward:before { content: @fa-var-forward; }
|
||||||
|
.@{fa-css-prefix}-fast-forward:before { content: @fa-var-fast-forward; }
|
||||||
|
.@{fa-css-prefix}-step-forward:before { content: @fa-var-step-forward; }
|
||||||
|
.@{fa-css-prefix}-eject:before { content: @fa-var-eject; }
|
||||||
|
.@{fa-css-prefix}-chevron-left:before { content: @fa-var-chevron-left; }
|
||||||
|
.@{fa-css-prefix}-chevron-right:before { content: @fa-var-chevron-right; }
|
||||||
|
.@{fa-css-prefix}-plus-circle:before { content: @fa-var-plus-circle; }
|
||||||
|
.@{fa-css-prefix}-minus-circle:before { content: @fa-var-minus-circle; }
|
||||||
|
.@{fa-css-prefix}-times-circle:before { content: @fa-var-times-circle; }
|
||||||
|
.@{fa-css-prefix}-check-circle:before { content: @fa-var-check-circle; }
|
||||||
|
.@{fa-css-prefix}-question-circle:before { content: @fa-var-question-circle; }
|
||||||
|
.@{fa-css-prefix}-info-circle:before { content: @fa-var-info-circle; }
|
||||||
|
.@{fa-css-prefix}-crosshairs:before { content: @fa-var-crosshairs; }
|
||||||
|
.@{fa-css-prefix}-times-circle-o:before { content: @fa-var-times-circle-o; }
|
||||||
|
.@{fa-css-prefix}-check-circle-o:before { content: @fa-var-check-circle-o; }
|
||||||
|
.@{fa-css-prefix}-ban:before { content: @fa-var-ban; }
|
||||||
|
.@{fa-css-prefix}-arrow-left:before { content: @fa-var-arrow-left; }
|
||||||
|
.@{fa-css-prefix}-arrow-right:before { content: @fa-var-arrow-right; }
|
||||||
|
.@{fa-css-prefix}-arrow-up:before { content: @fa-var-arrow-up; }
|
||||||
|
.@{fa-css-prefix}-arrow-down:before { content: @fa-var-arrow-down; }
|
||||||
|
.@{fa-css-prefix}-mail-forward:before,
|
||||||
|
.@{fa-css-prefix}-share:before { content: @fa-var-share; }
|
||||||
|
.@{fa-css-prefix}-expand:before { content: @fa-var-expand; }
|
||||||
|
.@{fa-css-prefix}-compress:before { content: @fa-var-compress; }
|
||||||
|
.@{fa-css-prefix}-plus:before { content: @fa-var-plus; }
|
||||||
|
.@{fa-css-prefix}-minus:before { content: @fa-var-minus; }
|
||||||
|
.@{fa-css-prefix}-asterisk:before { content: @fa-var-asterisk; }
|
||||||
|
.@{fa-css-prefix}-exclamation-circle:before { content: @fa-var-exclamation-circle; }
|
||||||
|
.@{fa-css-prefix}-gift:before { content: @fa-var-gift; }
|
||||||
|
.@{fa-css-prefix}-leaf:before { content: @fa-var-leaf; }
|
||||||
|
.@{fa-css-prefix}-fire:before { content: @fa-var-fire; }
|
||||||
|
.@{fa-css-prefix}-eye:before { content: @fa-var-eye; }
|
||||||
|
.@{fa-css-prefix}-eye-slash:before { content: @fa-var-eye-slash; }
|
||||||
|
.@{fa-css-prefix}-warning:before,
|
||||||
|
.@{fa-css-prefix}-exclamation-triangle:before { content: @fa-var-exclamation-triangle; }
|
||||||
|
.@{fa-css-prefix}-plane:before { content: @fa-var-plane; }
|
||||||
|
.@{fa-css-prefix}-calendar:before { content: @fa-var-calendar; }
|
||||||
|
.@{fa-css-prefix}-random:before { content: @fa-var-random; }
|
||||||
|
.@{fa-css-prefix}-comment:before { content: @fa-var-comment; }
|
||||||
|
.@{fa-css-prefix}-magnet:before { content: @fa-var-magnet; }
|
||||||
|
.@{fa-css-prefix}-chevron-up:before { content: @fa-var-chevron-up; }
|
||||||
|
.@{fa-css-prefix}-chevron-down:before { content: @fa-var-chevron-down; }
|
||||||
|
.@{fa-css-prefix}-retweet:before { content: @fa-var-retweet; }
|
||||||
|
.@{fa-css-prefix}-shopping-cart:before { content: @fa-var-shopping-cart; }
|
||||||
|
.@{fa-css-prefix}-folder:before { content: @fa-var-folder; }
|
||||||
|
.@{fa-css-prefix}-folder-open:before { content: @fa-var-folder-open; }
|
||||||
|
.@{fa-css-prefix}-arrows-v:before { content: @fa-var-arrows-v; }
|
||||||
|
.@{fa-css-prefix}-arrows-h:before { content: @fa-var-arrows-h; }
|
||||||
|
.@{fa-css-prefix}-bar-chart-o:before,
|
||||||
|
.@{fa-css-prefix}-bar-chart:before { content: @fa-var-bar-chart; }
|
||||||
|
.@{fa-css-prefix}-twitter-square:before { content: @fa-var-twitter-square; }
|
||||||
|
.@{fa-css-prefix}-facebook-square:before { content: @fa-var-facebook-square; }
|
||||||
|
.@{fa-css-prefix}-camera-retro:before { content: @fa-var-camera-retro; }
|
||||||
|
.@{fa-css-prefix}-key:before { content: @fa-var-key; }
|
||||||
|
.@{fa-css-prefix}-gears:before,
|
||||||
|
.@{fa-css-prefix}-cogs:before { content: @fa-var-cogs; }
|
||||||
|
.@{fa-css-prefix}-comments:before { content: @fa-var-comments; }
|
||||||
|
.@{fa-css-prefix}-thumbs-o-up:before { content: @fa-var-thumbs-o-up; }
|
||||||
|
.@{fa-css-prefix}-thumbs-o-down:before { content: @fa-var-thumbs-o-down; }
|
||||||
|
.@{fa-css-prefix}-star-half:before { content: @fa-var-star-half; }
|
||||||
|
.@{fa-css-prefix}-heart-o:before { content: @fa-var-heart-o; }
|
||||||
|
.@{fa-css-prefix}-sign-out:before { content: @fa-var-sign-out; }
|
||||||
|
.@{fa-css-prefix}-linkedin-square:before { content: @fa-var-linkedin-square; }
|
||||||
|
.@{fa-css-prefix}-thumb-tack:before { content: @fa-var-thumb-tack; }
|
||||||
|
.@{fa-css-prefix}-external-link:before { content: @fa-var-external-link; }
|
||||||
|
.@{fa-css-prefix}-sign-in:before { content: @fa-var-sign-in; }
|
||||||
|
.@{fa-css-prefix}-trophy:before { content: @fa-var-trophy; }
|
||||||
|
.@{fa-css-prefix}-github-square:before { content: @fa-var-github-square; }
|
||||||
|
.@{fa-css-prefix}-upload:before { content: @fa-var-upload; }
|
||||||
|
.@{fa-css-prefix}-lemon-o:before { content: @fa-var-lemon-o; }
|
||||||
|
.@{fa-css-prefix}-phone:before { content: @fa-var-phone; }
|
||||||
|
.@{fa-css-prefix}-square-o:before { content: @fa-var-square-o; }
|
||||||
|
.@{fa-css-prefix}-bookmark-o:before { content: @fa-var-bookmark-o; }
|
||||||
|
.@{fa-css-prefix}-phone-square:before { content: @fa-var-phone-square; }
|
||||||
|
.@{fa-css-prefix}-twitter:before { content: @fa-var-twitter; }
|
||||||
|
.@{fa-css-prefix}-facebook-f:before,
|
||||||
|
.@{fa-css-prefix}-facebook:before { content: @fa-var-facebook; }
|
||||||
|
.@{fa-css-prefix}-github:before { content: @fa-var-github; }
|
||||||
|
.@{fa-css-prefix}-unlock:before { content: @fa-var-unlock; }
|
||||||
|
.@{fa-css-prefix}-credit-card:before { content: @fa-var-credit-card; }
|
||||||
|
.@{fa-css-prefix}-feed:before,
|
||||||
|
.@{fa-css-prefix}-rss:before { content: @fa-var-rss; }
|
||||||
|
.@{fa-css-prefix}-hdd-o:before { content: @fa-var-hdd-o; }
|
||||||
|
.@{fa-css-prefix}-bullhorn:before { content: @fa-var-bullhorn; }
|
||||||
|
.@{fa-css-prefix}-bell:before { content: @fa-var-bell; }
|
||||||
|
.@{fa-css-prefix}-certificate:before { content: @fa-var-certificate; }
|
||||||
|
.@{fa-css-prefix}-hand-o-right:before { content: @fa-var-hand-o-right; }
|
||||||
|
.@{fa-css-prefix}-hand-o-left:before { content: @fa-var-hand-o-left; }
|
||||||
|
.@{fa-css-prefix}-hand-o-up:before { content: @fa-var-hand-o-up; }
|
||||||
|
.@{fa-css-prefix}-hand-o-down:before { content: @fa-var-hand-o-down; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-left:before { content: @fa-var-arrow-circle-left; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-right:before { content: @fa-var-arrow-circle-right; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-up:before { content: @fa-var-arrow-circle-up; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-down:before { content: @fa-var-arrow-circle-down; }
|
||||||
|
.@{fa-css-prefix}-globe:before { content: @fa-var-globe; }
|
||||||
|
.@{fa-css-prefix}-wrench:before { content: @fa-var-wrench; }
|
||||||
|
.@{fa-css-prefix}-tasks:before { content: @fa-var-tasks; }
|
||||||
|
.@{fa-css-prefix}-filter:before { content: @fa-var-filter; }
|
||||||
|
.@{fa-css-prefix}-briefcase:before { content: @fa-var-briefcase; }
|
||||||
|
.@{fa-css-prefix}-arrows-alt:before { content: @fa-var-arrows-alt; }
|
||||||
|
.@{fa-css-prefix}-group:before,
|
||||||
|
.@{fa-css-prefix}-users:before { content: @fa-var-users; }
|
||||||
|
.@{fa-css-prefix}-chain:before,
|
||||||
|
.@{fa-css-prefix}-link:before { content: @fa-var-link; }
|
||||||
|
.@{fa-css-prefix}-cloud:before { content: @fa-var-cloud; }
|
||||||
|
.@{fa-css-prefix}-flask:before { content: @fa-var-flask; }
|
||||||
|
.@{fa-css-prefix}-cut:before,
|
||||||
|
.@{fa-css-prefix}-scissors:before { content: @fa-var-scissors; }
|
||||||
|
.@{fa-css-prefix}-copy:before,
|
||||||
|
.@{fa-css-prefix}-files-o:before { content: @fa-var-files-o; }
|
||||||
|
.@{fa-css-prefix}-paperclip:before { content: @fa-var-paperclip; }
|
||||||
|
.@{fa-css-prefix}-save:before,
|
||||||
|
.@{fa-css-prefix}-floppy-o:before { content: @fa-var-floppy-o; }
|
||||||
|
.@{fa-css-prefix}-square:before { content: @fa-var-square; }
|
||||||
|
.@{fa-css-prefix}-navicon:before,
|
||||||
|
.@{fa-css-prefix}-reorder:before,
|
||||||
|
.@{fa-css-prefix}-bars:before { content: @fa-var-bars; }
|
||||||
|
.@{fa-css-prefix}-list-ul:before { content: @fa-var-list-ul; }
|
||||||
|
.@{fa-css-prefix}-list-ol:before { content: @fa-var-list-ol; }
|
||||||
|
.@{fa-css-prefix}-strikethrough:before { content: @fa-var-strikethrough; }
|
||||||
|
.@{fa-css-prefix}-underline:before { content: @fa-var-underline; }
|
||||||
|
.@{fa-css-prefix}-table:before { content: @fa-var-table; }
|
||||||
|
.@{fa-css-prefix}-magic:before { content: @fa-var-magic; }
|
||||||
|
.@{fa-css-prefix}-truck:before { content: @fa-var-truck; }
|
||||||
|
.@{fa-css-prefix}-pinterest:before { content: @fa-var-pinterest; }
|
||||||
|
.@{fa-css-prefix}-pinterest-square:before { content: @fa-var-pinterest-square; }
|
||||||
|
.@{fa-css-prefix}-google-plus-square:before { content: @fa-var-google-plus-square; }
|
||||||
|
.@{fa-css-prefix}-google-plus:before { content: @fa-var-google-plus; }
|
||||||
|
.@{fa-css-prefix}-money:before { content: @fa-var-money; }
|
||||||
|
.@{fa-css-prefix}-caret-down:before { content: @fa-var-caret-down; }
|
||||||
|
.@{fa-css-prefix}-caret-up:before { content: @fa-var-caret-up; }
|
||||||
|
.@{fa-css-prefix}-caret-left:before { content: @fa-var-caret-left; }
|
||||||
|
.@{fa-css-prefix}-caret-right:before { content: @fa-var-caret-right; }
|
||||||
|
.@{fa-css-prefix}-columns:before { content: @fa-var-columns; }
|
||||||
|
.@{fa-css-prefix}-unsorted:before,
|
||||||
|
.@{fa-css-prefix}-sort:before { content: @fa-var-sort; }
|
||||||
|
.@{fa-css-prefix}-sort-down:before,
|
||||||
|
.@{fa-css-prefix}-sort-desc:before { content: @fa-var-sort-desc; }
|
||||||
|
.@{fa-css-prefix}-sort-up:before,
|
||||||
|
.@{fa-css-prefix}-sort-asc:before { content: @fa-var-sort-asc; }
|
||||||
|
.@{fa-css-prefix}-envelope:before { content: @fa-var-envelope; }
|
||||||
|
.@{fa-css-prefix}-linkedin:before { content: @fa-var-linkedin; }
|
||||||
|
.@{fa-css-prefix}-rotate-left:before,
|
||||||
|
.@{fa-css-prefix}-undo:before { content: @fa-var-undo; }
|
||||||
|
.@{fa-css-prefix}-legal:before,
|
||||||
|
.@{fa-css-prefix}-gavel:before { content: @fa-var-gavel; }
|
||||||
|
.@{fa-css-prefix}-dashboard:before,
|
||||||
|
.@{fa-css-prefix}-tachometer:before { content: @fa-var-tachometer; }
|
||||||
|
.@{fa-css-prefix}-comment-o:before { content: @fa-var-comment-o; }
|
||||||
|
.@{fa-css-prefix}-comments-o:before { content: @fa-var-comments-o; }
|
||||||
|
.@{fa-css-prefix}-flash:before,
|
||||||
|
.@{fa-css-prefix}-bolt:before { content: @fa-var-bolt; }
|
||||||
|
.@{fa-css-prefix}-sitemap:before { content: @fa-var-sitemap; }
|
||||||
|
.@{fa-css-prefix}-umbrella:before { content: @fa-var-umbrella; }
|
||||||
|
.@{fa-css-prefix}-paste:before,
|
||||||
|
.@{fa-css-prefix}-clipboard:before { content: @fa-var-clipboard; }
|
||||||
|
.@{fa-css-prefix}-lightbulb-o:before { content: @fa-var-lightbulb-o; }
|
||||||
|
.@{fa-css-prefix}-exchange:before { content: @fa-var-exchange; }
|
||||||
|
.@{fa-css-prefix}-cloud-download:before { content: @fa-var-cloud-download; }
|
||||||
|
.@{fa-css-prefix}-cloud-upload:before { content: @fa-var-cloud-upload; }
|
||||||
|
.@{fa-css-prefix}-user-md:before { content: @fa-var-user-md; }
|
||||||
|
.@{fa-css-prefix}-stethoscope:before { content: @fa-var-stethoscope; }
|
||||||
|
.@{fa-css-prefix}-suitcase:before { content: @fa-var-suitcase; }
|
||||||
|
.@{fa-css-prefix}-bell-o:before { content: @fa-var-bell-o; }
|
||||||
|
.@{fa-css-prefix}-coffee:before { content: @fa-var-coffee; }
|
||||||
|
.@{fa-css-prefix}-cutlery:before { content: @fa-var-cutlery; }
|
||||||
|
.@{fa-css-prefix}-file-text-o:before { content: @fa-var-file-text-o; }
|
||||||
|
.@{fa-css-prefix}-building-o:before { content: @fa-var-building-o; }
|
||||||
|
.@{fa-css-prefix}-hospital-o:before { content: @fa-var-hospital-o; }
|
||||||
|
.@{fa-css-prefix}-ambulance:before { content: @fa-var-ambulance; }
|
||||||
|
.@{fa-css-prefix}-medkit:before { content: @fa-var-medkit; }
|
||||||
|
.@{fa-css-prefix}-fighter-jet:before { content: @fa-var-fighter-jet; }
|
||||||
|
.@{fa-css-prefix}-beer:before { content: @fa-var-beer; }
|
||||||
|
.@{fa-css-prefix}-h-square:before { content: @fa-var-h-square; }
|
||||||
|
.@{fa-css-prefix}-plus-square:before { content: @fa-var-plus-square; }
|
||||||
|
.@{fa-css-prefix}-angle-double-left:before { content: @fa-var-angle-double-left; }
|
||||||
|
.@{fa-css-prefix}-angle-double-right:before { content: @fa-var-angle-double-right; }
|
||||||
|
.@{fa-css-prefix}-angle-double-up:before { content: @fa-var-angle-double-up; }
|
||||||
|
.@{fa-css-prefix}-angle-double-down:before { content: @fa-var-angle-double-down; }
|
||||||
|
.@{fa-css-prefix}-angle-left:before { content: @fa-var-angle-left; }
|
||||||
|
.@{fa-css-prefix}-angle-right:before { content: @fa-var-angle-right; }
|
||||||
|
.@{fa-css-prefix}-angle-up:before { content: @fa-var-angle-up; }
|
||||||
|
.@{fa-css-prefix}-angle-down:before { content: @fa-var-angle-down; }
|
||||||
|
.@{fa-css-prefix}-desktop:before { content: @fa-var-desktop; }
|
||||||
|
.@{fa-css-prefix}-laptop:before { content: @fa-var-laptop; }
|
||||||
|
.@{fa-css-prefix}-tablet:before { content: @fa-var-tablet; }
|
||||||
|
.@{fa-css-prefix}-mobile-phone:before,
|
||||||
|
.@{fa-css-prefix}-mobile:before { content: @fa-var-mobile; }
|
||||||
|
.@{fa-css-prefix}-circle-o:before { content: @fa-var-circle-o; }
|
||||||
|
.@{fa-css-prefix}-quote-left:before { content: @fa-var-quote-left; }
|
||||||
|
.@{fa-css-prefix}-quote-right:before { content: @fa-var-quote-right; }
|
||||||
|
.@{fa-css-prefix}-spinner:before { content: @fa-var-spinner; }
|
||||||
|
.@{fa-css-prefix}-circle:before { content: @fa-var-circle; }
|
||||||
|
.@{fa-css-prefix}-mail-reply:before,
|
||||||
|
.@{fa-css-prefix}-reply:before { content: @fa-var-reply; }
|
||||||
|
.@{fa-css-prefix}-github-alt:before { content: @fa-var-github-alt; }
|
||||||
|
.@{fa-css-prefix}-folder-o:before { content: @fa-var-folder-o; }
|
||||||
|
.@{fa-css-prefix}-folder-open-o:before { content: @fa-var-folder-open-o; }
|
||||||
|
.@{fa-css-prefix}-smile-o:before { content: @fa-var-smile-o; }
|
||||||
|
.@{fa-css-prefix}-frown-o:before { content: @fa-var-frown-o; }
|
||||||
|
.@{fa-css-prefix}-meh-o:before { content: @fa-var-meh-o; }
|
||||||
|
.@{fa-css-prefix}-gamepad:before { content: @fa-var-gamepad; }
|
||||||
|
.@{fa-css-prefix}-keyboard-o:before { content: @fa-var-keyboard-o; }
|
||||||
|
.@{fa-css-prefix}-flag-o:before { content: @fa-var-flag-o; }
|
||||||
|
.@{fa-css-prefix}-flag-checkered:before { content: @fa-var-flag-checkered; }
|
||||||
|
.@{fa-css-prefix}-terminal:before { content: @fa-var-terminal; }
|
||||||
|
.@{fa-css-prefix}-code:before { content: @fa-var-code; }
|
||||||
|
.@{fa-css-prefix}-mail-reply-all:before,
|
||||||
|
.@{fa-css-prefix}-reply-all:before { content: @fa-var-reply-all; }
|
||||||
|
.@{fa-css-prefix}-star-half-empty:before,
|
||||||
|
.@{fa-css-prefix}-star-half-full:before,
|
||||||
|
.@{fa-css-prefix}-star-half-o:before { content: @fa-var-star-half-o; }
|
||||||
|
.@{fa-css-prefix}-location-arrow:before { content: @fa-var-location-arrow; }
|
||||||
|
.@{fa-css-prefix}-crop:before { content: @fa-var-crop; }
|
||||||
|
.@{fa-css-prefix}-code-fork:before { content: @fa-var-code-fork; }
|
||||||
|
.@{fa-css-prefix}-unlink:before,
|
||||||
|
.@{fa-css-prefix}-chain-broken:before { content: @fa-var-chain-broken; }
|
||||||
|
.@{fa-css-prefix}-question:before { content: @fa-var-question; }
|
||||||
|
.@{fa-css-prefix}-info:before { content: @fa-var-info; }
|
||||||
|
.@{fa-css-prefix}-exclamation:before { content: @fa-var-exclamation; }
|
||||||
|
.@{fa-css-prefix}-superscript:before { content: @fa-var-superscript; }
|
||||||
|
.@{fa-css-prefix}-subscript:before { content: @fa-var-subscript; }
|
||||||
|
.@{fa-css-prefix}-eraser:before { content: @fa-var-eraser; }
|
||||||
|
.@{fa-css-prefix}-puzzle-piece:before { content: @fa-var-puzzle-piece; }
|
||||||
|
.@{fa-css-prefix}-microphone:before { content: @fa-var-microphone; }
|
||||||
|
.@{fa-css-prefix}-microphone-slash:before { content: @fa-var-microphone-slash; }
|
||||||
|
.@{fa-css-prefix}-shield:before { content: @fa-var-shield; }
|
||||||
|
.@{fa-css-prefix}-calendar-o:before { content: @fa-var-calendar-o; }
|
||||||
|
.@{fa-css-prefix}-fire-extinguisher:before { content: @fa-var-fire-extinguisher; }
|
||||||
|
.@{fa-css-prefix}-rocket:before { content: @fa-var-rocket; }
|
||||||
|
.@{fa-css-prefix}-maxcdn:before { content: @fa-var-maxcdn; }
|
||||||
|
.@{fa-css-prefix}-chevron-circle-left:before { content: @fa-var-chevron-circle-left; }
|
||||||
|
.@{fa-css-prefix}-chevron-circle-right:before { content: @fa-var-chevron-circle-right; }
|
||||||
|
.@{fa-css-prefix}-chevron-circle-up:before { content: @fa-var-chevron-circle-up; }
|
||||||
|
.@{fa-css-prefix}-chevron-circle-down:before { content: @fa-var-chevron-circle-down; }
|
||||||
|
.@{fa-css-prefix}-html5:before { content: @fa-var-html5; }
|
||||||
|
.@{fa-css-prefix}-css3:before { content: @fa-var-css3; }
|
||||||
|
.@{fa-css-prefix}-anchor:before { content: @fa-var-anchor; }
|
||||||
|
.@{fa-css-prefix}-unlock-alt:before { content: @fa-var-unlock-alt; }
|
||||||
|
.@{fa-css-prefix}-bullseye:before { content: @fa-var-bullseye; }
|
||||||
|
.@{fa-css-prefix}-ellipsis-h:before { content: @fa-var-ellipsis-h; }
|
||||||
|
.@{fa-css-prefix}-ellipsis-v:before { content: @fa-var-ellipsis-v; }
|
||||||
|
.@{fa-css-prefix}-rss-square:before { content: @fa-var-rss-square; }
|
||||||
|
.@{fa-css-prefix}-play-circle:before { content: @fa-var-play-circle; }
|
||||||
|
.@{fa-css-prefix}-ticket:before { content: @fa-var-ticket; }
|
||||||
|
.@{fa-css-prefix}-minus-square:before { content: @fa-var-minus-square; }
|
||||||
|
.@{fa-css-prefix}-minus-square-o:before { content: @fa-var-minus-square-o; }
|
||||||
|
.@{fa-css-prefix}-level-up:before { content: @fa-var-level-up; }
|
||||||
|
.@{fa-css-prefix}-level-down:before { content: @fa-var-level-down; }
|
||||||
|
.@{fa-css-prefix}-check-square:before { content: @fa-var-check-square; }
|
||||||
|
.@{fa-css-prefix}-pencil-square:before { content: @fa-var-pencil-square; }
|
||||||
|
.@{fa-css-prefix}-external-link-square:before { content: @fa-var-external-link-square; }
|
||||||
|
.@{fa-css-prefix}-share-square:before { content: @fa-var-share-square; }
|
||||||
|
.@{fa-css-prefix}-compass:before { content: @fa-var-compass; }
|
||||||
|
.@{fa-css-prefix}-toggle-down:before,
|
||||||
|
.@{fa-css-prefix}-caret-square-o-down:before { content: @fa-var-caret-square-o-down; }
|
||||||
|
.@{fa-css-prefix}-toggle-up:before,
|
||||||
|
.@{fa-css-prefix}-caret-square-o-up:before { content: @fa-var-caret-square-o-up; }
|
||||||
|
.@{fa-css-prefix}-toggle-right:before,
|
||||||
|
.@{fa-css-prefix}-caret-square-o-right:before { content: @fa-var-caret-square-o-right; }
|
||||||
|
.@{fa-css-prefix}-euro:before,
|
||||||
|
.@{fa-css-prefix}-eur:before { content: @fa-var-eur; }
|
||||||
|
.@{fa-css-prefix}-gbp:before { content: @fa-var-gbp; }
|
||||||
|
.@{fa-css-prefix}-dollar:before,
|
||||||
|
.@{fa-css-prefix}-usd:before { content: @fa-var-usd; }
|
||||||
|
.@{fa-css-prefix}-rupee:before,
|
||||||
|
.@{fa-css-prefix}-inr:before { content: @fa-var-inr; }
|
||||||
|
.@{fa-css-prefix}-cny:before,
|
||||||
|
.@{fa-css-prefix}-rmb:before,
|
||||||
|
.@{fa-css-prefix}-yen:before,
|
||||||
|
.@{fa-css-prefix}-jpy:before { content: @fa-var-jpy; }
|
||||||
|
.@{fa-css-prefix}-ruble:before,
|
||||||
|
.@{fa-css-prefix}-rouble:before,
|
||||||
|
.@{fa-css-prefix}-rub:before { content: @fa-var-rub; }
|
||||||
|
.@{fa-css-prefix}-won:before,
|
||||||
|
.@{fa-css-prefix}-krw:before { content: @fa-var-krw; }
|
||||||
|
.@{fa-css-prefix}-bitcoin:before,
|
||||||
|
.@{fa-css-prefix}-btc:before { content: @fa-var-btc; }
|
||||||
|
.@{fa-css-prefix}-file:before { content: @fa-var-file; }
|
||||||
|
.@{fa-css-prefix}-file-text:before { content: @fa-var-file-text; }
|
||||||
|
.@{fa-css-prefix}-sort-alpha-asc:before { content: @fa-var-sort-alpha-asc; }
|
||||||
|
.@{fa-css-prefix}-sort-alpha-desc:before { content: @fa-var-sort-alpha-desc; }
|
||||||
|
.@{fa-css-prefix}-sort-amount-asc:before { content: @fa-var-sort-amount-asc; }
|
||||||
|
.@{fa-css-prefix}-sort-amount-desc:before { content: @fa-var-sort-amount-desc; }
|
||||||
|
.@{fa-css-prefix}-sort-numeric-asc:before { content: @fa-var-sort-numeric-asc; }
|
||||||
|
.@{fa-css-prefix}-sort-numeric-desc:before { content: @fa-var-sort-numeric-desc; }
|
||||||
|
.@{fa-css-prefix}-thumbs-up:before { content: @fa-var-thumbs-up; }
|
||||||
|
.@{fa-css-prefix}-thumbs-down:before { content: @fa-var-thumbs-down; }
|
||||||
|
.@{fa-css-prefix}-youtube-square:before { content: @fa-var-youtube-square; }
|
||||||
|
.@{fa-css-prefix}-youtube:before { content: @fa-var-youtube; }
|
||||||
|
.@{fa-css-prefix}-xing:before { content: @fa-var-xing; }
|
||||||
|
.@{fa-css-prefix}-xing-square:before { content: @fa-var-xing-square; }
|
||||||
|
.@{fa-css-prefix}-youtube-play:before { content: @fa-var-youtube-play; }
|
||||||
|
.@{fa-css-prefix}-dropbox:before { content: @fa-var-dropbox; }
|
||||||
|
.@{fa-css-prefix}-stack-overflow:before { content: @fa-var-stack-overflow; }
|
||||||
|
.@{fa-css-prefix}-instagram:before { content: @fa-var-instagram; }
|
||||||
|
.@{fa-css-prefix}-flickr:before { content: @fa-var-flickr; }
|
||||||
|
.@{fa-css-prefix}-adn:before { content: @fa-var-adn; }
|
||||||
|
.@{fa-css-prefix}-bitbucket:before { content: @fa-var-bitbucket; }
|
||||||
|
.@{fa-css-prefix}-bitbucket-square:before { content: @fa-var-bitbucket-square; }
|
||||||
|
.@{fa-css-prefix}-tumblr:before { content: @fa-var-tumblr; }
|
||||||
|
.@{fa-css-prefix}-tumblr-square:before { content: @fa-var-tumblr-square; }
|
||||||
|
.@{fa-css-prefix}-long-arrow-down:before { content: @fa-var-long-arrow-down; }
|
||||||
|
.@{fa-css-prefix}-long-arrow-up:before { content: @fa-var-long-arrow-up; }
|
||||||
|
.@{fa-css-prefix}-long-arrow-left:before { content: @fa-var-long-arrow-left; }
|
||||||
|
.@{fa-css-prefix}-long-arrow-right:before { content: @fa-var-long-arrow-right; }
|
||||||
|
.@{fa-css-prefix}-apple:before { content: @fa-var-apple; }
|
||||||
|
.@{fa-css-prefix}-windows:before { content: @fa-var-windows; }
|
||||||
|
.@{fa-css-prefix}-android:before { content: @fa-var-android; }
|
||||||
|
.@{fa-css-prefix}-linux:before { content: @fa-var-linux; }
|
||||||
|
.@{fa-css-prefix}-dribbble:before { content: @fa-var-dribbble; }
|
||||||
|
.@{fa-css-prefix}-skype:before { content: @fa-var-skype; }
|
||||||
|
.@{fa-css-prefix}-foursquare:before { content: @fa-var-foursquare; }
|
||||||
|
.@{fa-css-prefix}-trello:before { content: @fa-var-trello; }
|
||||||
|
.@{fa-css-prefix}-female:before { content: @fa-var-female; }
|
||||||
|
.@{fa-css-prefix}-male:before { content: @fa-var-male; }
|
||||||
|
.@{fa-css-prefix}-gittip:before,
|
||||||
|
.@{fa-css-prefix}-gratipay:before { content: @fa-var-gratipay; }
|
||||||
|
.@{fa-css-prefix}-sun-o:before { content: @fa-var-sun-o; }
|
||||||
|
.@{fa-css-prefix}-moon-o:before { content: @fa-var-moon-o; }
|
||||||
|
.@{fa-css-prefix}-archive:before { content: @fa-var-archive; }
|
||||||
|
.@{fa-css-prefix}-bug:before { content: @fa-var-bug; }
|
||||||
|
.@{fa-css-prefix}-vk:before { content: @fa-var-vk; }
|
||||||
|
.@{fa-css-prefix}-weibo:before { content: @fa-var-weibo; }
|
||||||
|
.@{fa-css-prefix}-renren:before { content: @fa-var-renren; }
|
||||||
|
.@{fa-css-prefix}-pagelines:before { content: @fa-var-pagelines; }
|
||||||
|
.@{fa-css-prefix}-stack-exchange:before { content: @fa-var-stack-exchange; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-o-right:before { content: @fa-var-arrow-circle-o-right; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-o-left:before { content: @fa-var-arrow-circle-o-left; }
|
||||||
|
.@{fa-css-prefix}-toggle-left:before,
|
||||||
|
.@{fa-css-prefix}-caret-square-o-left:before { content: @fa-var-caret-square-o-left; }
|
||||||
|
.@{fa-css-prefix}-dot-circle-o:before { content: @fa-var-dot-circle-o; }
|
||||||
|
.@{fa-css-prefix}-wheelchair:before { content: @fa-var-wheelchair; }
|
||||||
|
.@{fa-css-prefix}-vimeo-square:before { content: @fa-var-vimeo-square; }
|
||||||
|
.@{fa-css-prefix}-turkish-lira:before,
|
||||||
|
.@{fa-css-prefix}-try:before { content: @fa-var-try; }
|
||||||
|
.@{fa-css-prefix}-plus-square-o:before { content: @fa-var-plus-square-o; }
|
||||||
|
.@{fa-css-prefix}-space-shuttle:before { content: @fa-var-space-shuttle; }
|
||||||
|
.@{fa-css-prefix}-slack:before { content: @fa-var-slack; }
|
||||||
|
.@{fa-css-prefix}-envelope-square:before { content: @fa-var-envelope-square; }
|
||||||
|
.@{fa-css-prefix}-wordpress:before { content: @fa-var-wordpress; }
|
||||||
|
.@{fa-css-prefix}-openid:before { content: @fa-var-openid; }
|
||||||
|
.@{fa-css-prefix}-institution:before,
|
||||||
|
.@{fa-css-prefix}-bank:before,
|
||||||
|
.@{fa-css-prefix}-university:before { content: @fa-var-university; }
|
||||||
|
.@{fa-css-prefix}-mortar-board:before,
|
||||||
|
.@{fa-css-prefix}-graduation-cap:before { content: @fa-var-graduation-cap; }
|
||||||
|
.@{fa-css-prefix}-yahoo:before { content: @fa-var-yahoo; }
|
||||||
|
.@{fa-css-prefix}-google:before { content: @fa-var-google; }
|
||||||
|
.@{fa-css-prefix}-reddit:before { content: @fa-var-reddit; }
|
||||||
|
.@{fa-css-prefix}-reddit-square:before { content: @fa-var-reddit-square; }
|
||||||
|
.@{fa-css-prefix}-stumbleupon-circle:before { content: @fa-var-stumbleupon-circle; }
|
||||||
|
.@{fa-css-prefix}-stumbleupon:before { content: @fa-var-stumbleupon; }
|
||||||
|
.@{fa-css-prefix}-delicious:before { content: @fa-var-delicious; }
|
||||||
|
.@{fa-css-prefix}-digg:before { content: @fa-var-digg; }
|
||||||
|
.@{fa-css-prefix}-pied-piper-pp:before { content: @fa-var-pied-piper-pp; }
|
||||||
|
.@{fa-css-prefix}-pied-piper-alt:before { content: @fa-var-pied-piper-alt; }
|
||||||
|
.@{fa-css-prefix}-drupal:before { content: @fa-var-drupal; }
|
||||||
|
.@{fa-css-prefix}-joomla:before { content: @fa-var-joomla; }
|
||||||
|
.@{fa-css-prefix}-language:before { content: @fa-var-language; }
|
||||||
|
.@{fa-css-prefix}-fax:before { content: @fa-var-fax; }
|
||||||
|
.@{fa-css-prefix}-building:before { content: @fa-var-building; }
|
||||||
|
.@{fa-css-prefix}-child:before { content: @fa-var-child; }
|
||||||
|
.@{fa-css-prefix}-paw:before { content: @fa-var-paw; }
|
||||||
|
.@{fa-css-prefix}-spoon:before { content: @fa-var-spoon; }
|
||||||
|
.@{fa-css-prefix}-cube:before { content: @fa-var-cube; }
|
||||||
|
.@{fa-css-prefix}-cubes:before { content: @fa-var-cubes; }
|
||||||
|
.@{fa-css-prefix}-behance:before { content: @fa-var-behance; }
|
||||||
|
.@{fa-css-prefix}-behance-square:before { content: @fa-var-behance-square; }
|
||||||
|
.@{fa-css-prefix}-steam:before { content: @fa-var-steam; }
|
||||||
|
.@{fa-css-prefix}-steam-square:before { content: @fa-var-steam-square; }
|
||||||
|
.@{fa-css-prefix}-recycle:before { content: @fa-var-recycle; }
|
||||||
|
.@{fa-css-prefix}-automobile:before,
|
||||||
|
.@{fa-css-prefix}-car:before { content: @fa-var-car; }
|
||||||
|
.@{fa-css-prefix}-cab:before,
|
||||||
|
.@{fa-css-prefix}-taxi:before { content: @fa-var-taxi; }
|
||||||
|
.@{fa-css-prefix}-tree:before { content: @fa-var-tree; }
|
||||||
|
.@{fa-css-prefix}-spotify:before { content: @fa-var-spotify; }
|
||||||
|
.@{fa-css-prefix}-deviantart:before { content: @fa-var-deviantart; }
|
||||||
|
.@{fa-css-prefix}-soundcloud:before { content: @fa-var-soundcloud; }
|
||||||
|
.@{fa-css-prefix}-database:before { content: @fa-var-database; }
|
||||||
|
.@{fa-css-prefix}-file-pdf-o:before { content: @fa-var-file-pdf-o; }
|
||||||
|
.@{fa-css-prefix}-file-word-o:before { content: @fa-var-file-word-o; }
|
||||||
|
.@{fa-css-prefix}-file-excel-o:before { content: @fa-var-file-excel-o; }
|
||||||
|
.@{fa-css-prefix}-file-powerpoint-o:before { content: @fa-var-file-powerpoint-o; }
|
||||||
|
.@{fa-css-prefix}-file-photo-o:before,
|
||||||
|
.@{fa-css-prefix}-file-picture-o:before,
|
||||||
|
.@{fa-css-prefix}-file-image-o:before { content: @fa-var-file-image-o; }
|
||||||
|
.@{fa-css-prefix}-file-zip-o:before,
|
||||||
|
.@{fa-css-prefix}-file-archive-o:before { content: @fa-var-file-archive-o; }
|
||||||
|
.@{fa-css-prefix}-file-sound-o:before,
|
||||||
|
.@{fa-css-prefix}-file-audio-o:before { content: @fa-var-file-audio-o; }
|
||||||
|
.@{fa-css-prefix}-file-movie-o:before,
|
||||||
|
.@{fa-css-prefix}-file-video-o:before { content: @fa-var-file-video-o; }
|
||||||
|
.@{fa-css-prefix}-file-code-o:before { content: @fa-var-file-code-o; }
|
||||||
|
.@{fa-css-prefix}-vine:before { content: @fa-var-vine; }
|
||||||
|
.@{fa-css-prefix}-codepen:before { content: @fa-var-codepen; }
|
||||||
|
.@{fa-css-prefix}-jsfiddle:before { content: @fa-var-jsfiddle; }
|
||||||
|
.@{fa-css-prefix}-life-bouy:before,
|
||||||
|
.@{fa-css-prefix}-life-buoy:before,
|
||||||
|
.@{fa-css-prefix}-life-saver:before,
|
||||||
|
.@{fa-css-prefix}-support:before,
|
||||||
|
.@{fa-css-prefix}-life-ring:before { content: @fa-var-life-ring; }
|
||||||
|
.@{fa-css-prefix}-circle-o-notch:before { content: @fa-var-circle-o-notch; }
|
||||||
|
.@{fa-css-prefix}-ra:before,
|
||||||
|
.@{fa-css-prefix}-resistance:before,
|
||||||
|
.@{fa-css-prefix}-rebel:before { content: @fa-var-rebel; }
|
||||||
|
.@{fa-css-prefix}-ge:before,
|
||||||
|
.@{fa-css-prefix}-empire:before { content: @fa-var-empire; }
|
||||||
|
.@{fa-css-prefix}-git-square:before { content: @fa-var-git-square; }
|
||||||
|
.@{fa-css-prefix}-git:before { content: @fa-var-git; }
|
||||||
|
.@{fa-css-prefix}-y-combinator-square:before,
|
||||||
|
.@{fa-css-prefix}-yc-square:before,
|
||||||
|
.@{fa-css-prefix}-hacker-news:before { content: @fa-var-hacker-news; }
|
||||||
|
.@{fa-css-prefix}-tencent-weibo:before { content: @fa-var-tencent-weibo; }
|
||||||
|
.@{fa-css-prefix}-qq:before { content: @fa-var-qq; }
|
||||||
|
.@{fa-css-prefix}-wechat:before,
|
||||||
|
.@{fa-css-prefix}-weixin:before { content: @fa-var-weixin; }
|
||||||
|
.@{fa-css-prefix}-send:before,
|
||||||
|
.@{fa-css-prefix}-paper-plane:before { content: @fa-var-paper-plane; }
|
||||||
|
.@{fa-css-prefix}-send-o:before,
|
||||||
|
.@{fa-css-prefix}-paper-plane-o:before { content: @fa-var-paper-plane-o; }
|
||||||
|
.@{fa-css-prefix}-history:before { content: @fa-var-history; }
|
||||||
|
.@{fa-css-prefix}-circle-thin:before { content: @fa-var-circle-thin; }
|
||||||
|
.@{fa-css-prefix}-header:before { content: @fa-var-header; }
|
||||||
|
.@{fa-css-prefix}-paragraph:before { content: @fa-var-paragraph; }
|
||||||
|
.@{fa-css-prefix}-sliders:before { content: @fa-var-sliders; }
|
||||||
|
.@{fa-css-prefix}-share-alt:before { content: @fa-var-share-alt; }
|
||||||
|
.@{fa-css-prefix}-share-alt-square:before { content: @fa-var-share-alt-square; }
|
||||||
|
.@{fa-css-prefix}-bomb:before { content: @fa-var-bomb; }
|
||||||
|
.@{fa-css-prefix}-soccer-ball-o:before,
|
||||||
|
.@{fa-css-prefix}-futbol-o:before { content: @fa-var-futbol-o; }
|
||||||
|
.@{fa-css-prefix}-tty:before { content: @fa-var-tty; }
|
||||||
|
.@{fa-css-prefix}-binoculars:before { content: @fa-var-binoculars; }
|
||||||
|
.@{fa-css-prefix}-plug:before { content: @fa-var-plug; }
|
||||||
|
.@{fa-css-prefix}-slideshare:before { content: @fa-var-slideshare; }
|
||||||
|
.@{fa-css-prefix}-twitch:before { content: @fa-var-twitch; }
|
||||||
|
.@{fa-css-prefix}-yelp:before { content: @fa-var-yelp; }
|
||||||
|
.@{fa-css-prefix}-newspaper-o:before { content: @fa-var-newspaper-o; }
|
||||||
|
.@{fa-css-prefix}-wifi:before { content: @fa-var-wifi; }
|
||||||
|
.@{fa-css-prefix}-calculator:before { content: @fa-var-calculator; }
|
||||||
|
.@{fa-css-prefix}-paypal:before { content: @fa-var-paypal; }
|
||||||
|
.@{fa-css-prefix}-google-wallet:before { content: @fa-var-google-wallet; }
|
||||||
|
.@{fa-css-prefix}-cc-visa:before { content: @fa-var-cc-visa; }
|
||||||
|
.@{fa-css-prefix}-cc-mastercard:before { content: @fa-var-cc-mastercard; }
|
||||||
|
.@{fa-css-prefix}-cc-discover:before { content: @fa-var-cc-discover; }
|
||||||
|
.@{fa-css-prefix}-cc-amex:before { content: @fa-var-cc-amex; }
|
||||||
|
.@{fa-css-prefix}-cc-paypal:before { content: @fa-var-cc-paypal; }
|
||||||
|
.@{fa-css-prefix}-cc-stripe:before { content: @fa-var-cc-stripe; }
|
||||||
|
.@{fa-css-prefix}-bell-slash:before { content: @fa-var-bell-slash; }
|
||||||
|
.@{fa-css-prefix}-bell-slash-o:before { content: @fa-var-bell-slash-o; }
|
||||||
|
.@{fa-css-prefix}-trash:before { content: @fa-var-trash; }
|
||||||
|
.@{fa-css-prefix}-copyright:before { content: @fa-var-copyright; }
|
||||||
|
.@{fa-css-prefix}-at:before { content: @fa-var-at; }
|
||||||
|
.@{fa-css-prefix}-eyedropper:before { content: @fa-var-eyedropper; }
|
||||||
|
.@{fa-css-prefix}-paint-brush:before { content: @fa-var-paint-brush; }
|
||||||
|
.@{fa-css-prefix}-birthday-cake:before { content: @fa-var-birthday-cake; }
|
||||||
|
.@{fa-css-prefix}-area-chart:before { content: @fa-var-area-chart; }
|
||||||
|
.@{fa-css-prefix}-pie-chart:before { content: @fa-var-pie-chart; }
|
||||||
|
.@{fa-css-prefix}-line-chart:before { content: @fa-var-line-chart; }
|
||||||
|
.@{fa-css-prefix}-lastfm:before { content: @fa-var-lastfm; }
|
||||||
|
.@{fa-css-prefix}-lastfm-square:before { content: @fa-var-lastfm-square; }
|
||||||
|
.@{fa-css-prefix}-toggle-off:before { content: @fa-var-toggle-off; }
|
||||||
|
.@{fa-css-prefix}-toggle-on:before { content: @fa-var-toggle-on; }
|
||||||
|
.@{fa-css-prefix}-bicycle:before { content: @fa-var-bicycle; }
|
||||||
|
.@{fa-css-prefix}-bus:before { content: @fa-var-bus; }
|
||||||
|
.@{fa-css-prefix}-ioxhost:before { content: @fa-var-ioxhost; }
|
||||||
|
.@{fa-css-prefix}-angellist:before { content: @fa-var-angellist; }
|
||||||
|
.@{fa-css-prefix}-cc:before { content: @fa-var-cc; }
|
||||||
|
.@{fa-css-prefix}-shekel:before,
|
||||||
|
.@{fa-css-prefix}-sheqel:before,
|
||||||
|
.@{fa-css-prefix}-ils:before { content: @fa-var-ils; }
|
||||||
|
.@{fa-css-prefix}-meanpath:before { content: @fa-var-meanpath; }
|
||||||
|
.@{fa-css-prefix}-buysellads:before { content: @fa-var-buysellads; }
|
||||||
|
.@{fa-css-prefix}-connectdevelop:before { content: @fa-var-connectdevelop; }
|
||||||
|
.@{fa-css-prefix}-dashcube:before { content: @fa-var-dashcube; }
|
||||||
|
.@{fa-css-prefix}-forumbee:before { content: @fa-var-forumbee; }
|
||||||
|
.@{fa-css-prefix}-leanpub:before { content: @fa-var-leanpub; }
|
||||||
|
.@{fa-css-prefix}-sellsy:before { content: @fa-var-sellsy; }
|
||||||
|
.@{fa-css-prefix}-shirtsinbulk:before { content: @fa-var-shirtsinbulk; }
|
||||||
|
.@{fa-css-prefix}-simplybuilt:before { content: @fa-var-simplybuilt; }
|
||||||
|
.@{fa-css-prefix}-skyatlas:before { content: @fa-var-skyatlas; }
|
||||||
|
.@{fa-css-prefix}-cart-plus:before { content: @fa-var-cart-plus; }
|
||||||
|
.@{fa-css-prefix}-cart-arrow-down:before { content: @fa-var-cart-arrow-down; }
|
||||||
|
.@{fa-css-prefix}-diamond:before { content: @fa-var-diamond; }
|
||||||
|
.@{fa-css-prefix}-ship:before { content: @fa-var-ship; }
|
||||||
|
.@{fa-css-prefix}-user-secret:before { content: @fa-var-user-secret; }
|
||||||
|
.@{fa-css-prefix}-motorcycle:before { content: @fa-var-motorcycle; }
|
||||||
|
.@{fa-css-prefix}-street-view:before { content: @fa-var-street-view; }
|
||||||
|
.@{fa-css-prefix}-heartbeat:before { content: @fa-var-heartbeat; }
|
||||||
|
.@{fa-css-prefix}-venus:before { content: @fa-var-venus; }
|
||||||
|
.@{fa-css-prefix}-mars:before { content: @fa-var-mars; }
|
||||||
|
.@{fa-css-prefix}-mercury:before { content: @fa-var-mercury; }
|
||||||
|
.@{fa-css-prefix}-intersex:before,
|
||||||
|
.@{fa-css-prefix}-transgender:before { content: @fa-var-transgender; }
|
||||||
|
.@{fa-css-prefix}-transgender-alt:before { content: @fa-var-transgender-alt; }
|
||||||
|
.@{fa-css-prefix}-venus-double:before { content: @fa-var-venus-double; }
|
||||||
|
.@{fa-css-prefix}-mars-double:before { content: @fa-var-mars-double; }
|
||||||
|
.@{fa-css-prefix}-venus-mars:before { content: @fa-var-venus-mars; }
|
||||||
|
.@{fa-css-prefix}-mars-stroke:before { content: @fa-var-mars-stroke; }
|
||||||
|
.@{fa-css-prefix}-mars-stroke-v:before { content: @fa-var-mars-stroke-v; }
|
||||||
|
.@{fa-css-prefix}-mars-stroke-h:before { content: @fa-var-mars-stroke-h; }
|
||||||
|
.@{fa-css-prefix}-neuter:before { content: @fa-var-neuter; }
|
||||||
|
.@{fa-css-prefix}-genderless:before { content: @fa-var-genderless; }
|
||||||
|
.@{fa-css-prefix}-facebook-official:before { content: @fa-var-facebook-official; }
|
||||||
|
.@{fa-css-prefix}-pinterest-p:before { content: @fa-var-pinterest-p; }
|
||||||
|
.@{fa-css-prefix}-whatsapp:before { content: @fa-var-whatsapp; }
|
||||||
|
.@{fa-css-prefix}-server:before { content: @fa-var-server; }
|
||||||
|
.@{fa-css-prefix}-user-plus:before { content: @fa-var-user-plus; }
|
||||||
|
.@{fa-css-prefix}-user-times:before { content: @fa-var-user-times; }
|
||||||
|
.@{fa-css-prefix}-hotel:before,
|
||||||
|
.@{fa-css-prefix}-bed:before { content: @fa-var-bed; }
|
||||||
|
.@{fa-css-prefix}-viacoin:before { content: @fa-var-viacoin; }
|
||||||
|
.@{fa-css-prefix}-train:before { content: @fa-var-train; }
|
||||||
|
.@{fa-css-prefix}-subway:before { content: @fa-var-subway; }
|
||||||
|
.@{fa-css-prefix}-medium:before { content: @fa-var-medium; }
|
||||||
|
.@{fa-css-prefix}-yc:before,
|
||||||
|
.@{fa-css-prefix}-y-combinator:before { content: @fa-var-y-combinator; }
|
||||||
|
.@{fa-css-prefix}-optin-monster:before { content: @fa-var-optin-monster; }
|
||||||
|
.@{fa-css-prefix}-opencart:before { content: @fa-var-opencart; }
|
||||||
|
.@{fa-css-prefix}-expeditedssl:before { content: @fa-var-expeditedssl; }
|
||||||
|
.@{fa-css-prefix}-battery-4:before,
|
||||||
|
.@{fa-css-prefix}-battery:before,
|
||||||
|
.@{fa-css-prefix}-battery-full:before { content: @fa-var-battery-full; }
|
||||||
|
.@{fa-css-prefix}-battery-3:before,
|
||||||
|
.@{fa-css-prefix}-battery-three-quarters:before { content: @fa-var-battery-three-quarters; }
|
||||||
|
.@{fa-css-prefix}-battery-2:before,
|
||||||
|
.@{fa-css-prefix}-battery-half:before { content: @fa-var-battery-half; }
|
||||||
|
.@{fa-css-prefix}-battery-1:before,
|
||||||
|
.@{fa-css-prefix}-battery-quarter:before { content: @fa-var-battery-quarter; }
|
||||||
|
.@{fa-css-prefix}-battery-0:before,
|
||||||
|
.@{fa-css-prefix}-battery-empty:before { content: @fa-var-battery-empty; }
|
||||||
|
.@{fa-css-prefix}-mouse-pointer:before { content: @fa-var-mouse-pointer; }
|
||||||
|
.@{fa-css-prefix}-i-cursor:before { content: @fa-var-i-cursor; }
|
||||||
|
.@{fa-css-prefix}-object-group:before { content: @fa-var-object-group; }
|
||||||
|
.@{fa-css-prefix}-object-ungroup:before { content: @fa-var-object-ungroup; }
|
||||||
|
.@{fa-css-prefix}-sticky-note:before { content: @fa-var-sticky-note; }
|
||||||
|
.@{fa-css-prefix}-sticky-note-o:before { content: @fa-var-sticky-note-o; }
|
||||||
|
.@{fa-css-prefix}-cc-jcb:before { content: @fa-var-cc-jcb; }
|
||||||
|
.@{fa-css-prefix}-cc-diners-club:before { content: @fa-var-cc-diners-club; }
|
||||||
|
.@{fa-css-prefix}-clone:before { content: @fa-var-clone; }
|
||||||
|
.@{fa-css-prefix}-balance-scale:before { content: @fa-var-balance-scale; }
|
||||||
|
.@{fa-css-prefix}-hourglass-o:before { content: @fa-var-hourglass-o; }
|
||||||
|
.@{fa-css-prefix}-hourglass-1:before,
|
||||||
|
.@{fa-css-prefix}-hourglass-start:before { content: @fa-var-hourglass-start; }
|
||||||
|
.@{fa-css-prefix}-hourglass-2:before,
|
||||||
|
.@{fa-css-prefix}-hourglass-half:before { content: @fa-var-hourglass-half; }
|
||||||
|
.@{fa-css-prefix}-hourglass-3:before,
|
||||||
|
.@{fa-css-prefix}-hourglass-end:before { content: @fa-var-hourglass-end; }
|
||||||
|
.@{fa-css-prefix}-hourglass:before { content: @fa-var-hourglass; }
|
||||||
|
.@{fa-css-prefix}-hand-grab-o:before,
|
||||||
|
.@{fa-css-prefix}-hand-rock-o:before { content: @fa-var-hand-rock-o; }
|
||||||
|
.@{fa-css-prefix}-hand-stop-o:before,
|
||||||
|
.@{fa-css-prefix}-hand-paper-o:before { content: @fa-var-hand-paper-o; }
|
||||||
|
.@{fa-css-prefix}-hand-scissors-o:before { content: @fa-var-hand-scissors-o; }
|
||||||
|
.@{fa-css-prefix}-hand-lizard-o:before { content: @fa-var-hand-lizard-o; }
|
||||||
|
.@{fa-css-prefix}-hand-spock-o:before { content: @fa-var-hand-spock-o; }
|
||||||
|
.@{fa-css-prefix}-hand-pointer-o:before { content: @fa-var-hand-pointer-o; }
|
||||||
|
.@{fa-css-prefix}-hand-peace-o:before { content: @fa-var-hand-peace-o; }
|
||||||
|
.@{fa-css-prefix}-trademark:before { content: @fa-var-trademark; }
|
||||||
|
.@{fa-css-prefix}-registered:before { content: @fa-var-registered; }
|
||||||
|
.@{fa-css-prefix}-creative-commons:before { content: @fa-var-creative-commons; }
|
||||||
|
.@{fa-css-prefix}-gg:before { content: @fa-var-gg; }
|
||||||
|
.@{fa-css-prefix}-gg-circle:before { content: @fa-var-gg-circle; }
|
||||||
|
.@{fa-css-prefix}-tripadvisor:before { content: @fa-var-tripadvisor; }
|
||||||
|
.@{fa-css-prefix}-odnoklassniki:before { content: @fa-var-odnoklassniki; }
|
||||||
|
.@{fa-css-prefix}-odnoklassniki-square:before { content: @fa-var-odnoklassniki-square; }
|
||||||
|
.@{fa-css-prefix}-get-pocket:before { content: @fa-var-get-pocket; }
|
||||||
|
.@{fa-css-prefix}-wikipedia-w:before { content: @fa-var-wikipedia-w; }
|
||||||
|
.@{fa-css-prefix}-safari:before { content: @fa-var-safari; }
|
||||||
|
.@{fa-css-prefix}-chrome:before { content: @fa-var-chrome; }
|
||||||
|
.@{fa-css-prefix}-firefox:before { content: @fa-var-firefox; }
|
||||||
|
.@{fa-css-prefix}-opera:before { content: @fa-var-opera; }
|
||||||
|
.@{fa-css-prefix}-internet-explorer:before { content: @fa-var-internet-explorer; }
|
||||||
|
.@{fa-css-prefix}-tv:before,
|
||||||
|
.@{fa-css-prefix}-television:before { content: @fa-var-television; }
|
||||||
|
.@{fa-css-prefix}-contao:before { content: @fa-var-contao; }
|
||||||
|
.@{fa-css-prefix}-500px:before { content: @fa-var-500px; }
|
||||||
|
.@{fa-css-prefix}-amazon:before { content: @fa-var-amazon; }
|
||||||
|
.@{fa-css-prefix}-calendar-plus-o:before { content: @fa-var-calendar-plus-o; }
|
||||||
|
.@{fa-css-prefix}-calendar-minus-o:before { content: @fa-var-calendar-minus-o; }
|
||||||
|
.@{fa-css-prefix}-calendar-times-o:before { content: @fa-var-calendar-times-o; }
|
||||||
|
.@{fa-css-prefix}-calendar-check-o:before { content: @fa-var-calendar-check-o; }
|
||||||
|
.@{fa-css-prefix}-industry:before { content: @fa-var-industry; }
|
||||||
|
.@{fa-css-prefix}-map-pin:before { content: @fa-var-map-pin; }
|
||||||
|
.@{fa-css-prefix}-map-signs:before { content: @fa-var-map-signs; }
|
||||||
|
.@{fa-css-prefix}-map-o:before { content: @fa-var-map-o; }
|
||||||
|
.@{fa-css-prefix}-map:before { content: @fa-var-map; }
|
||||||
|
.@{fa-css-prefix}-commenting:before { content: @fa-var-commenting; }
|
||||||
|
.@{fa-css-prefix}-commenting-o:before { content: @fa-var-commenting-o; }
|
||||||
|
.@{fa-css-prefix}-houzz:before { content: @fa-var-houzz; }
|
||||||
|
.@{fa-css-prefix}-vimeo:before { content: @fa-var-vimeo; }
|
||||||
|
.@{fa-css-prefix}-black-tie:before { content: @fa-var-black-tie; }
|
||||||
|
.@{fa-css-prefix}-fonticons:before { content: @fa-var-fonticons; }
|
||||||
|
.@{fa-css-prefix}-reddit-alien:before { content: @fa-var-reddit-alien; }
|
||||||
|
.@{fa-css-prefix}-edge:before { content: @fa-var-edge; }
|
||||||
|
.@{fa-css-prefix}-credit-card-alt:before { content: @fa-var-credit-card-alt; }
|
||||||
|
.@{fa-css-prefix}-codiepie:before { content: @fa-var-codiepie; }
|
||||||
|
.@{fa-css-prefix}-modx:before { content: @fa-var-modx; }
|
||||||
|
.@{fa-css-prefix}-fort-awesome:before { content: @fa-var-fort-awesome; }
|
||||||
|
.@{fa-css-prefix}-usb:before { content: @fa-var-usb; }
|
||||||
|
.@{fa-css-prefix}-product-hunt:before { content: @fa-var-product-hunt; }
|
||||||
|
.@{fa-css-prefix}-mixcloud:before { content: @fa-var-mixcloud; }
|
||||||
|
.@{fa-css-prefix}-scribd:before { content: @fa-var-scribd; }
|
||||||
|
.@{fa-css-prefix}-pause-circle:before { content: @fa-var-pause-circle; }
|
||||||
|
.@{fa-css-prefix}-pause-circle-o:before { content: @fa-var-pause-circle-o; }
|
||||||
|
.@{fa-css-prefix}-stop-circle:before { content: @fa-var-stop-circle; }
|
||||||
|
.@{fa-css-prefix}-stop-circle-o:before { content: @fa-var-stop-circle-o; }
|
||||||
|
.@{fa-css-prefix}-shopping-bag:before { content: @fa-var-shopping-bag; }
|
||||||
|
.@{fa-css-prefix}-shopping-basket:before { content: @fa-var-shopping-basket; }
|
||||||
|
.@{fa-css-prefix}-hashtag:before { content: @fa-var-hashtag; }
|
||||||
|
.@{fa-css-prefix}-bluetooth:before { content: @fa-var-bluetooth; }
|
||||||
|
.@{fa-css-prefix}-bluetooth-b:before { content: @fa-var-bluetooth-b; }
|
||||||
|
.@{fa-css-prefix}-percent:before { content: @fa-var-percent; }
|
||||||
|
.@{fa-css-prefix}-gitlab:before { content: @fa-var-gitlab; }
|
||||||
|
.@{fa-css-prefix}-wpbeginner:before { content: @fa-var-wpbeginner; }
|
||||||
|
.@{fa-css-prefix}-wpforms:before { content: @fa-var-wpforms; }
|
||||||
|
.@{fa-css-prefix}-envira:before { content: @fa-var-envira; }
|
||||||
|
.@{fa-css-prefix}-universal-access:before { content: @fa-var-universal-access; }
|
||||||
|
.@{fa-css-prefix}-wheelchair-alt:before { content: @fa-var-wheelchair-alt; }
|
||||||
|
.@{fa-css-prefix}-question-circle-o:before { content: @fa-var-question-circle-o; }
|
||||||
|
.@{fa-css-prefix}-blind:before { content: @fa-var-blind; }
|
||||||
|
.@{fa-css-prefix}-audio-description:before { content: @fa-var-audio-description; }
|
||||||
|
.@{fa-css-prefix}-volume-control-phone:before { content: @fa-var-volume-control-phone; }
|
||||||
|
.@{fa-css-prefix}-braille:before { content: @fa-var-braille; }
|
||||||
|
.@{fa-css-prefix}-assistive-listening-systems:before { content: @fa-var-assistive-listening-systems; }
|
||||||
|
.@{fa-css-prefix}-asl-interpreting:before,
|
||||||
|
.@{fa-css-prefix}-american-sign-language-interpreting:before { content: @fa-var-american-sign-language-interpreting; }
|
||||||
|
.@{fa-css-prefix}-deafness:before,
|
||||||
|
.@{fa-css-prefix}-hard-of-hearing:before,
|
||||||
|
.@{fa-css-prefix}-deaf:before { content: @fa-var-deaf; }
|
||||||
|
.@{fa-css-prefix}-glide:before { content: @fa-var-glide; }
|
||||||
|
.@{fa-css-prefix}-glide-g:before { content: @fa-var-glide-g; }
|
||||||
|
.@{fa-css-prefix}-signing:before,
|
||||||
|
.@{fa-css-prefix}-sign-language:before { content: @fa-var-sign-language; }
|
||||||
|
.@{fa-css-prefix}-low-vision:before { content: @fa-var-low-vision; }
|
||||||
|
.@{fa-css-prefix}-viadeo:before { content: @fa-var-viadeo; }
|
||||||
|
.@{fa-css-prefix}-viadeo-square:before { content: @fa-var-viadeo-square; }
|
||||||
|
.@{fa-css-prefix}-snapchat:before { content: @fa-var-snapchat; }
|
||||||
|
.@{fa-css-prefix}-snapchat-ghost:before { content: @fa-var-snapchat-ghost; }
|
||||||
|
.@{fa-css-prefix}-snapchat-square:before { content: @fa-var-snapchat-square; }
|
||||||
|
.@{fa-css-prefix}-pied-piper:before { content: @fa-var-pied-piper; }
|
||||||
|
.@{fa-css-prefix}-first-order:before { content: @fa-var-first-order; }
|
||||||
|
.@{fa-css-prefix}-yoast:before { content: @fa-var-yoast; }
|
||||||
|
.@{fa-css-prefix}-themeisle:before { content: @fa-var-themeisle; }
|
||||||
|
.@{fa-css-prefix}-google-plus-circle:before,
|
||||||
|
.@{fa-css-prefix}-google-plus-official:before { content: @fa-var-google-plus-official; }
|
||||||
|
.@{fa-css-prefix}-fa:before,
|
||||||
|
.@{fa-css-prefix}-font-awesome:before { content: @fa-var-font-awesome; }
|
||||||
|
.@{fa-css-prefix}-handshake-o:before { content: @fa-var-handshake-o; }
|
||||||
|
.@{fa-css-prefix}-envelope-open:before { content: @fa-var-envelope-open; }
|
||||||
|
.@{fa-css-prefix}-envelope-open-o:before { content: @fa-var-envelope-open-o; }
|
||||||
|
.@{fa-css-prefix}-linode:before { content: @fa-var-linode; }
|
||||||
|
.@{fa-css-prefix}-address-book:before { content: @fa-var-address-book; }
|
||||||
|
.@{fa-css-prefix}-address-book-o:before { content: @fa-var-address-book-o; }
|
||||||
|
.@{fa-css-prefix}-vcard:before,
|
||||||
|
.@{fa-css-prefix}-address-card:before { content: @fa-var-address-card; }
|
||||||
|
.@{fa-css-prefix}-vcard-o:before,
|
||||||
|
.@{fa-css-prefix}-address-card-o:before { content: @fa-var-address-card-o; }
|
||||||
|
.@{fa-css-prefix}-user-circle:before { content: @fa-var-user-circle; }
|
||||||
|
.@{fa-css-prefix}-user-circle-o:before { content: @fa-var-user-circle-o; }
|
||||||
|
.@{fa-css-prefix}-user-o:before { content: @fa-var-user-o; }
|
||||||
|
.@{fa-css-prefix}-id-badge:before { content: @fa-var-id-badge; }
|
||||||
|
.@{fa-css-prefix}-drivers-license:before,
|
||||||
|
.@{fa-css-prefix}-id-card:before { content: @fa-var-id-card; }
|
||||||
|
.@{fa-css-prefix}-drivers-license-o:before,
|
||||||
|
.@{fa-css-prefix}-id-card-o:before { content: @fa-var-id-card-o; }
|
||||||
|
.@{fa-css-prefix}-quora:before { content: @fa-var-quora; }
|
||||||
|
.@{fa-css-prefix}-free-code-camp:before { content: @fa-var-free-code-camp; }
|
||||||
|
.@{fa-css-prefix}-telegram:before { content: @fa-var-telegram; }
|
||||||
|
.@{fa-css-prefix}-thermometer-4:before,
|
||||||
|
.@{fa-css-prefix}-thermometer:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-full:before { content: @fa-var-thermometer-full; }
|
||||||
|
.@{fa-css-prefix}-thermometer-3:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-three-quarters:before { content: @fa-var-thermometer-three-quarters; }
|
||||||
|
.@{fa-css-prefix}-thermometer-2:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-half:before { content: @fa-var-thermometer-half; }
|
||||||
|
.@{fa-css-prefix}-thermometer-1:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-quarter:before { content: @fa-var-thermometer-quarter; }
|
||||||
|
.@{fa-css-prefix}-thermometer-0:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-empty:before { content: @fa-var-thermometer-empty; }
|
||||||
|
.@{fa-css-prefix}-shower:before { content: @fa-var-shower; }
|
||||||
|
.@{fa-css-prefix}-bathtub:before,
|
||||||
|
.@{fa-css-prefix}-s15:before,
|
||||||
|
.@{fa-css-prefix}-bath:before { content: @fa-var-bath; }
|
||||||
|
.@{fa-css-prefix}-podcast:before { content: @fa-var-podcast; }
|
||||||
|
.@{fa-css-prefix}-window-maximize:before { content: @fa-var-window-maximize; }
|
||||||
|
.@{fa-css-prefix}-window-minimize:before { content: @fa-var-window-minimize; }
|
||||||
|
.@{fa-css-prefix}-window-restore:before { content: @fa-var-window-restore; }
|
||||||
|
.@{fa-css-prefix}-times-rectangle:before,
|
||||||
|
.@{fa-css-prefix}-window-close:before { content: @fa-var-window-close; }
|
||||||
|
.@{fa-css-prefix}-times-rectangle-o:before,
|
||||||
|
.@{fa-css-prefix}-window-close-o:before { content: @fa-var-window-close-o; }
|
||||||
|
.@{fa-css-prefix}-bandcamp:before { content: @fa-var-bandcamp; }
|
||||||
|
.@{fa-css-prefix}-grav:before { content: @fa-var-grav; }
|
||||||
|
.@{fa-css-prefix}-etsy:before { content: @fa-var-etsy; }
|
||||||
|
.@{fa-css-prefix}-imdb:before { content: @fa-var-imdb; }
|
||||||
|
.@{fa-css-prefix}-ravelry:before { content: @fa-var-ravelry; }
|
||||||
|
.@{fa-css-prefix}-eercast:before { content: @fa-var-eercast; }
|
||||||
|
.@{fa-css-prefix}-microchip:before { content: @fa-var-microchip; }
|
||||||
|
.@{fa-css-prefix}-snowflake-o:before { content: @fa-var-snowflake-o; }
|
||||||
|
.@{fa-css-prefix}-superpowers:before { content: @fa-var-superpowers; }
|
||||||
|
.@{fa-css-prefix}-wpexplorer:before { content: @fa-var-wpexplorer; }
|
||||||
|
.@{fa-css-prefix}-meetup:before { content: @fa-var-meetup; }
|
||||||
13
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/larger.less
vendored
Normal file
13
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/larger.less
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
// Icon Sizes
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
/* makes the font 33% larger relative to the icon container */
|
||||||
|
.@{fa-css-prefix}-lg {
|
||||||
|
font-size: (4em / 3);
|
||||||
|
line-height: (3em / 4);
|
||||||
|
vertical-align: -15%;
|
||||||
|
}
|
||||||
|
.@{fa-css-prefix}-2x { font-size: 2em; }
|
||||||
|
.@{fa-css-prefix}-3x { font-size: 3em; }
|
||||||
|
.@{fa-css-prefix}-4x { font-size: 4em; }
|
||||||
|
.@{fa-css-prefix}-5x { font-size: 5em; }
|
||||||
19
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/list.less
vendored
Normal file
19
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/list.less
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
// List Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-ul {
|
||||||
|
padding-left: 0;
|
||||||
|
margin-left: @fa-li-width;
|
||||||
|
list-style-type: none;
|
||||||
|
> li { position: relative; }
|
||||||
|
}
|
||||||
|
.@{fa-css-prefix}-li {
|
||||||
|
position: absolute;
|
||||||
|
left: -@fa-li-width;
|
||||||
|
width: @fa-li-width;
|
||||||
|
top: (2em / 14);
|
||||||
|
text-align: center;
|
||||||
|
&.@{fa-css-prefix}-lg {
|
||||||
|
left: (-@fa-li-width + (4em / 14));
|
||||||
|
}
|
||||||
|
}
|
||||||
60
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/mixins.less
vendored
Normal file
60
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/mixins.less
vendored
Normal file
|
|
@ -0,0 +1,60 @@
|
||||||
|
// Mixins
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
.fa-icon() {
|
||||||
|
display: inline-block;
|
||||||
|
font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
|
||||||
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.fa-icon-rotate(@degrees, @rotation) {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})";
|
||||||
|
-webkit-transform: rotate(@degrees);
|
||||||
|
-ms-transform: rotate(@degrees);
|
||||||
|
transform: rotate(@degrees);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fa-icon-flip(@horiz, @vert, @rotation) {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)";
|
||||||
|
-webkit-transform: scale(@horiz, @vert);
|
||||||
|
-ms-transform: scale(@horiz, @vert);
|
||||||
|
transform: scale(@horiz, @vert);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Only display content to screen readers. A la Bootstrap 4.
|
||||||
|
//
|
||||||
|
// See: http://a11yproject.com/posts/how-to-hide-content/
|
||||||
|
|
||||||
|
.sr-only() {
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
height: 1px;
|
||||||
|
padding: 0;
|
||||||
|
margin: -1px;
|
||||||
|
overflow: hidden;
|
||||||
|
clip: rect(0,0,0,0);
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use in conjunction with .sr-only to only display content when it's focused.
|
||||||
|
//
|
||||||
|
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
||||||
|
//
|
||||||
|
// Credit: HTML5 Boilerplate
|
||||||
|
|
||||||
|
.sr-only-focusable() {
|
||||||
|
&:active,
|
||||||
|
&:focus {
|
||||||
|
position: static;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
margin: 0;
|
||||||
|
overflow: visible;
|
||||||
|
clip: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
15
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/path.less
vendored
Normal file
15
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/path.less
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
/* FONT PATH
|
||||||
|
* -------------------------- */
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'FontAwesome';
|
||||||
|
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
|
||||||
|
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
|
||||||
|
url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
|
||||||
|
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
|
||||||
|
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
|
||||||
|
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
|
||||||
|
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
20
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/rotated-flipped.less
vendored
Normal file
20
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/rotated-flipped.less
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
// Rotated & Flipped Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
|
||||||
|
.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
|
||||||
|
.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
|
||||||
|
.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
|
||||||
|
|
||||||
|
// Hook for IE8-9
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
:root .@{fa-css-prefix}-rotate-90,
|
||||||
|
:root .@{fa-css-prefix}-rotate-180,
|
||||||
|
:root .@{fa-css-prefix}-rotate-270,
|
||||||
|
:root .@{fa-css-prefix}-flip-horizontal,
|
||||||
|
:root .@{fa-css-prefix}-flip-vertical {
|
||||||
|
filter: none;
|
||||||
|
}
|
||||||
5
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/screen-reader.less
vendored
Normal file
5
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/screen-reader.less
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
// Screen Readers
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.sr-only { .sr-only(); }
|
||||||
|
.sr-only-focusable { .sr-only-focusable(); }
|
||||||
20
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/stacked.less
vendored
Normal file
20
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/stacked.less
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
// Stacked Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-stack {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 2em;
|
||||||
|
height: 2em;
|
||||||
|
line-height: 2em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.@{fa-css-prefix}-stack-1x { line-height: inherit; }
|
||||||
|
.@{fa-css-prefix}-stack-2x { font-size: 2em; }
|
||||||
|
.@{fa-css-prefix}-inverse { color: @fa-inverse; }
|
||||||
800
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/variables.less
vendored
Normal file
800
adaptive-english-lesson-main/public/admin/assets/icons/font-awesome/less/variables.less
vendored
Normal file
|
|
@ -0,0 +1,800 @@
|
||||||
|
// Variables
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
@fa-font-path: "../fonts";
|
||||||
|
@fa-font-size-base: 14px;
|
||||||
|
@fa-line-height-base: 1;
|
||||||
|
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts"; // for referencing Bootstrap CDN font files directly
|
||||||
|
@fa-css-prefix: fa;
|
||||||
|
@fa-version: "4.7.0";
|
||||||
|
@fa-border-color: #eee;
|
||||||
|
@fa-inverse: #fff;
|
||||||
|
@fa-li-width: (30em / 14);
|
||||||
|
|
||||||
|
@fa-var-500px: "\f26e";
|
||||||
|
@fa-var-address-book: "\f2b9";
|
||||||
|
@fa-var-address-book-o: "\f2ba";
|
||||||
|
@fa-var-address-card: "\f2bb";
|
||||||
|
@fa-var-address-card-o: "\f2bc";
|
||||||
|
@fa-var-adjust: "\f042";
|
||||||
|
@fa-var-adn: "\f170";
|
||||||
|
@fa-var-align-center: "\f037";
|
||||||
|
@fa-var-align-justify: "\f039";
|
||||||
|
@fa-var-align-left: "\f036";
|
||||||
|
@fa-var-align-right: "\f038";
|
||||||
|
@fa-var-amazon: "\f270";
|
||||||
|
@fa-var-ambulance: "\f0f9";
|
||||||
|
@fa-var-american-sign-language-interpreting: "\f2a3";
|
||||||
|
@fa-var-anchor: "\f13d";
|
||||||
|
@fa-var-android: "\f17b";
|
||||||
|
@fa-var-angellist: "\f209";
|
||||||
|
@fa-var-angle-double-down: "\f103";
|
||||||
|
@fa-var-angle-double-left: "\f100";
|
||||||
|
@fa-var-angle-double-right: "\f101";
|
||||||
|
@fa-var-angle-double-up: "\f102";
|
||||||
|
@fa-var-angle-down: "\f107";
|
||||||
|
@fa-var-angle-left: "\f104";
|
||||||
|
@fa-var-angle-right: "\f105";
|
||||||
|
@fa-var-angle-up: "\f106";
|
||||||
|
@fa-var-apple: "\f179";
|
||||||
|
@fa-var-archive: "\f187";
|
||||||
|
@fa-var-area-chart: "\f1fe";
|
||||||
|
@fa-var-arrow-circle-down: "\f0ab";
|
||||||
|
@fa-var-arrow-circle-left: "\f0a8";
|
||||||
|
@fa-var-arrow-circle-o-down: "\f01a";
|
||||||
|
@fa-var-arrow-circle-o-left: "\f190";
|
||||||
|
@fa-var-arrow-circle-o-right: "\f18e";
|
||||||
|
@fa-var-arrow-circle-o-up: "\f01b";
|
||||||
|
@fa-var-arrow-circle-right: "\f0a9";
|
||||||
|
@fa-var-arrow-circle-up: "\f0aa";
|
||||||
|
@fa-var-arrow-down: "\f063";
|
||||||
|
@fa-var-arrow-left: "\f060";
|
||||||
|
@fa-var-arrow-right: "\f061";
|
||||||
|
@fa-var-arrow-up: "\f062";
|
||||||
|
@fa-var-arrows: "\f047";
|
||||||
|
@fa-var-arrows-alt: "\f0b2";
|
||||||
|
@fa-var-arrows-h: "\f07e";
|
||||||
|
@fa-var-arrows-v: "\f07d";
|
||||||
|
@fa-var-asl-interpreting: "\f2a3";
|
||||||
|
@fa-var-assistive-listening-systems: "\f2a2";
|
||||||
|
@fa-var-asterisk: "\f069";
|
||||||
|
@fa-var-at: "\f1fa";
|
||||||
|
@fa-var-audio-description: "\f29e";
|
||||||
|
@fa-var-automobile: "\f1b9";
|
||||||
|
@fa-var-backward: "\f04a";
|
||||||
|
@fa-var-balance-scale: "\f24e";
|
||||||
|
@fa-var-ban: "\f05e";
|
||||||
|
@fa-var-bandcamp: "\f2d5";
|
||||||
|
@fa-var-bank: "\f19c";
|
||||||
|
@fa-var-bar-chart: "\f080";
|
||||||
|
@fa-var-bar-chart-o: "\f080";
|
||||||
|
@fa-var-barcode: "\f02a";
|
||||||
|
@fa-var-bars: "\f0c9";
|
||||||
|
@fa-var-bath: "\f2cd";
|
||||||
|
@fa-var-bathtub: "\f2cd";
|
||||||
|
@fa-var-battery: "\f240";
|
||||||
|
@fa-var-battery-0: "\f244";
|
||||||
|
@fa-var-battery-1: "\f243";
|
||||||
|
@fa-var-battery-2: "\f242";
|
||||||
|
@fa-var-battery-3: "\f241";
|
||||||
|
@fa-var-battery-4: "\f240";
|
||||||
|
@fa-var-battery-empty: "\f244";
|
||||||
|
@fa-var-battery-full: "\f240";
|
||||||
|
@fa-var-battery-half: "\f242";
|
||||||
|
@fa-var-battery-quarter: "\f243";
|
||||||
|
@fa-var-battery-three-quarters: "\f241";
|
||||||
|
@fa-var-bed: "\f236";
|
||||||
|
@fa-var-beer: "\f0fc";
|
||||||
|
@fa-var-behance: "\f1b4";
|
||||||
|
@fa-var-behance-square: "\f1b5";
|
||||||
|
@fa-var-bell: "\f0f3";
|
||||||
|
@fa-var-bell-o: "\f0a2";
|
||||||
|
@fa-var-bell-slash: "\f1f6";
|
||||||
|
@fa-var-bell-slash-o: "\f1f7";
|
||||||
|
@fa-var-bicycle: "\f206";
|
||||||
|
@fa-var-binoculars: "\f1e5";
|
||||||
|
@fa-var-birthday-cake: "\f1fd";
|
||||||
|
@fa-var-bitbucket: "\f171";
|
||||||
|
@fa-var-bitbucket-square: "\f172";
|
||||||
|
@fa-var-bitcoin: "\f15a";
|
||||||
|
@fa-var-black-tie: "\f27e";
|
||||||
|
@fa-var-blind: "\f29d";
|
||||||
|
@fa-var-bluetooth: "\f293";
|
||||||
|
@fa-var-bluetooth-b: "\f294";
|
||||||
|
@fa-var-bold: "\f032";
|
||||||
|
@fa-var-bolt: "\f0e7";
|
||||||
|
@fa-var-bomb: "\f1e2";
|
||||||
|
@fa-var-book: "\f02d";
|
||||||
|
@fa-var-bookmark: "\f02e";
|
||||||
|
@fa-var-bookmark-o: "\f097";
|
||||||
|
@fa-var-braille: "\f2a1";
|
||||||
|
@fa-var-briefcase: "\f0b1";
|
||||||
|
@fa-var-btc: "\f15a";
|
||||||
|
@fa-var-bug: "\f188";
|
||||||
|
@fa-var-building: "\f1ad";
|
||||||
|
@fa-var-building-o: "\f0f7";
|
||||||
|
@fa-var-bullhorn: "\f0a1";
|
||||||
|
@fa-var-bullseye: "\f140";
|
||||||
|
@fa-var-bus: "\f207";
|
||||||
|
@fa-var-buysellads: "\f20d";
|
||||||
|
@fa-var-cab: "\f1ba";
|
||||||
|
@fa-var-calculator: "\f1ec";
|
||||||
|
@fa-var-calendar: "\f073";
|
||||||
|
@fa-var-calendar-check-o: "\f274";
|
||||||
|
@fa-var-calendar-minus-o: "\f272";
|
||||||
|
@fa-var-calendar-o: "\f133";
|
||||||
|
@fa-var-calendar-plus-o: "\f271";
|
||||||
|
@fa-var-calendar-times-o: "\f273";
|
||||||
|
@fa-var-camera: "\f030";
|
||||||
|
@fa-var-camera-retro: "\f083";
|
||||||
|
@fa-var-car: "\f1b9";
|
||||||
|
@fa-var-caret-down: "\f0d7";
|
||||||
|
@fa-var-caret-left: "\f0d9";
|
||||||
|
@fa-var-caret-right: "\f0da";
|
||||||
|
@fa-var-caret-square-o-down: "\f150";
|
||||||
|
@fa-var-caret-square-o-left: "\f191";
|
||||||
|
@fa-var-caret-square-o-right: "\f152";
|
||||||
|
@fa-var-caret-square-o-up: "\f151";
|
||||||
|
@fa-var-caret-up: "\f0d8";
|
||||||
|
@fa-var-cart-arrow-down: "\f218";
|
||||||
|
@fa-var-cart-plus: "\f217";
|
||||||
|
@fa-var-cc: "\f20a";
|
||||||
|
@fa-var-cc-amex: "\f1f3";
|
||||||
|
@fa-var-cc-diners-club: "\f24c";
|
||||||
|
@fa-var-cc-discover: "\f1f2";
|
||||||
|
@fa-var-cc-jcb: "\f24b";
|
||||||
|
@fa-var-cc-mastercard: "\f1f1";
|
||||||
|
@fa-var-cc-paypal: "\f1f4";
|
||||||
|
@fa-var-cc-stripe: "\f1f5";
|
||||||
|
@fa-var-cc-visa: "\f1f0";
|
||||||
|
@fa-var-certificate: "\f0a3";
|
||||||
|
@fa-var-chain: "\f0c1";
|
||||||
|
@fa-var-chain-broken: "\f127";
|
||||||
|
@fa-var-check: "\f00c";
|
||||||
|
@fa-var-check-circle: "\f058";
|
||||||
|
@fa-var-check-circle-o: "\f05d";
|
||||||
|
@fa-var-check-square: "\f14a";
|
||||||
|
@fa-var-check-square-o: "\f046";
|
||||||
|
@fa-var-chevron-circle-down: "\f13a";
|
||||||
|
@fa-var-chevron-circle-left: "\f137";
|
||||||
|
@fa-var-chevron-circle-right: "\f138";
|
||||||
|
@fa-var-chevron-circle-up: "\f139";
|
||||||
|
@fa-var-chevron-down: "\f078";
|
||||||
|
@fa-var-chevron-left: "\f053";
|
||||||
|
@fa-var-chevron-right: "\f054";
|
||||||
|
@fa-var-chevron-up: "\f077";
|
||||||
|
@fa-var-child: "\f1ae";
|
||||||
|
@fa-var-chrome: "\f268";
|
||||||
|
@fa-var-circle: "\f111";
|
||||||
|
@fa-var-circle-o: "\f10c";
|
||||||
|
@fa-var-circle-o-notch: "\f1ce";
|
||||||
|
@fa-var-circle-thin: "\f1db";
|
||||||
|
@fa-var-clipboard: "\f0ea";
|
||||||
|
@fa-var-clock-o: "\f017";
|
||||||
|
@fa-var-clone: "\f24d";
|
||||||
|
@fa-var-close: "\f00d";
|
||||||
|
@fa-var-cloud: "\f0c2";
|
||||||
|
@fa-var-cloud-download: "\f0ed";
|
||||||
|
@fa-var-cloud-upload: "\f0ee";
|
||||||
|
@fa-var-cny: "\f157";
|
||||||
|
@fa-var-code: "\f121";
|
||||||
|
@fa-var-code-fork: "\f126";
|
||||||
|
@fa-var-codepen: "\f1cb";
|
||||||
|
@fa-var-codiepie: "\f284";
|
||||||
|
@fa-var-coffee: "\f0f4";
|
||||||
|
@fa-var-cog: "\f013";
|
||||||
|
@fa-var-cogs: "\f085";
|
||||||
|
@fa-var-columns: "\f0db";
|
||||||
|
@fa-var-comment: "\f075";
|
||||||
|
@fa-var-comment-o: "\f0e5";
|
||||||
|
@fa-var-commenting: "\f27a";
|
||||||
|
@fa-var-commenting-o: "\f27b";
|
||||||
|
@fa-var-comments: "\f086";
|
||||||
|
@fa-var-comments-o: "\f0e6";
|
||||||
|
@fa-var-compass: "\f14e";
|
||||||
|
@fa-var-compress: "\f066";
|
||||||
|
@fa-var-connectdevelop: "\f20e";
|
||||||
|
@fa-var-contao: "\f26d";
|
||||||
|
@fa-var-copy: "\f0c5";
|
||||||
|
@fa-var-copyright: "\f1f9";
|
||||||
|
@fa-var-creative-commons: "\f25e";
|
||||||
|
@fa-var-credit-card: "\f09d";
|
||||||
|
@fa-var-credit-card-alt: "\f283";
|
||||||
|
@fa-var-crop: "\f125";
|
||||||
|
@fa-var-crosshairs: "\f05b";
|
||||||
|
@fa-var-css3: "\f13c";
|
||||||
|
@fa-var-cube: "\f1b2";
|
||||||
|
@fa-var-cubes: "\f1b3";
|
||||||
|
@fa-var-cut: "\f0c4";
|
||||||
|
@fa-var-cutlery: "\f0f5";
|
||||||
|
@fa-var-dashboard: "\f0e4";
|
||||||
|
@fa-var-dashcube: "\f210";
|
||||||
|
@fa-var-database: "\f1c0";
|
||||||
|
@fa-var-deaf: "\f2a4";
|
||||||
|
@fa-var-deafness: "\f2a4";
|
||||||
|
@fa-var-dedent: "\f03b";
|
||||||
|
@fa-var-delicious: "\f1a5";
|
||||||
|
@fa-var-desktop: "\f108";
|
||||||
|
@fa-var-deviantart: "\f1bd";
|
||||||
|
@fa-var-diamond: "\f219";
|
||||||
|
@fa-var-digg: "\f1a6";
|
||||||
|
@fa-var-dollar: "\f155";
|
||||||
|
@fa-var-dot-circle-o: "\f192";
|
||||||
|
@fa-var-download: "\f019";
|
||||||
|
@fa-var-dribbble: "\f17d";
|
||||||
|
@fa-var-drivers-license: "\f2c2";
|
||||||
|
@fa-var-drivers-license-o: "\f2c3";
|
||||||
|
@fa-var-dropbox: "\f16b";
|
||||||
|
@fa-var-drupal: "\f1a9";
|
||||||
|
@fa-var-edge: "\f282";
|
||||||
|
@fa-var-edit: "\f044";
|
||||||
|
@fa-var-eercast: "\f2da";
|
||||||
|
@fa-var-eject: "\f052";
|
||||||
|
@fa-var-ellipsis-h: "\f141";
|
||||||
|
@fa-var-ellipsis-v: "\f142";
|
||||||
|
@fa-var-empire: "\f1d1";
|
||||||
|
@fa-var-envelope: "\f0e0";
|
||||||
|
@fa-var-envelope-o: "\f003";
|
||||||
|
@fa-var-envelope-open: "\f2b6";
|
||||||
|
@fa-var-envelope-open-o: "\f2b7";
|
||||||
|
@fa-var-envelope-square: "\f199";
|
||||||
|
@fa-var-envira: "\f299";
|
||||||
|
@fa-var-eraser: "\f12d";
|
||||||
|
@fa-var-etsy: "\f2d7";
|
||||||
|
@fa-var-eur: "\f153";
|
||||||
|
@fa-var-euro: "\f153";
|
||||||
|
@fa-var-exchange: "\f0ec";
|
||||||
|
@fa-var-exclamation: "\f12a";
|
||||||
|
@fa-var-exclamation-circle: "\f06a";
|
||||||
|
@fa-var-exclamation-triangle: "\f071";
|
||||||
|
@fa-var-expand: "\f065";
|
||||||
|
@fa-var-expeditedssl: "\f23e";
|
||||||
|
@fa-var-external-link: "\f08e";
|
||||||
|
@fa-var-external-link-square: "\f14c";
|
||||||
|
@fa-var-eye: "\f06e";
|
||||||
|
@fa-var-eye-slash: "\f070";
|
||||||
|
@fa-var-eyedropper: "\f1fb";
|
||||||
|
@fa-var-fa: "\f2b4";
|
||||||
|
@fa-var-facebook: "\f09a";
|
||||||
|
@fa-var-facebook-f: "\f09a";
|
||||||
|
@fa-var-facebook-official: "\f230";
|
||||||
|
@fa-var-facebook-square: "\f082";
|
||||||
|
@fa-var-fast-backward: "\f049";
|
||||||
|
@fa-var-fast-forward: "\f050";
|
||||||
|
@fa-var-fax: "\f1ac";
|
||||||
|
@fa-var-feed: "\f09e";
|
||||||
|
@fa-var-female: "\f182";
|
||||||
|
@fa-var-fighter-jet: "\f0fb";
|
||||||
|
@fa-var-file: "\f15b";
|
||||||
|
@fa-var-file-archive-o: "\f1c6";
|
||||||
|
@fa-var-file-audio-o: "\f1c7";
|
||||||
|
@fa-var-file-code-o: "\f1c9";
|
||||||
|
@fa-var-file-excel-o: "\f1c3";
|
||||||
|
@fa-var-file-image-o: "\f1c5";
|
||||||
|
@fa-var-file-movie-o: "\f1c8";
|
||||||
|
@fa-var-file-o: "\f016";
|
||||||
|
@fa-var-file-pdf-o: "\f1c1";
|
||||||
|
@fa-var-file-photo-o: "\f1c5";
|
||||||
|
@fa-var-file-picture-o: "\f1c5";
|
||||||
|
@fa-var-file-powerpoint-o: "\f1c4";
|
||||||
|
@fa-var-file-sound-o: "\f1c7";
|
||||||
|
@fa-var-file-text: "\f15c";
|
||||||
|
@fa-var-file-text-o: "\f0f6";
|
||||||
|
@fa-var-file-video-o: "\f1c8";
|
||||||
|
@fa-var-file-word-o: "\f1c2";
|
||||||
|
@fa-var-file-zip-o: "\f1c6";
|
||||||
|
@fa-var-files-o: "\f0c5";
|
||||||
|
@fa-var-film: "\f008";
|
||||||
|
@fa-var-filter: "\f0b0";
|
||||||
|
@fa-var-fire: "\f06d";
|
||||||
|
@fa-var-fire-extinguisher: "\f134";
|
||||||
|
@fa-var-firefox: "\f269";
|
||||||
|
@fa-var-first-order: "\f2b0";
|
||||||
|
@fa-var-flag: "\f024";
|
||||||
|
@fa-var-flag-checkered: "\f11e";
|
||||||
|
@fa-var-flag-o: "\f11d";
|
||||||
|
@fa-var-flash: "\f0e7";
|
||||||
|
@fa-var-flask: "\f0c3";
|
||||||
|
@fa-var-flickr: "\f16e";
|
||||||
|
@fa-var-floppy-o: "\f0c7";
|
||||||
|
@fa-var-folder: "\f07b";
|
||||||
|
@fa-var-folder-o: "\f114";
|
||||||
|
@fa-var-folder-open: "\f07c";
|
||||||
|
@fa-var-folder-open-o: "\f115";
|
||||||
|
@fa-var-font: "\f031";
|
||||||
|
@fa-var-font-awesome: "\f2b4";
|
||||||
|
@fa-var-fonticons: "\f280";
|
||||||
|
@fa-var-fort-awesome: "\f286";
|
||||||
|
@fa-var-forumbee: "\f211";
|
||||||
|
@fa-var-forward: "\f04e";
|
||||||
|
@fa-var-foursquare: "\f180";
|
||||||
|
@fa-var-free-code-camp: "\f2c5";
|
||||||
|
@fa-var-frown-o: "\f119";
|
||||||
|
@fa-var-futbol-o: "\f1e3";
|
||||||
|
@fa-var-gamepad: "\f11b";
|
||||||
|
@fa-var-gavel: "\f0e3";
|
||||||
|
@fa-var-gbp: "\f154";
|
||||||
|
@fa-var-ge: "\f1d1";
|
||||||
|
@fa-var-gear: "\f013";
|
||||||
|
@fa-var-gears: "\f085";
|
||||||
|
@fa-var-genderless: "\f22d";
|
||||||
|
@fa-var-get-pocket: "\f265";
|
||||||
|
@fa-var-gg: "\f260";
|
||||||
|
@fa-var-gg-circle: "\f261";
|
||||||
|
@fa-var-gift: "\f06b";
|
||||||
|
@fa-var-git: "\f1d3";
|
||||||
|
@fa-var-git-square: "\f1d2";
|
||||||
|
@fa-var-github: "\f09b";
|
||||||
|
@fa-var-github-alt: "\f113";
|
||||||
|
@fa-var-github-square: "\f092";
|
||||||
|
@fa-var-gitlab: "\f296";
|
||||||
|
@fa-var-gittip: "\f184";
|
||||||
|
@fa-var-glass: "\f000";
|
||||||
|
@fa-var-glide: "\f2a5";
|
||||||
|
@fa-var-glide-g: "\f2a6";
|
||||||
|
@fa-var-globe: "\f0ac";
|
||||||
|
@fa-var-google: "\f1a0";
|
||||||
|
@fa-var-google-plus: "\f0d5";
|
||||||
|
@fa-var-google-plus-circle: "\f2b3";
|
||||||
|
@fa-var-google-plus-official: "\f2b3";
|
||||||
|
@fa-var-google-plus-square: "\f0d4";
|
||||||
|
@fa-var-google-wallet: "\f1ee";
|
||||||
|
@fa-var-graduation-cap: "\f19d";
|
||||||
|
@fa-var-gratipay: "\f184";
|
||||||
|
@fa-var-grav: "\f2d6";
|
||||||
|
@fa-var-group: "\f0c0";
|
||||||
|
@fa-var-h-square: "\f0fd";
|
||||||
|
@fa-var-hacker-news: "\f1d4";
|
||||||
|
@fa-var-hand-grab-o: "\f255";
|
||||||
|
@fa-var-hand-lizard-o: "\f258";
|
||||||
|
@fa-var-hand-o-down: "\f0a7";
|
||||||
|
@fa-var-hand-o-left: "\f0a5";
|
||||||
|
@fa-var-hand-o-right: "\f0a4";
|
||||||
|
@fa-var-hand-o-up: "\f0a6";
|
||||||
|
@fa-var-hand-paper-o: "\f256";
|
||||||
|
@fa-var-hand-peace-o: "\f25b";
|
||||||
|
@fa-var-hand-pointer-o: "\f25a";
|
||||||
|
@fa-var-hand-rock-o: "\f255";
|
||||||
|
@fa-var-hand-scissors-o: "\f257";
|
||||||
|
@fa-var-hand-spock-o: "\f259";
|
||||||
|
@fa-var-hand-stop-o: "\f256";
|
||||||
|
@fa-var-handshake-o: "\f2b5";
|
||||||
|
@fa-var-hard-of-hearing: "\f2a4";
|
||||||
|
@fa-var-hashtag: "\f292";
|
||||||
|
@fa-var-hdd-o: "\f0a0";
|
||||||
|
@fa-var-header: "\f1dc";
|
||||||
|
@fa-var-headphones: "\f025";
|
||||||
|
@fa-var-heart: "\f004";
|
||||||
|
@fa-var-heart-o: "\f08a";
|
||||||
|
@fa-var-heartbeat: "\f21e";
|
||||||
|
@fa-var-history: "\f1da";
|
||||||
|
@fa-var-home: "\f015";
|
||||||
|
@fa-var-hospital-o: "\f0f8";
|
||||||
|
@fa-var-hotel: "\f236";
|
||||||
|
@fa-var-hourglass: "\f254";
|
||||||
|
@fa-var-hourglass-1: "\f251";
|
||||||
|
@fa-var-hourglass-2: "\f252";
|
||||||
|
@fa-var-hourglass-3: "\f253";
|
||||||
|
@fa-var-hourglass-end: "\f253";
|
||||||
|
@fa-var-hourglass-half: "\f252";
|
||||||
|
@fa-var-hourglass-o: "\f250";
|
||||||
|
@fa-var-hourglass-start: "\f251";
|
||||||
|
@fa-var-houzz: "\f27c";
|
||||||
|
@fa-var-html5: "\f13b";
|
||||||
|
@fa-var-i-cursor: "\f246";
|
||||||
|
@fa-var-id-badge: "\f2c1";
|
||||||
|
@fa-var-id-card: "\f2c2";
|
||||||
|
@fa-var-id-card-o: "\f2c3";
|
||||||
|
@fa-var-ils: "\f20b";
|
||||||
|
@fa-var-image: "\f03e";
|
||||||
|
@fa-var-imdb: "\f2d8";
|
||||||
|
@fa-var-inbox: "\f01c";
|
||||||
|
@fa-var-indent: "\f03c";
|
||||||
|
@fa-var-industry: "\f275";
|
||||||
|
@fa-var-info: "\f129";
|
||||||
|
@fa-var-info-circle: "\f05a";
|
||||||
|
@fa-var-inr: "\f156";
|
||||||
|
@fa-var-instagram: "\f16d";
|
||||||
|
@fa-var-institution: "\f19c";
|
||||||
|
@fa-var-internet-explorer: "\f26b";
|
||||||
|
@fa-var-intersex: "\f224";
|
||||||
|
@fa-var-ioxhost: "\f208";
|
||||||
|
@fa-var-italic: "\f033";
|
||||||
|
@fa-var-joomla: "\f1aa";
|
||||||
|
@fa-var-jpy: "\f157";
|
||||||
|
@fa-var-jsfiddle: "\f1cc";
|
||||||
|
@fa-var-key: "\f084";
|
||||||
|
@fa-var-keyboard-o: "\f11c";
|
||||||
|
@fa-var-krw: "\f159";
|
||||||
|
@fa-var-language: "\f1ab";
|
||||||
|
@fa-var-laptop: "\f109";
|
||||||
|
@fa-var-lastfm: "\f202";
|
||||||
|
@fa-var-lastfm-square: "\f203";
|
||||||
|
@fa-var-leaf: "\f06c";
|
||||||
|
@fa-var-leanpub: "\f212";
|
||||||
|
@fa-var-legal: "\f0e3";
|
||||||
|
@fa-var-lemon-o: "\f094";
|
||||||
|
@fa-var-level-down: "\f149";
|
||||||
|
@fa-var-level-up: "\f148";
|
||||||
|
@fa-var-life-bouy: "\f1cd";
|
||||||
|
@fa-var-life-buoy: "\f1cd";
|
||||||
|
@fa-var-life-ring: "\f1cd";
|
||||||
|
@fa-var-life-saver: "\f1cd";
|
||||||
|
@fa-var-lightbulb-o: "\f0eb";
|
||||||
|
@fa-var-line-chart: "\f201";
|
||||||
|
@fa-var-link: "\f0c1";
|
||||||
|
@fa-var-linkedin: "\f0e1";
|
||||||
|
@fa-var-linkedin-square: "\f08c";
|
||||||
|
@fa-var-linode: "\f2b8";
|
||||||
|
@fa-var-linux: "\f17c";
|
||||||
|
@fa-var-list: "\f03a";
|
||||||
|
@fa-var-list-alt: "\f022";
|
||||||
|
@fa-var-list-ol: "\f0cb";
|
||||||
|
@fa-var-list-ul: "\f0ca";
|
||||||
|
@fa-var-location-arrow: "\f124";
|
||||||
|
@fa-var-lock: "\f023";
|
||||||
|
@fa-var-long-arrow-down: "\f175";
|
||||||
|
@fa-var-long-arrow-left: "\f177";
|
||||||
|
@fa-var-long-arrow-right: "\f178";
|
||||||
|
@fa-var-long-arrow-up: "\f176";
|
||||||
|
@fa-var-low-vision: "\f2a8";
|
||||||
|
@fa-var-magic: "\f0d0";
|
||||||
|
@fa-var-magnet: "\f076";
|
||||||
|
@fa-var-mail-forward: "\f064";
|
||||||
|
@fa-var-mail-reply: "\f112";
|
||||||
|
@fa-var-mail-reply-all: "\f122";
|
||||||
|
@fa-var-male: "\f183";
|
||||||
|
@fa-var-map: "\f279";
|
||||||
|
@fa-var-map-marker: "\f041";
|
||||||
|
@fa-var-map-o: "\f278";
|
||||||
|
@fa-var-map-pin: "\f276";
|
||||||
|
@fa-var-map-signs: "\f277";
|
||||||
|
@fa-var-mars: "\f222";
|
||||||
|
@fa-var-mars-double: "\f227";
|
||||||
|
@fa-var-mars-stroke: "\f229";
|
||||||
|
@fa-var-mars-stroke-h: "\f22b";
|
||||||
|
@fa-var-mars-stroke-v: "\f22a";
|
||||||
|
@fa-var-maxcdn: "\f136";
|
||||||
|
@fa-var-meanpath: "\f20c";
|
||||||
|
@fa-var-medium: "\f23a";
|
||||||
|
@fa-var-medkit: "\f0fa";
|
||||||
|
@fa-var-meetup: "\f2e0";
|
||||||
|
@fa-var-meh-o: "\f11a";
|
||||||
|
@fa-var-mercury: "\f223";
|
||||||
|
@fa-var-microchip: "\f2db";
|
||||||
|
@fa-var-microphone: "\f130";
|
||||||
|
@fa-var-microphone-slash: "\f131";
|
||||||
|
@fa-var-minus: "\f068";
|
||||||
|
@fa-var-minus-circle: "\f056";
|
||||||
|
@fa-var-minus-square: "\f146";
|
||||||
|
@fa-var-minus-square-o: "\f147";
|
||||||
|
@fa-var-mixcloud: "\f289";
|
||||||
|
@fa-var-mobile: "\f10b";
|
||||||
|
@fa-var-mobile-phone: "\f10b";
|
||||||
|
@fa-var-modx: "\f285";
|
||||||
|
@fa-var-money: "\f0d6";
|
||||||
|
@fa-var-moon-o: "\f186";
|
||||||
|
@fa-var-mortar-board: "\f19d";
|
||||||
|
@fa-var-motorcycle: "\f21c";
|
||||||
|
@fa-var-mouse-pointer: "\f245";
|
||||||
|
@fa-var-music: "\f001";
|
||||||
|
@fa-var-navicon: "\f0c9";
|
||||||
|
@fa-var-neuter: "\f22c";
|
||||||
|
@fa-var-newspaper-o: "\f1ea";
|
||||||
|
@fa-var-object-group: "\f247";
|
||||||
|
@fa-var-object-ungroup: "\f248";
|
||||||
|
@fa-var-odnoklassniki: "\f263";
|
||||||
|
@fa-var-odnoklassniki-square: "\f264";
|
||||||
|
@fa-var-opencart: "\f23d";
|
||||||
|
@fa-var-openid: "\f19b";
|
||||||
|
@fa-var-opera: "\f26a";
|
||||||
|
@fa-var-optin-monster: "\f23c";
|
||||||
|
@fa-var-outdent: "\f03b";
|
||||||
|
@fa-var-pagelines: "\f18c";
|
||||||
|
@fa-var-paint-brush: "\f1fc";
|
||||||
|
@fa-var-paper-plane: "\f1d8";
|
||||||
|
@fa-var-paper-plane-o: "\f1d9";
|
||||||
|
@fa-var-paperclip: "\f0c6";
|
||||||
|
@fa-var-paragraph: "\f1dd";
|
||||||
|
@fa-var-paste: "\f0ea";
|
||||||
|
@fa-var-pause: "\f04c";
|
||||||
|
@fa-var-pause-circle: "\f28b";
|
||||||
|
@fa-var-pause-circle-o: "\f28c";
|
||||||
|
@fa-var-paw: "\f1b0";
|
||||||
|
@fa-var-paypal: "\f1ed";
|
||||||
|
@fa-var-pencil: "\f040";
|
||||||
|
@fa-var-pencil-square: "\f14b";
|
||||||
|
@fa-var-pencil-square-o: "\f044";
|
||||||
|
@fa-var-percent: "\f295";
|
||||||
|
@fa-var-phone: "\f095";
|
||||||
|
@fa-var-phone-square: "\f098";
|
||||||
|
@fa-var-photo: "\f03e";
|
||||||
|
@fa-var-picture-o: "\f03e";
|
||||||
|
@fa-var-pie-chart: "\f200";
|
||||||
|
@fa-var-pied-piper: "\f2ae";
|
||||||
|
@fa-var-pied-piper-alt: "\f1a8";
|
||||||
|
@fa-var-pied-piper-pp: "\f1a7";
|
||||||
|
@fa-var-pinterest: "\f0d2";
|
||||||
|
@fa-var-pinterest-p: "\f231";
|
||||||
|
@fa-var-pinterest-square: "\f0d3";
|
||||||
|
@fa-var-plane: "\f072";
|
||||||
|
@fa-var-play: "\f04b";
|
||||||
|
@fa-var-play-circle: "\f144";
|
||||||
|
@fa-var-play-circle-o: "\f01d";
|
||||||
|
@fa-var-plug: "\f1e6";
|
||||||
|
@fa-var-plus: "\f067";
|
||||||
|
@fa-var-plus-circle: "\f055";
|
||||||
|
@fa-var-plus-square: "\f0fe";
|
||||||
|
@fa-var-plus-square-o: "\f196";
|
||||||
|
@fa-var-podcast: "\f2ce";
|
||||||
|
@fa-var-power-off: "\f011";
|
||||||
|
@fa-var-print: "\f02f";
|
||||||
|
@fa-var-product-hunt: "\f288";
|
||||||
|
@fa-var-puzzle-piece: "\f12e";
|
||||||
|
@fa-var-qq: "\f1d6";
|
||||||
|
@fa-var-qrcode: "\f029";
|
||||||
|
@fa-var-question: "\f128";
|
||||||
|
@fa-var-question-circle: "\f059";
|
||||||
|
@fa-var-question-circle-o: "\f29c";
|
||||||
|
@fa-var-quora: "\f2c4";
|
||||||
|
@fa-var-quote-left: "\f10d";
|
||||||
|
@fa-var-quote-right: "\f10e";
|
||||||
|
@fa-var-ra: "\f1d0";
|
||||||
|
@fa-var-random: "\f074";
|
||||||
|
@fa-var-ravelry: "\f2d9";
|
||||||
|
@fa-var-rebel: "\f1d0";
|
||||||
|
@fa-var-recycle: "\f1b8";
|
||||||
|
@fa-var-reddit: "\f1a1";
|
||||||
|
@fa-var-reddit-alien: "\f281";
|
||||||
|
@fa-var-reddit-square: "\f1a2";
|
||||||
|
@fa-var-refresh: "\f021";
|
||||||
|
@fa-var-registered: "\f25d";
|
||||||
|
@fa-var-remove: "\f00d";
|
||||||
|
@fa-var-renren: "\f18b";
|
||||||
|
@fa-var-reorder: "\f0c9";
|
||||||
|
@fa-var-repeat: "\f01e";
|
||||||
|
@fa-var-reply: "\f112";
|
||||||
|
@fa-var-reply-all: "\f122";
|
||||||
|
@fa-var-resistance: "\f1d0";
|
||||||
|
@fa-var-retweet: "\f079";
|
||||||
|
@fa-var-rmb: "\f157";
|
||||||
|
@fa-var-road: "\f018";
|
||||||
|
@fa-var-rocket: "\f135";
|
||||||
|
@fa-var-rotate-left: "\f0e2";
|
||||||
|
@fa-var-rotate-right: "\f01e";
|
||||||
|
@fa-var-rouble: "\f158";
|
||||||
|
@fa-var-rss: "\f09e";
|
||||||
|
@fa-var-rss-square: "\f143";
|
||||||
|
@fa-var-rub: "\f158";
|
||||||
|
@fa-var-ruble: "\f158";
|
||||||
|
@fa-var-rupee: "\f156";
|
||||||
|
@fa-var-s15: "\f2cd";
|
||||||
|
@fa-var-safari: "\f267";
|
||||||
|
@fa-var-save: "\f0c7";
|
||||||
|
@fa-var-scissors: "\f0c4";
|
||||||
|
@fa-var-scribd: "\f28a";
|
||||||
|
@fa-var-search: "\f002";
|
||||||
|
@fa-var-search-minus: "\f010";
|
||||||
|
@fa-var-search-plus: "\f00e";
|
||||||
|
@fa-var-sellsy: "\f213";
|
||||||
|
@fa-var-send: "\f1d8";
|
||||||
|
@fa-var-send-o: "\f1d9";
|
||||||
|
@fa-var-server: "\f233";
|
||||||
|
@fa-var-share: "\f064";
|
||||||
|
@fa-var-share-alt: "\f1e0";
|
||||||
|
@fa-var-share-alt-square: "\f1e1";
|
||||||
|
@fa-var-share-square: "\f14d";
|
||||||
|
@fa-var-share-square-o: "\f045";
|
||||||
|
@fa-var-shekel: "\f20b";
|
||||||
|
@fa-var-sheqel: "\f20b";
|
||||||
|
@fa-var-shield: "\f132";
|
||||||
|
@fa-var-ship: "\f21a";
|
||||||
|
@fa-var-shirtsinbulk: "\f214";
|
||||||
|
@fa-var-shopping-bag: "\f290";
|
||||||
|
@fa-var-shopping-basket: "\f291";
|
||||||
|
@fa-var-shopping-cart: "\f07a";
|
||||||
|
@fa-var-shower: "\f2cc";
|
||||||
|
@fa-var-sign-in: "\f090";
|
||||||
|
@fa-var-sign-language: "\f2a7";
|
||||||
|
@fa-var-sign-out: "\f08b";
|
||||||
|
@fa-var-signal: "\f012";
|
||||||
|
@fa-var-signing: "\f2a7";
|
||||||
|
@fa-var-simplybuilt: "\f215";
|
||||||
|
@fa-var-sitemap: "\f0e8";
|
||||||
|
@fa-var-skyatlas: "\f216";
|
||||||
|
@fa-var-skype: "\f17e";
|
||||||
|
@fa-var-slack: "\f198";
|
||||||
|
@fa-var-sliders: "\f1de";
|
||||||
|
@fa-var-slideshare: "\f1e7";
|
||||||
|
@fa-var-smile-o: "\f118";
|
||||||
|
@fa-var-snapchat: "\f2ab";
|
||||||
|
@fa-var-snapchat-ghost: "\f2ac";
|
||||||
|
@fa-var-snapchat-square: "\f2ad";
|
||||||
|
@fa-var-snowflake-o: "\f2dc";
|
||||||
|
@fa-var-soccer-ball-o: "\f1e3";
|
||||||
|
@fa-var-sort: "\f0dc";
|
||||||
|
@fa-var-sort-alpha-asc: "\f15d";
|
||||||
|
@fa-var-sort-alpha-desc: "\f15e";
|
||||||
|
@fa-var-sort-amount-asc: "\f160";
|
||||||
|
@fa-var-sort-amount-desc: "\f161";
|
||||||
|
@fa-var-sort-asc: "\f0de";
|
||||||
|
@fa-var-sort-desc: "\f0dd";
|
||||||
|
@fa-var-sort-down: "\f0dd";
|
||||||
|
@fa-var-sort-numeric-asc: "\f162";
|
||||||
|
@fa-var-sort-numeric-desc: "\f163";
|
||||||
|
@fa-var-sort-up: "\f0de";
|
||||||
|
@fa-var-soundcloud: "\f1be";
|
||||||
|
@fa-var-space-shuttle: "\f197";
|
||||||
|
@fa-var-spinner: "\f110";
|
||||||
|
@fa-var-spoon: "\f1b1";
|
||||||
|
@fa-var-spotify: "\f1bc";
|
||||||
|
@fa-var-square: "\f0c8";
|
||||||
|
@fa-var-square-o: "\f096";
|
||||||
|
@fa-var-stack-exchange: "\f18d";
|
||||||
|
@fa-var-stack-overflow: "\f16c";
|
||||||
|
@fa-var-star: "\f005";
|
||||||
|
@fa-var-star-half: "\f089";
|
||||||
|
@fa-var-star-half-empty: "\f123";
|
||||||
|
@fa-var-star-half-full: "\f123";
|
||||||
|
@fa-var-star-half-o: "\f123";
|
||||||
|
@fa-var-star-o: "\f006";
|
||||||
|
@fa-var-steam: "\f1b6";
|
||||||
|
@fa-var-steam-square: "\f1b7";
|
||||||
|
@fa-var-step-backward: "\f048";
|
||||||
|
@fa-var-step-forward: "\f051";
|
||||||
|
@fa-var-stethoscope: "\f0f1";
|
||||||
|
@fa-var-sticky-note: "\f249";
|
||||||
|
@fa-var-sticky-note-o: "\f24a";
|
||||||
|
@fa-var-stop: "\f04d";
|
||||||
|
@fa-var-stop-circle: "\f28d";
|
||||||
|
@fa-var-stop-circle-o: "\f28e";
|
||||||
|
@fa-var-street-view: "\f21d";
|
||||||
|
@fa-var-strikethrough: "\f0cc";
|
||||||
|
@fa-var-stumbleupon: "\f1a4";
|
||||||
|
@fa-var-stumbleupon-circle: "\f1a3";
|
||||||
|
@fa-var-subscript: "\f12c";
|
||||||
|
@fa-var-subway: "\f239";
|
||||||
|
@fa-var-suitcase: "\f0f2";
|
||||||
|
@fa-var-sun-o: "\f185";
|
||||||
|
@fa-var-superpowers: "\f2dd";
|
||||||
|
@fa-var-superscript: "\f12b";
|
||||||
|
@fa-var-support: "\f1cd";
|
||||||
|
@fa-var-table: "\f0ce";
|
||||||
|
@fa-var-tablet: "\f10a";
|
||||||
|
@fa-var-tachometer: "\f0e4";
|
||||||
|
@fa-var-tag: "\f02b";
|
||||||
|
@fa-var-tags: "\f02c";
|
||||||
|
@fa-var-tasks: "\f0ae";
|
||||||
|
@fa-var-taxi: "\f1ba";
|
||||||
|
@fa-var-telegram: "\f2c6";
|
||||||
|
@fa-var-television: "\f26c";
|
||||||
|
@fa-var-tencent-weibo: "\f1d5";
|
||||||
|
@fa-var-terminal: "\f120";
|
||||||
|
@fa-var-text-height: "\f034";
|
||||||
|
@fa-var-text-width: "\f035";
|
||||||
|
@fa-var-th: "\f00a";
|
||||||
|
@fa-var-th-large: "\f009";
|
||||||
|
@fa-var-th-list: "\f00b";
|
||||||
|
@fa-var-themeisle: "\f2b2";
|
||||||
|
@fa-var-thermometer: "\f2c7";
|
||||||
|
@fa-var-thermometer-0: "\f2cb";
|
||||||
|
@fa-var-thermometer-1: "\f2ca";
|
||||||
|
@fa-var-thermometer-2: "\f2c9";
|
||||||
|
@fa-var-thermometer-3: "\f2c8";
|
||||||
|
@fa-var-thermometer-4: "\f2c7";
|
||||||
|
@fa-var-thermometer-empty: "\f2cb";
|
||||||
|
@fa-var-thermometer-full: "\f2c7";
|
||||||
|
@fa-var-thermometer-half: "\f2c9";
|
||||||
|
@fa-var-thermometer-quarter: "\f2ca";
|
||||||
|
@fa-var-thermometer-three-quarters: "\f2c8";
|
||||||
|
@fa-var-thumb-tack: "\f08d";
|
||||||
|
@fa-var-thumbs-down: "\f165";
|
||||||
|
@fa-var-thumbs-o-down: "\f088";
|
||||||
|
@fa-var-thumbs-o-up: "\f087";
|
||||||
|
@fa-var-thumbs-up: "\f164";
|
||||||
|
@fa-var-ticket: "\f145";
|
||||||
|
@fa-var-times: "\f00d";
|
||||||
|
@fa-var-times-circle: "\f057";
|
||||||
|
@fa-var-times-circle-o: "\f05c";
|
||||||
|
@fa-var-times-rectangle: "\f2d3";
|
||||||
|
@fa-var-times-rectangle-o: "\f2d4";
|
||||||
|
@fa-var-tint: "\f043";
|
||||||
|
@fa-var-toggle-down: "\f150";
|
||||||
|
@fa-var-toggle-left: "\f191";
|
||||||
|
@fa-var-toggle-off: "\f204";
|
||||||
|
@fa-var-toggle-on: "\f205";
|
||||||
|
@fa-var-toggle-right: "\f152";
|
||||||
|
@fa-var-toggle-up: "\f151";
|
||||||
|
@fa-var-trademark: "\f25c";
|
||||||
|
@fa-var-train: "\f238";
|
||||||
|
@fa-var-transgender: "\f224";
|
||||||
|
@fa-var-transgender-alt: "\f225";
|
||||||
|
@fa-var-trash: "\f1f8";
|
||||||
|
@fa-var-trash-o: "\f014";
|
||||||
|
@fa-var-tree: "\f1bb";
|
||||||
|
@fa-var-trello: "\f181";
|
||||||
|
@fa-var-tripadvisor: "\f262";
|
||||||
|
@fa-var-trophy: "\f091";
|
||||||
|
@fa-var-truck: "\f0d1";
|
||||||
|
@fa-var-try: "\f195";
|
||||||
|
@fa-var-tty: "\f1e4";
|
||||||
|
@fa-var-tumblr: "\f173";
|
||||||
|
@fa-var-tumblr-square: "\f174";
|
||||||
|
@fa-var-turkish-lira: "\f195";
|
||||||
|
@fa-var-tv: "\f26c";
|
||||||
|
@fa-var-twitch: "\f1e8";
|
||||||
|
@fa-var-twitter: "\f099";
|
||||||
|
@fa-var-twitter-square: "\f081";
|
||||||
|
@fa-var-umbrella: "\f0e9";
|
||||||
|
@fa-var-underline: "\f0cd";
|
||||||
|
@fa-var-undo: "\f0e2";
|
||||||
|
@fa-var-universal-access: "\f29a";
|
||||||
|
@fa-var-university: "\f19c";
|
||||||
|
@fa-var-unlink: "\f127";
|
||||||
|
@fa-var-unlock: "\f09c";
|
||||||
|
@fa-var-unlock-alt: "\f13e";
|
||||||
|
@fa-var-unsorted: "\f0dc";
|
||||||
|
@fa-var-upload: "\f093";
|
||||||
|
@fa-var-usb: "\f287";
|
||||||
|
@fa-var-usd: "\f155";
|
||||||
|
@fa-var-user: "\f007";
|
||||||
|
@fa-var-user-circle: "\f2bd";
|
||||||
|
@fa-var-user-circle-o: "\f2be";
|
||||||
|
@fa-var-user-md: "\f0f0";
|
||||||
|
@fa-var-user-o: "\f2c0";
|
||||||
|
@fa-var-user-plus: "\f234";
|
||||||
|
@fa-var-user-secret: "\f21b";
|
||||||
|
@fa-var-user-times: "\f235";
|
||||||
|
@fa-var-users: "\f0c0";
|
||||||
|
@fa-var-vcard: "\f2bb";
|
||||||
|
@fa-var-vcard-o: "\f2bc";
|
||||||
|
@fa-var-venus: "\f221";
|
||||||
|
@fa-var-venus-double: "\f226";
|
||||||
|
@fa-var-venus-mars: "\f228";
|
||||||
|
@fa-var-viacoin: "\f237";
|
||||||
|
@fa-var-viadeo: "\f2a9";
|
||||||
|
@fa-var-viadeo-square: "\f2aa";
|
||||||
|
@fa-var-video-camera: "\f03d";
|
||||||
|
@fa-var-vimeo: "\f27d";
|
||||||
|
@fa-var-vimeo-square: "\f194";
|
||||||
|
@fa-var-vine: "\f1ca";
|
||||||
|
@fa-var-vk: "\f189";
|
||||||
|
@fa-var-volume-control-phone: "\f2a0";
|
||||||
|
@fa-var-volume-down: "\f027";
|
||||||
|
@fa-var-volume-off: "\f026";
|
||||||
|
@fa-var-volume-up: "\f028";
|
||||||
|
@fa-var-warning: "\f071";
|
||||||
|
@fa-var-wechat: "\f1d7";
|
||||||
|
@fa-var-weibo: "\f18a";
|
||||||
|
@fa-var-weixin: "\f1d7";
|
||||||
|
@fa-var-whatsapp: "\f232";
|
||||||
|
@fa-var-wheelchair: "\f193";
|
||||||
|
@fa-var-wheelchair-alt: "\f29b";
|
||||||
|
@fa-var-wifi: "\f1eb";
|
||||||
|
@fa-var-wikipedia-w: "\f266";
|
||||||
|
@fa-var-window-close: "\f2d3";
|
||||||
|
@fa-var-window-close-o: "\f2d4";
|
||||||
|
@fa-var-window-maximize: "\f2d0";
|
||||||
|
@fa-var-window-minimize: "\f2d1";
|
||||||
|
@fa-var-window-restore: "\f2d2";
|
||||||
|
@fa-var-windows: "\f17a";
|
||||||
|
@fa-var-won: "\f159";
|
||||||
|
@fa-var-wordpress: "\f19a";
|
||||||
|
@fa-var-wpbeginner: "\f297";
|
||||||
|
@fa-var-wpexplorer: "\f2de";
|
||||||
|
@fa-var-wpforms: "\f298";
|
||||||
|
@fa-var-wrench: "\f0ad";
|
||||||
|
@fa-var-xing: "\f168";
|
||||||
|
@fa-var-xing-square: "\f169";
|
||||||
|
@fa-var-y-combinator: "\f23b";
|
||||||
|
@fa-var-y-combinator-square: "\f1d4";
|
||||||
|
@fa-var-yahoo: "\f19e";
|
||||||
|
@fa-var-yc: "\f23b";
|
||||||
|
@fa-var-yc-square: "\f1d4";
|
||||||
|
@fa-var-yelp: "\f1e9";
|
||||||
|
@fa-var-yen: "\f157";
|
||||||
|
@fa-var-yoast: "\f2b1";
|
||||||
|
@fa-var-youtube: "\f167";
|
||||||
|
@fa-var-youtube-play: "\f16a";
|
||||||
|
@fa-var-youtube-square: "\f166";
|
||||||
|
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"name": "font-awesome",
|
||||||
|
"description": "Font Awesome",
|
||||||
|
"version": "4.2.0",
|
||||||
|
"keywords": [],
|
||||||
|
"homepage": "http://fontawesome.io",
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {},
|
||||||
|
"license": [
|
||||||
|
"OFL-1.1",
|
||||||
|
"MIT",
|
||||||
|
"CC-BY-3.0"
|
||||||
|
],
|
||||||
|
"main": [
|
||||||
|
"./css/font-awesome.css",
|
||||||
|
".//fonts/*"
|
||||||
|
],
|
||||||
|
"ignore": [
|
||||||
|
"*/.*",
|
||||||
|
"*.json",
|
||||||
|
"src",
|
||||||
|
"*.yml",
|
||||||
|
"Gemfile",
|
||||||
|
"Gemfile.lock",
|
||||||
|
"*.md"
|
||||||
|
],
|
||||||
|
"_release": "4.2.0",
|
||||||
|
"_resolution": {
|
||||||
|
"type": "version",
|
||||||
|
"tag": "v4.2.0",
|
||||||
|
"commit": "0b924144a95a54fa738d0450ff66c1dabd11ae74"
|
||||||
|
},
|
||||||
|
"_source": "git://github.com/FortAwesome/Font-Awesome.git",
|
||||||
|
"_target": "~4.2.0",
|
||||||
|
"_originalSource": "font-awesome"
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user