FEATURE #1442: add uploaded file detail

This commit adds functionality for editing keywords and description of selected file. This commit also includes JS library for syntax highlighting (https://highlighjs.org)
This commit is contained in:
Michal Kváček
2016-02-08 19:55:09 +01:00
parent 3e9477ddc3
commit 1a8b07971e
86 changed files with 5581 additions and 41 deletions
+38
View File
@@ -0,0 +1,38 @@
<?php
namespace App\Events;
use App\Events\Event;
use App\Models\File;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
class EditFile extends Event
{
use SerializesModels;
/**
* @var File
*/
public $file;
/**
* Create a new event instance.
*
* @param File $file
*/
public function __construct(File $file)
{
//
$this->file = $file;
}
/**
* Get the channels the event should be broadcast on.
*
* @return array
*/
public function broadcastOn()
{
return [];
}
}