Project create ready

This commit is contained in:
Александр Бабкин
2022-06-28 09:49:25 +03:00
parent e8e132051a
commit 44f24c5dae
4 changed files with 37 additions and 32 deletions

View File

@@ -11,5 +11,6 @@ class Project extends Model
protected $fillable = [ protected $fillable = [
'name', 'name',
'description', 'description',
'mmc_path',
]; ];
} }

60
composer.lock generated
View File

@@ -2617,16 +2617,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb" "reference": "4d671ab4ddac94ee439ea73649c69d9d200b5000"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/829d5d1bf60b2efeb0887b7436873becc71a45eb", "url": "https://api.github.com/repos/symfony/console/zipball/4d671ab4ddac94ee439ea73649c69d9d200b5000",
"reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb", "reference": "4d671ab4ddac94ee439ea73649c69d9d200b5000",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2696,7 +2696,7 @@
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v5.4.9" "source": "https://github.com/symfony/console/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
@@ -2712,7 +2712,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-18T06:17:34+00:00" "time": "2022-06-26T13:00:04+00:00"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
@@ -3147,16 +3147,16 @@
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "6b0d0e4aca38d57605dcd11e2416994b38774522" "reference": "e7793b7906f72a8cc51054fbca9dcff7a8af1c1e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/6b0d0e4aca38d57605dcd11e2416994b38774522", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e7793b7906f72a8cc51054fbca9dcff7a8af1c1e",
"reference": "6b0d0e4aca38d57605dcd11e2416994b38774522", "reference": "e7793b7906f72a8cc51054fbca9dcff7a8af1c1e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3200,7 +3200,7 @@
"description": "Defines an object-oriented layer for the HTTP specification", "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.4.9" "source": "https://github.com/symfony/http-foundation/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
@@ -3216,20 +3216,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-17T15:07:29+00:00" "time": "2022-06-19T13:13:40+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8" "reference": "255ae3b0a488d78fbb34da23d3e0c059874b5948"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/34b121ad3dc761f35fe1346d2f15618f8cbf77f8", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/255ae3b0a488d78fbb34da23d3e0c059874b5948",
"reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8", "reference": "255ae3b0a488d78fbb34da23d3e0c059874b5948",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3312,7 +3312,7 @@
"description": "Provides a structured process for converting a Request into a Response", "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-kernel/tree/v5.4.9" "source": "https://github.com/symfony/http-kernel/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
@@ -3328,20 +3328,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-27T07:09:08+00:00" "time": "2022-06-26T16:57:59+00:00"
}, },
{ {
"name": "symfony/mime", "name": "symfony/mime",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mime.git", "url": "https://github.com/symfony/mime.git",
"reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e" "reference": "02265e1e5111c3cd7480387af25e82378b7ab9cc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/2b3802a24e48d0cfccf885173d2aac91e73df92e", "url": "https://api.github.com/repos/symfony/mime/zipball/02265e1e5111c3cd7480387af25e82378b7ab9cc",
"reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e", "reference": "02265e1e5111c3cd7480387af25e82378b7ab9cc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3395,7 +3395,7 @@
"mime-type" "mime-type"
], ],
"support": { "support": {
"source": "https://github.com/symfony/mime/tree/v5.4.9" "source": "https://github.com/symfony/mime/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
@@ -3411,7 +3411,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-05-21T10:24:18+00:00" "time": "2022-06-09T12:22:40+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@@ -4467,16 +4467,16 @@
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
"version": "v5.4.9", "version": "v5.4.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/string.git", "url": "https://github.com/symfony/string.git",
"reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99" "reference": "4432bc7df82a554b3e413a8570ce2fea90e94097"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", "url": "https://api.github.com/repos/symfony/string/zipball/4432bc7df82a554b3e413a8570ce2fea90e94097",
"reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", "reference": "4432bc7df82a554b3e413a8570ce2fea90e94097",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -4533,7 +4533,7 @@
"utf8" "utf8"
], ],
"support": { "support": {
"source": "https://github.com/symfony/string/tree/v5.4.9" "source": "https://github.com/symfony/string/tree/v5.4.10"
}, },
"funding": [ "funding": [
{ {
@@ -4549,7 +4549,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-04-19T10:40:37+00:00" "time": "2022-06-26T15:57:47+00:00"
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",

View File

@@ -9,8 +9,8 @@
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-sm sm:rounded-lg"> <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
<div class="p-6 bg-white border-b border-gray-200"> <div class="p-6 bg-white border-b border-gray-200">
<x-validation-error class="mb-4" :errors="$errors" /> <x-label class="mb-4" :errors="$errors" />
<form method="POST" action="{{ route('users.store') }}"> <form method="POST" action="{{ route('projects.store') }}">
@csrf @csrf
<!-- Project name --> <!-- Project name -->
<div> <div>

View File

@@ -23,6 +23,9 @@
<th class="p-2 border border-gray-200"> <th class="p-2 border border-gray-200">
{{ __('Comment')}} {{ __('Comment')}}
</th> </th>
<th class="p-2 border border-gray-200">
{{ __('MMC Path')}}
</th>
<th class="p-2 border border-gray-200"> <th class="p-2 border border-gray-200">
{{ __('Actions')}} {{ __('Actions')}}
</th> </th>
@@ -31,6 +34,7 @@
<tr class="border border-gray-200"> <tr class="border border-gray-200">
<td class="p-2 border border-gray-200">{{ $project->name }}</td> <td class="p-2 border border-gray-200">{{ $project->name }}</td>
<td class="p-2 border border-gray-200">{{ $project->description }}</td> <td class="p-2 border border-gray-200">{{ $project->description }}</td>
<td class="p-2 border border-gray-200">{{ $project->mmc_path }}</td>
<td class="p-2 border border-gray-200">&nbsp;</td> <td class="p-2 border border-gray-200">&nbsp;</td>
</tr> </tr>
@empty @empty