diff --git a/app/Http/Controllers/ProjectController.php b/app/Http/Controllers/ProjectController.php new file mode 100644 index 0000000..ec70807 --- /dev/null +++ b/app/Http/Controllers/ProjectController.php @@ -0,0 +1,86 @@ + $projects]); + } + + /** + * Show the form for creating a new resource. + * + * @return \Illuminate\Http\Response + */ + public function create() + { + return view('projects.create'); + } + + /** + * Store a newly created resource in storage. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\Response + */ + public function store(Request $request) + { + // + } + + /** + * Display the specified resource. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function show($id) + { + // + } + + /** + * Show the form for editing the specified resource. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function edit($id) + { + // + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param int $id + * @return \Illuminate\Http\Response + */ + public function update(Request $request, $id) + { + // + } + + /** + * Remove the specified resource from storage. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function destroy($id) + { + // + } +} diff --git a/app/Models/Project.php b/app/Models/Project.php new file mode 100644 index 0000000..dd9957e --- /dev/null +++ b/app/Models/Project.php @@ -0,0 +1,15 @@ +id(); + $table->string('name'); + $table->string('description'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('projects'); + } +} diff --git a/resources/views/admin/users/list.blade.php b/resources/views/admin/users/list.blade.php index a70219a..6c29438 100644 --- a/resources/views/admin/users/list.blade.php +++ b/resources/views/admin/users/list.blade.php @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/resources/views/layouts/navigation.blade.php b/resources/views/layouts/navigation.blade.php index fc67673..0e9bfab 100644 --- a/resources/views/layouts/navigation.blade.php +++ b/resources/views/layouts/navigation.blade.php @@ -23,6 +23,11 @@ @endif +
| + {{ __('Title')}} + | ++ {{ __('Comment')}} + | ++ {{ __('Actions')}} + | +
|---|---|---|
| {{ $project->name }} | +{{ $project->description }} | ++ |
| No Projects! | +||