Commit 586cff84703f64f52a9f6a67473165be935dc32a
1 parent
8c73c7b410
Exists in
master
and in
1 other branch
Модели и миграции! Аддон
Showing 35 changed files with 876 additions and 3 deletions Inline Diff
- app/Models/SEO.php
- app/Models/ad_response.php
- app/Models/employers_main.php
- app/Models/header_footer.php
- app/Models/infobloks.php
- app/Models/job_titles_main.php
- app/Models/pages.php
- app/Models/place_works.php
- app/Models/reclame.php
- app/Models/sertification.php
- database/migrations/2023_05_16_081308_create_static_workers_table.php
- database/migrations/2023_05_16_081330_create_static_ads_table.php
- database/migrations/2023_09_01_115021_alter_users_table3.php
- database/migrations/2023_09_01_115802_alter_employers_table2.php
- database/migrations/2023_09_01_121152_alter_ad_employers_table.php
- database/migrations/2023_09_01_121950_alter_workers_table.php
- database/migrations/2023_09_01_122417_alter_categories_table.php
- database/migrations/2023_09_01_123056_alter_job_titles_table.php
- database/migrations/2023_09_01_123338_alter_group_works_table.php
- database/migrations/2023_09_01_123950_create_sertifications_table.php
- database/migrations/2023_09_01_131509_alter_static_workers_table.php
- database/migrations/2023_09_01_131903_alter_static_ads_table.php
- database/migrations/2023_09_01_132059_alter_companies_table.php
- database/migrations/2023_09_01_132618_create_ad_responses_table.php
- database/migrations/2023_09_01_134821_create_reclames_table.php
- database/migrations/2023_09_01_135450_create_header_footers_table.php
- database/migrations/2023_09_01_135606_create_infobloks_table.php
- database/migrations/2023_09_01_135734_create_dop_info_table.php
- database/migrations/2023_09_01_135910_create_job_titles_mains_table.php
- database/migrations/2023_09_01_135944_create_employers_mains_table.php
- database/migrations/2023_09_01_140100_create_place_works_table.php
- database/migrations/2023_09_01_140122_create_pages_table.php
- database/migrations/2023_09_04_123922_alter_job_titles2_table.php
- database/migrations/2023_09_04_124712_create_s_e_o_s_table.php
- resources/views/admin/index.blade.php
app/Models/SEO.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class SEO extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
app/Models/ad_response.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class ad_response extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
app/Models/employers_main.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class employers_main extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
app/Models/header_footer.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class header_footer extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
app/Models/infobloks.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class infobloks extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
app/Models/job_titles_main.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class job_titles_main extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
app/Models/pages.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class pages extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
app/Models/place_works.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class place_works extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
app/Models/reclame.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class reclame extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
app/Models/sertification.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class sertification extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
database/migrations/2023_05_16_081308_create_static_workers_table.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Illuminate\Database\Migrations\Migration; | 3 | use Illuminate\Database\Migrations\Migration; |
4 | use Illuminate\Database\Schema\Blueprint; | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | use Illuminate\Support\Facades\Schema; | 5 | use Illuminate\Support\Facades\Schema; |
6 | 6 | ||
7 | return new class extends Migration | 7 | return new class extends Migration |
8 | { | 8 | { |
9 | /** | 9 | /** |
10 | * Run the migrations. | 10 | * Run the migrations. |
11 | * | 11 | * |
12 | * @return void | 12 | * @return void |
13 | */ | 13 | */ |
14 | public function up() | 14 | public function up() |
15 | { | 15 | { |
16 | Schema::create('static_workers', function (Blueprint $table) { | 16 | Schema::create('static_workers', function (Blueprint $table) { |
17 | $table->id(); | 17 | $table->id(); |
18 | $table->bigInteger('user_id')->nullable(false); | 18 | $table->bigInteger('user_id')->nullable(false); |
19 | $table->integer('lookin')->default(0); | 19 | $table->integer('lookin')->default(0); |
20 | $table->string('month_year', 255)->nullable(); | ||
21 | $table->integer('message')->default(0); | 20 | $table->integer('message')->default(0); |
22 | $table->timestamps(); | 21 | $table->timestamps(); |
23 | }); | 22 | }); |
24 | } | 23 | } |
25 | 24 | ||
26 | /** | 25 | /** |
27 | * Reverse the migrations. | 26 | * Reverse the migrations. |
28 | * | 27 | * |
29 | * @return void | 28 | * @return void |
30 | */ | 29 | */ |
31 | public function down() | 30 | public function down() |
32 | { | 31 | { |
33 | Schema::dropIfExists('static_workers'); | 32 | Schema::dropIfExists('static_workers'); |
34 | } | 33 | } |
35 | }; | 34 | }; |
36 | 35 |
database/migrations/2023_05_16_081330_create_static_ads_table.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Illuminate\Database\Migrations\Migration; | 3 | use Illuminate\Database\Migrations\Migration; |
4 | use Illuminate\Database\Schema\Blueprint; | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | use Illuminate\Support\Facades\Schema; | 5 | use Illuminate\Support\Facades\Schema; |
6 | 6 | ||
7 | return new class extends Migration | 7 | return new class extends Migration |
8 | { | 8 | { |
9 | /** | 9 | /** |
10 | * Run the migrations. | 10 | * Run the migrations. |
11 | * | 11 | * |
12 | * @return void | 12 | * @return void |
13 | */ | 13 | */ |
14 | public function up() | 14 | public function up() |
15 | { | 15 | { |
16 | Schema::create('static_ads', function (Blueprint $table) { | 16 | Schema::create('static_ads', function (Blueprint $table) { |
17 | $table->id(); | 17 | $table->id(); |
18 | $table->bigInteger('ad_employer_id')->nullable(false); | 18 | $table->bigInteger('ad_employer_id')->nullable(false); |
19 | $table->integer('lookin')->default(0); | 19 | $table->integer('lookin')->default(0); |
20 | $table->string('month_year', 255)->nullable(); | ||
21 | $table->integer('message')->default(0); | 20 | $table->integer('message')->default(0); |
22 | $table->timestamps(); | 21 | $table->timestamps(); |
23 | }); | 22 | }); |
24 | } | 23 | } |
25 | 24 | ||
26 | /** | 25 | /** |
27 | * Reverse the migrations. | 26 | * Reverse the migrations. |
28 | * | 27 | * |
29 | * @return void | 28 | * @return void |
30 | */ | 29 | */ |
31 | public function down() | 30 | public function down() |
32 | { | 31 | { |
33 | Schema::dropIfExists('static_ads'); | 32 | Schema::dropIfExists('static_ads'); |
34 | } | 33 | } |
35 | }; | 34 | }; |
36 | 35 |
database/migrations/2023_09_01_115021_alter_users_table3.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('users', function (Blueprint $table) { | ||
17 | $table->timestamp('birthday')->nullable(); | ||
18 | $table->boolean('is_bd')->default(false); | ||
19 | }); | ||
20 | } | ||
21 | |||
22 | /** | ||
23 | * Reverse the migrations. | ||
24 | * | ||
25 | * @return void | ||
26 | */ | ||
27 | public function down() | ||
28 | { | ||
29 | Schema::table('users', function (Blueprint $table) { | ||
30 | $table->dropColumn('birthday'); | ||
31 | $table->dropColumn('is_bd'); | ||
32 | }); | ||
33 | } | ||
34 | }; | ||
35 |
database/migrations/2023_09_01_115802_alter_employers_table2.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('employers', function (Blueprint $table) { | ||
17 | $table->string('coord', 255)->nullable(); | ||
18 | $table->boolean('is_remove')->default(false); | ||
19 | $table->boolean('status_hidden')->default(false); | ||
20 | $table->boolean('oficial_status')->default(false); | ||
21 | $table->boolean('social_is')->default(false); | ||
22 | $table->boolean('sending_is')->default(false); | ||
23 | }); | ||
24 | } | ||
25 | |||
26 | /** | ||
27 | * Reverse the migrations. | ||
28 | * | ||
29 | * @return void | ||
30 | */ | ||
31 | public function down() | ||
32 | { | ||
33 | Schema::table('employers', function (Blueprint $table) { | ||
34 | $table->dropColumn('coord'); | ||
35 | $table->dropColumn('is_remove'); | ||
36 | $table->dropColumn('status_hidden'); | ||
37 | $table->dropColumn('oficial_status'); | ||
38 | $table->dropColumn('social_is'); | ||
39 | $table->dropColumn('sending_is'); | ||
40 | }); | ||
41 | } | ||
42 | }; | ||
43 |
database/migrations/2023_09_01_121152_alter_ad_employers_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('ad_employers', function (Blueprint $table) { | ||
17 | $table->boolean('is_remove')->default(false); | ||
18 | $table->boolean('active_is')->default(true); | ||
19 | }); | ||
20 | } | ||
21 | |||
22 | /** | ||
23 | * Reverse the migrations. | ||
24 | * | ||
25 | * @return void | ||
26 | */ | ||
27 | public function down() | ||
28 | { | ||
29 | Schema::table('ad_employers', function (Blueprint $table) { | ||
30 | $table->dropColumn('is_remove'); | ||
31 | $table->dropColumn('active_is'); | ||
32 | }); | ||
33 | } | ||
34 | }; | ||
35 |
database/migrations/2023_09_01_121950_alter_workers_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('workers', function (Blueprint $table) { | ||
17 | $table->string('coord', 255)->nullable(); | ||
18 | $table->string('file', 255)->nullable(); | ||
19 | $table->boolean('is_remove')->default(false); | ||
20 | }); | ||
21 | } | ||
22 | |||
23 | /** | ||
24 | * Reverse the migrations. | ||
25 | * | ||
26 | * @return void | ||
27 | */ | ||
28 | public function down() | ||
29 | { | ||
30 | Schema::table('workers', function (Blueprint $table) { | ||
31 | $table->dropColumn('coord'); | ||
32 | $table->dropColumn('file'); | ||
33 | $table->dropColumn('is_remove'); | ||
34 | }); | ||
35 | } | ||
36 | }; | ||
37 |
database/migrations/2023_09_01_122417_alter_categories_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('categories', function (Blueprint $table) { | ||
17 | $table->boolean('is_remove')->default(false); | ||
18 | }); | ||
19 | } | ||
20 | |||
21 | /** | ||
22 | * Reverse the migrations. | ||
23 | * | ||
24 | * @return void | ||
25 | */ | ||
26 | public function down() | ||
27 | { | ||
28 | Schema::table('categories', function (Blueprint $table) { | ||
29 | $table->dropColumn('is_remove'); | ||
30 | }); | ||
31 | } | ||
32 | }; | ||
33 |
database/migrations/2023_09_01_123056_alter_job_titles_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('job_titles', function (Blueprint $table) { | ||
17 | $table->boolean('is_remove')->default(false); | ||
18 | }); | ||
19 | } | ||
20 | |||
21 | /** | ||
22 | * Reverse the migrations. | ||
23 | * | ||
24 | * @return void | ||
25 | */ | ||
26 | public function down() | ||
27 | { | ||
28 | Schema::table('job_titles', function (Blueprint $table) { | ||
29 | $table->dropColumn('is_remove'); | ||
30 | }); | ||
31 | } | ||
32 | }; | ||
33 |
database/migrations/2023_09_01_123338_alter_group_works_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('group_works', function (Blueprint $table) { | ||
17 | $table->boolean('is_remove')->default(false); | ||
18 | }); | ||
19 | } | ||
20 | |||
21 | /** | ||
22 | * Reverse the migrations. | ||
23 | * | ||
24 | * @return void | ||
25 | */ | ||
26 | public function down() | ||
27 | { | ||
28 | Schema::table('group_works', function (Blueprint $table) { | ||
29 | $table->dropColumn('is_remove'); | ||
30 | }); | ||
31 | } | ||
32 | }; | ||
33 |
database/migrations/2023_09_01_123950_create_sertifications_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('sertifications', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->timestamp('date_begin')->nullable(); | ||
19 | $table->timestamp('end_begin')->nullable(); | ||
20 | $table->bigInteger('worker_id')->nullable(false); | ||
21 | $table->timestamps(); | ||
22 | }); | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * Reverse the migrations. | ||
27 | * | ||
28 | * @return void | ||
29 | */ | ||
30 | public function down() | ||
31 | { | ||
32 | Schema::dropIfExists('sertifications'); | ||
33 | } | ||
34 | }; | ||
35 |
database/migrations/2023_09_01_131509_alter_static_workers_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('static_workers', function (Blueprint $table) { | ||
17 | $table->string('year_month', 255)->nullable(); | ||
18 | }); | ||
19 | } | ||
20 | |||
21 | /** | ||
22 | * Reverse the migrations. | ||
23 | * | ||
24 | * @return void | ||
25 | */ | ||
26 | public function down() | ||
27 | { | ||
28 | Schema::table('static_workers', function (Blueprint $table) { | ||
29 | $table->dropColumn('year_month'); | ||
30 | }); | ||
31 | } | ||
32 | }; | ||
33 |
database/migrations/2023_09_01_131903_alter_static_ads_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('static_ads', function (Blueprint $table) { | ||
17 | $table->string('year_month', 255)->nullable(); | ||
18 | }); | ||
19 | } | ||
20 | |||
21 | /** | ||
22 | * Reverse the migrations. | ||
23 | * | ||
24 | * @return void | ||
25 | */ | ||
26 | public function down() | ||
27 | { | ||
28 | Schema::table('static_ads', function (Blueprint $table) { | ||
29 | $table->dropColumn('year_month'); | ||
30 | }); | ||
31 | } | ||
32 | }; | ||
33 |
database/migrations/2023_09_01_132059_alter_companies_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('companies', function (Blueprint $table) { | ||
17 | $table->integer('time_mess')->default(5); | ||
18 | $table->integer('time_resume')->default(30); | ||
19 | }); | ||
20 | } | ||
21 | |||
22 | /** | ||
23 | * Reverse the migrations. | ||
24 | * | ||
25 | * @return void | ||
26 | */ | ||
27 | public function down() | ||
28 | { | ||
29 | Schema::table('companies', function (Blueprint $table) { | ||
30 | $table->dropColumn('time_mess'); | ||
31 | $table->dropColumn('time_resume'); | ||
32 | }); | ||
33 | } | ||
34 | }; | ||
35 |
database/migrations/2023_09_01_132618_create_ad_responses_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('ad_responses', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->bigInteger('message_id')->nullable(false); | ||
19 | $table->bigInteger('ad_employer_id')->nullable(false); | ||
20 | $table->bigInteger('job_title_id')->nullable(false); | ||
21 | $table->boolean('flag')->default(true); | ||
22 | $table->timestamps(); | ||
23 | }); | ||
24 | } | ||
25 | |||
26 | /** | ||
27 | * Reverse the migrations. | ||
28 | * | ||
29 | * @return void | ||
30 | */ | ||
31 | public function down() | ||
32 | { | ||
33 | Schema::dropIfExists('ad_responses'); | ||
34 | } | ||
35 | }; | ||
36 |
database/migrations/2023_09_01_134821_create_reclames_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('reclames', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->string('title', 255)->nullable(); | ||
19 | $table->string('image', 255)->nullable(); | ||
20 | $table->string('link', 255)->nullable(); | ||
21 | $table->text('text')->nullable(); | ||
22 | $table->integer('position')->default(0); | ||
23 | $table->boolean('is_hidden')->default(false); | ||
24 | $table->integer('col_vo_click')->default(0); | ||
25 | $table->boolean('is_remove')->default(false); | ||
26 | $table->timestamps(); | ||
27 | }); | ||
28 | } | ||
29 | |||
30 | /** | ||
31 | * Reverse the migrations. | ||
32 | * | ||
33 | * @return void | ||
34 | */ | ||
35 | public function down() | ||
36 | { | ||
37 | Schema::dropIfExists('reclames'); | ||
38 | } | ||
39 | }; | ||
40 |
database/migrations/2023_09_01_135450_create_header_footers_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('header_footers', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->string('name', 255)->nullable(); | ||
19 | $table->string('link', 255)->nullable(); | ||
20 | $table->bigInteger('code_id')->nullable(false); | ||
21 | $table->string('category', 255)->nullable(); | ||
22 | $table->boolean('header')->default(true); | ||
23 | $table->integer('sort')->default(100); | ||
24 | $table->timestamps(); | ||
25 | }); | ||
26 | } | ||
27 | |||
28 | /** | ||
29 | * Reverse the migrations. | ||
30 | * | ||
31 | * @return void | ||
32 | */ | ||
33 | public function down() | ||
34 | { | ||
35 | Schema::dropIfExists('header_footers'); | ||
36 | } | ||
37 | }; | ||
38 |
database/migrations/2023_09_01_135606_create_infobloks_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('infobloks', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->string('name', 255)->nullable(); | ||
19 | $table->boolean('is_remove')->default(false); | ||
20 | $table->timestamps(); | ||
21 | }); | ||
22 | } | ||
23 | |||
24 | /** | ||
25 | * Reverse the migrations. | ||
26 | * | ||
27 | * @return void | ||
28 | */ | ||
29 | public function down() | ||
30 | { | ||
31 | Schema::dropIfExists('infobloks'); | ||
32 | } | ||
33 | }; | ||
34 |
database/migrations/2023_09_01_135734_create_dop_info_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('dop_info', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->bigInteger('worker_id')->nullable(false); | ||
19 | $table->bigInteger('infoblok_id')->nullable(false); | ||
20 | $table->text('text')->nullable(); | ||
21 | $table->timestamps(); | ||
22 | }); | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * Reverse the migrations. | ||
27 | * | ||
28 | * @return void | ||
29 | */ | ||
30 | public function down() | ||
31 | { | ||
32 | Schema::dropIfExists('dop_info'); | ||
33 | } | ||
34 | }; | ||
35 |
database/migrations/2023_09_01_135910_create_job_titles_mains_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('job_titles_mains', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->string('name', 255)->nullable(); | ||
19 | $table->bigInteger('job_title_id')->nullable(false); | ||
20 | $table->integer('sort')->default(100); | ||
21 | $table->timestamps(); | ||
22 | }); | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * Reverse the migrations. | ||
27 | * | ||
28 | * @return void | ||
29 | */ | ||
30 | public function down() | ||
31 | { | ||
32 | Schema::dropIfExists('job_titles_mains'); | ||
33 | } | ||
34 | }; | ||
35 |
database/migrations/2023_09_01_135944_create_employers_mains_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('employers_mains', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->string('name', 255)->nullable(); | ||
19 | $table->bigInteger('employer_id')->nullable(false); | ||
20 | $table->integer('sort')->default(100); | ||
21 | $table->timestamps(); | ||
22 | }); | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * Reverse the migrations. | ||
27 | * | ||
28 | * @return void | ||
29 | */ | ||
30 | public function down() | ||
31 | { | ||
32 | Schema::dropIfExists('employers_mains'); | ||
33 | } | ||
34 | }; | ||
35 |
database/migrations/2023_09_01_140100_create_place_works_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('place_works', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->string('job_title', 255)->nullable(); | ||
19 | $table->boolean('tanker')->default(false); | ||
20 | $table->string('teplohod', 255)->nullable(); | ||
21 | $table->string('GWT', 255)->nullable(); | ||
22 | $table->string('KBT', 255)->nullable(); | ||
23 | $table->string('begin_work', 255)->nullable(); | ||
24 | $table->string('end_work', 255)->nullable(); | ||
25 | $table->string('name_company')->nullable(); | ||
26 | $table->bigInteger('worker_id')->nullable(false); | ||
27 | $table->timestamps(); | ||
28 | }); | ||
29 | } | ||
30 | |||
31 | /** | ||
32 | * Reverse the migrations. | ||
33 | * | ||
34 | * @return void | ||
35 | */ | ||
36 | public function down() | ||
37 | { | ||
38 | Schema::dropIfExists('place_works'); | ||
39 | } | ||
40 | }; | ||
41 |
database/migrations/2023_09_01_140122_create_pages_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('pages', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->string('name', 255)->nullable(); | ||
19 | $table->string('slug', 255)->nullable(false); | ||
20 | $table->text('text')->nullable(); | ||
21 | $table->text('anons')->nullable(); | ||
22 | $table->string('author', 255)->nullable(); | ||
23 | $table->string('image', 255)->nullable(); | ||
24 | $table->timestamps(); | ||
25 | }); | ||
26 | } | ||
27 | |||
28 | /** | ||
29 | * Reverse the migrations. | ||
30 | * | ||
31 | * @return void | ||
32 | */ | ||
33 | public function down() | ||
34 | { | ||
35 | Schema::dropIfExists('pages'); | ||
36 | } | ||
37 | }; | ||
38 |
database/migrations/2023_09_04_123922_alter_job_titles2_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::table('job_titles', function (Blueprint $table) { | ||
17 | $table->integer('parent_id')->default(0); | ||
18 | }); | ||
19 | } | ||
20 | |||
21 | /** | ||
22 | * Reverse the migrations. | ||
23 | * | ||
24 | * @return void | ||
25 | */ | ||
26 | public function down() | ||
27 | { | ||
28 | Schema::table('job_titles', function (Blueprint $table) { | ||
29 | $table->dropColumn('parent_id'); | ||
30 | }); | ||
31 | } | ||
32 | }; | ||
33 |
database/migrations/2023_09_04_124712_create_s_e_o_s_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('s_e_o_s', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->string('url', 255)->nullable(false); | ||
19 | $table->string('title', 255)->nullable(); | ||
20 | $table->text('description')->nullable(); | ||
21 | $table->text('keywords')->nullable(); | ||
22 | $table->string('name', 255)->nullable(); | ||
23 | $table->timestamps(); | ||
24 | }); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * Reverse the migrations. | ||
29 | * | ||
30 | * @return void | ||
31 | */ | ||
32 | public function down() | ||
33 | { | ||
34 | Schema::dropIfExists('s_e_o_s'); | ||
35 | } | ||
36 | }; | ||
37 |
resources/views/admin/index.blade.php
1 | @extends('layout.admin', ['title' => 'Админка - Главная страница']) | 1 | @extends('layout.admin', ['title' => 'Админка - Главная страница']) |
2 | 2 | ||
3 | @section('content') | 3 | @section('content') |
4 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> | 4 | <div class="grid gap-6 mb-8 md:grid-cols-2 xl:grid-cols-4"> |
5 | 5 | ||
6 | <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> | 6 | <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> |
7 | <div class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500"> | 7 | <div class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:text-orange-100 dark:bg-orange-500"> |
8 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 8 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
9 | <path | 9 | <path |
10 | d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z"></path> | 10 | d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z"></path> |
11 | </svg> | 11 | </svg> |
12 | </div> | 12 | </div> |
13 | <div> | 13 | <div> |
14 | <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> | 14 | <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> |
15 | Всего пользователей | 15 | Всего пользователей |
16 | </p> | 16 | </p> |
17 | <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> | 17 | <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> |
18 | {{ $all_user }} | 18 | {{ $all_user }} |
19 | </p> | 19 | </p> |
20 | </div> | 20 | </div> |
21 | </div> | 21 | </div> |
22 | 22 | ||
23 | <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> | 23 | <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> |
24 | <div class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500"> | 24 | <div class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:text-green-100 dark:bg-green-500"> |
25 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 25 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
26 | <path | 26 | <path |
27 | fill-rule="evenodd" | 27 | fill-rule="evenodd" |
28 | d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z" | 28 | d="M4 4a2 2 0 00-2 2v4a2 2 0 002 2V6h10a2 2 0 00-2-2H4zm2 6a2 2 0 012-2h8a2 2 0 012 2v4a2 2 0 01-2 2H8a2 2 0 01-2-2v-4zm6 4a2 2 0 100-4 2 2 0 000 4z" |
29 | clip-rule="evenodd" | 29 | clip-rule="evenodd" |
30 | ></path> | 30 | ></path> |
31 | </svg> | 31 | </svg> |
32 | </div> | 32 | </div> |
33 | <div> | 33 | <div> |
34 | <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> | 34 | <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> |
35 | Работодателей | 35 | Работодателей |
36 | </p> | 36 | </p> |
37 | <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> | 37 | <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> |
38 | {{ $all_employer }} | 38 | {{ $all_employer }} |
39 | </p> | 39 | </p> |
40 | </div> | 40 | </div> |
41 | </div> | 41 | </div> |
42 | 42 | ||
43 | <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> | 43 | <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> |
44 | <div class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500"> | 44 | <div class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:text-blue-100 dark:bg-blue-500"> |
45 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 45 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
46 | <path d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path> | 46 | <path d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path> |
47 | </svg> | 47 | </svg> |
48 | </div> | 48 | </div> |
49 | <div> | 49 | <div> |
50 | <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> | 50 | <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> |
51 | Соискателей | 51 | Соискателей |
52 | </p> | 52 | </p> |
53 | <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> | 53 | <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> |
54 | {{$all_worker}} | 54 | {{$all_worker}} |
55 | </p> | 55 | </p> |
56 | </div> | 56 | </div> |
57 | </div> | 57 | </div> |
58 | 58 | ||
59 | <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> | 59 | <div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800"> |
60 | <div class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500"> | 60 | <div class="p-3 mr-4 text-teal-500 bg-teal-100 rounded-full dark:text-teal-100 dark:bg-teal-500"> |
61 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | 61 | <svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> |
62 | <path | 62 | <path |
63 | fill-rule="evenodd" | 63 | fill-rule="evenodd" |
64 | d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" | 64 | d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" |
65 | clip-rule="evenodd" | 65 | clip-rule="evenodd" |
66 | ></path> | 66 | ></path> |
67 | </svg> | 67 | </svg> |
68 | </div> | 68 | </div> |
69 | <div> | 69 | <div> |
70 | <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> | 70 | <p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400"> |
71 | Администраторы | 71 | Администраторы |
72 | </p> | 72 | </p> |
73 | <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> | 73 | <p class="text-lg font-semibold text-gray-700 dark:text-gray-200"> |
74 | {{$all_admin}} | 74 | {{$all_admin}} |
75 | </p> | 75 | </p> |
76 | </div> | 76 | </div> |
77 | </div> | 77 | </div> |
78 | </div> | 78 | </div> |
79 | 79 | ||
80 | <!-- Таблицы --> | 80 | <!-- Таблицы --> |
81 | 81 | ||
82 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> | 82 | <div class="w-full overflow-hidden rounded-lg shadow-xs"> |
83 | <div class="w-full overflow-x-auto"> | 83 | <div class="w-full overflow-x-auto"> |
84 | <table class="w-full whitespace-no-wrap"> | 84 | <table class="w-full whitespace-no-wrap"> |
85 | <thead> | 85 | <thead> |
86 | <tr | 86 | <tr |
87 | class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" | 87 | class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800" |
88 | > | 88 | > |
89 | <th class="px-4 py-3">Название</th> | 89 | <th class="px-4 py-3">Название</th> |
90 | <th class="px-4 py-3">Таблица</th> | 90 | <th class="px-4 py-3">Таблица</th> |
91 | <th class="px-4 py-3">Редактирование</th> | 91 | <th class="px-4 py-3">Редактирование</th> |
92 | <th class="px-4 py-3">Дата</th> | 92 | <th class="px-4 py-3">Дата</th> |
93 | </tr> | 93 | </tr> |
94 | </thead> | 94 | </thead> |
95 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> | 95 | <tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800"> |
96 | <tr class="text-gray-700 dark:text-gray-400"> | 96 | <tr class="text-gray-700 dark:text-gray-400"> |
97 | <td class="px-4 py-3"> | 97 | <td class="px-4 py-3"> |
98 | <div class="flex items-center text-sm"> | 98 | <div class="flex items-center text-sm"> |
99 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 99 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
100 | <div | 100 | <div |
101 | class="absolute inset-0 rounded-full shadow-inner" | 101 | class="absolute inset-0 rounded-full shadow-inner" |
102 | aria-hidden="true" | 102 | aria-hidden="true" |
103 | ></div> | 103 | ></div> |
104 | </div> | 104 | </div> |
105 | <div> | 105 | <div> |
106 | <p class="font-semibold"><a href="{{ route('admin.users') }}">Пользователи</a></p> | 106 | <p class="font-semibold"><a href="{{ route('admin.users') }}">Пользователи</a></p> |
107 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 107 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
108 | Все пользователи сайта | 108 | Все пользователи сайта |
109 | </p> | 109 | </p> |
110 | </div> | 110 | </div> |
111 | </div> | 111 | </div> |
112 | </td> | 112 | </td> |
113 | <td class="px-4 py-3 text-sm"> | 113 | <td class="px-4 py-3 text-sm"> |
114 | users | 114 | users |
115 | </td> | 115 | </td> |
116 | <td class="px-4 py-3 text-xs"> | 116 | <td class="px-4 py-3 text-xs"> |
117 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 117 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
118 | Доступно | 118 | Доступно |
119 | </span> | 119 | </span> |
120 | <!--<span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> | 120 | <!--<span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> |
121 | Недоступно | 121 | Недоступно |
122 | </span>--> | 122 | </span>--> |
123 | </td> | 123 | </td> |
124 | <td class="px-4 py-3 text-sm"> | 124 | <td class="px-4 py-3 text-sm"> |
125 | май 2023 | 125 | май 2023 |
126 | </td> | 126 | </td> |
127 | </tr> | 127 | </tr> |
128 | 128 | ||
129 | <tr class="text-gray-700 dark:text-gray-400"> | 129 | <tr class="text-gray-700 dark:text-gray-400"> |
130 | <td class="px-4 py-3"> | 130 | <td class="px-4 py-3"> |
131 | <div class="flex items-center text-sm"> | 131 | <div class="flex items-center text-sm"> |
132 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 132 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
133 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> | 133 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> |
134 | </div> | 134 | </div> |
135 | <div> | 135 | <div> |
136 | <p class="font-semibold"><a href="{{ route('admin.employers') }}">Работодатели</a></p> | 136 | <p class="font-semibold"><a href="{{ route('admin.employers') }}">Работодатели</a></p> |
137 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 137 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
138 | Все работодатели сайта | 138 | Все работодатели сайта |
139 | </p> | 139 | </p> |
140 | </div> | 140 | </div> |
141 | </div> | 141 | </div> |
142 | </td> | 142 | </td> |
143 | <td class="px-4 py-3 text-sm"> | 143 | <td class="px-4 py-3 text-sm"> |
144 | employers | 144 | employers |
145 | </td> | 145 | </td> |
146 | <td class="px-4 py-3 text-xs"> | 146 | <td class="px-4 py-3 text-xs"> |
147 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 147 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
148 | Доступно | 148 | Доступно |
149 | </span> | 149 | </span> |
150 | </td> | 150 | </td> |
151 | <td class="px-4 py-3 text-sm"> | 151 | <td class="px-4 py-3 text-sm"> |
152 | май 2023 | 152 | май 2023 |
153 | </td> | 153 | </td> |
154 | </tr> | 154 | </tr> |
155 | 155 | ||
156 | <tr class="text-gray-700 dark:text-gray-400"> | 156 | <tr class="text-gray-700 dark:text-gray-400"> |
157 | <td class="px-4 py-3"> | 157 | <td class="px-4 py-3"> |
158 | <div class="flex items-center text-sm"> | 158 | <div class="flex items-center text-sm"> |
159 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 159 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
160 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> | 160 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> |
161 | </div> | 161 | </div> |
162 | <div> | 162 | <div> |
163 | <p class="font-semibold"><a href="{{ route('admin.workers') }}">Соискатели</a></p> | 163 | <p class="font-semibold"><a href="{{ route('admin.workers') }}">Соискатели</a></p> |
164 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 164 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
165 | Все работники сайта | 165 | Все работники сайта |
166 | </p> | 166 | </p> |
167 | </div> | 167 | </div> |
168 | </div> | 168 | </div> |
169 | </td> | 169 | </td> |
170 | <td class="px-4 py-3 text-sm"> | 170 | <td class="px-4 py-3 text-sm"> |
171 | workers | 171 | workers |
172 | </td> | 172 | </td> |
173 | <td class="px-4 py-3 text-xs"> | 173 | <td class="px-4 py-3 text-xs"> |
174 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 174 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
175 | Доступно | 175 | Доступно |
176 | </span> | 176 | </span> |
177 | </td> | 177 | </td> |
178 | <td class="px-4 py-3 text-sm"> | 178 | <td class="px-4 py-3 text-sm"> |
179 | май 2023 | 179 | май 2023 |
180 | </td> | 180 | </td> |
181 | </tr> | 181 | </tr> |
182 | 182 | ||
183 | <tr class="text-gray-700 dark:text-gray-400"> | 183 | <tr class="text-gray-700 dark:text-gray-400"> |
184 | <td class="px-4 py-3"> | 184 | <td class="px-4 py-3"> |
185 | <div class="flex items-center text-sm"> | 185 | <div class="flex items-center text-sm"> |
186 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 186 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
187 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> | 187 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> |
188 | </div> | 188 | </div> |
189 | <div> | 189 | <div> |
190 | <p class="font-semibold"><a href="{{ route('admin.ad-employers') }}">Вакансии</a></p> | 190 | <p class="font-semibold"><a href="{{ route('admin.ad-employers') }}">Вакансии</a></p> |
191 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 191 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
192 | Все вакансии сайта | 192 | Все вакансии сайта |
193 | </p> | 193 | </p> |
194 | </div> | 194 | </div> |
195 | </div> | 195 | </div> |
196 | </td> | 196 | </td> |
197 | <td class="px-4 py-3 text-sm"> | 197 | <td class="px-4 py-3 text-sm"> |
198 | ad_employers | 198 | ad_employers |
199 | </td> | 199 | </td> |
200 | <td class="px-4 py-3 text-xs"> | 200 | <td class="px-4 py-3 text-xs"> |
201 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 201 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
202 | Доступно | 202 | Доступно |
203 | </span> | 203 | </span> |
204 | </td> | 204 | </td> |
205 | <td class="px-4 py-3 text-sm"> | 205 | <td class="px-4 py-3 text-sm"> |
206 | май 2023 | 206 | май 2023 |
207 | </td> | 207 | </td> |
208 | </tr> | 208 | </tr> |
209 | 209 | ||
210 | <tr class="text-gray-700 dark:text-gray-400"> | 210 | <tr class="text-gray-700 dark:text-gray-400"> |
211 | <td class="px-4 py-3"> | 211 | <td class="px-4 py-3"> |
212 | <div class="flex items-center text-sm"> | 212 | <div class="flex items-center text-sm"> |
213 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 213 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
214 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> | 214 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> |
215 | </div> | 215 | </div> |
216 | <div> | 216 | <div> |
217 | <p class="font-semibold"><a href="{{ route('admin.categories') }}">Категории</a></p> | 217 | <p class="font-semibold"><a href="{{ route('admin.categories.index') }}">Категории</a></p> |
218 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 218 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
219 | Справочник категории (по умолчанию: река, море, река-море) | 219 | Справочник категории (по умолчанию: река, море, река-море) |
220 | </p> | 220 | </p> |
221 | </div> | 221 | </div> |
222 | </div> | 222 | </div> |
223 | </td> | 223 | </td> |
224 | <td class="px-4 py-3 text-sm"> | 224 | <td class="px-4 py-3 text-sm"> |
225 | category | 225 | category |
226 | </td> | 226 | </td> |
227 | <td class="px-4 py-3 text-xs"> | 227 | <td class="px-4 py-3 text-xs"> |
228 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 228 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
229 | Доступно | 229 | Доступно |
230 | </span> | 230 | </span> |
231 | </td> | 231 | </td> |
232 | <td class="px-4 py-3 text-sm"> | 232 | <td class="px-4 py-3 text-sm"> |
233 | май 2023 | 233 | май 2023 |
234 | </td> | 234 | </td> |
235 | </tr> | 235 | </tr> |
236 | 236 | ||
237 | <tr class="text-gray-700 dark:text-gray-400"> | 237 | <tr class="text-gray-700 dark:text-gray-400"> |
238 | <td class="px-4 py-3"> | 238 | <td class="px-4 py-3"> |
239 | <div class="flex items-center text-sm"> | 239 | <div class="flex items-center text-sm"> |
240 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 240 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
241 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> | 241 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> |
242 | </div> | 242 | </div> |
243 | <div> | 243 | <div> |
244 | <p class="font-semibold"><a href="{{ route('admin.job-titles') }}">Должности</a></p> | 244 | <p class="font-semibold"><a href="{{ route('admin.job-titles') }}">Должности</a></p> |
245 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 245 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
246 | Все должности | 246 | Все должности |
247 | </p> | 247 | </p> |
248 | </div> | 248 | </div> |
249 | </div> | 249 | </div> |
250 | </td> | 250 | </td> |
251 | <td class="px-4 py-3 text-sm"> | 251 | <td class="px-4 py-3 text-sm"> |
252 | job_titles | 252 | job_titles |
253 | </td> | 253 | </td> |
254 | <td class="px-4 py-3 text-xs"> | 254 | <td class="px-4 py-3 text-xs"> |
255 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 255 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
256 | Доступно | 256 | Доступно |
257 | </span> | 257 | </span> |
258 | </td> | 258 | </td> |
259 | <td class="px-4 py-3 text-sm"> | 259 | <td class="px-4 py-3 text-sm"> |
260 | май 2023 | 260 | май 2023 |
261 | </td> | 261 | </td> |
262 | </tr> | 262 | </tr> |
263 | 263 | ||
264 | <tr class="text-gray-700 dark:text-gray-400"> | 264 | <tr class="text-gray-700 dark:text-gray-400"> |
265 | <td class="px-4 py-3"> | 265 | <td class="px-4 py-3"> |
266 | <div class="flex items-center text-sm"> | 266 | <div class="flex items-center text-sm"> |
267 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 267 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
268 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> | 268 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> |
269 | </div> | 269 | </div> |
270 | <div> | 270 | <div> |
271 | <p class="font-semibold"><a href="{{ route('admin.messages') }}">Сообщения</a></p> | 271 | <p class="font-semibold"><a href="{{ route('admin.messages') }}">Сообщения</a></p> |
272 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 272 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
273 | Все сообщения сайта | 273 | Все сообщения сайта |
274 | </p> | 274 | </p> |
275 | </div> | 275 | </div> |
276 | </div> | 276 | </div> |
277 | </td> | 277 | </td> |
278 | <td class="px-4 py-3 text-sm"> | 278 | <td class="px-4 py-3 text-sm"> |
279 | messages | 279 | messages |
280 | </td> | 280 | </td> |
281 | <td class="px-4 py-3 text-xs"> | 281 | <td class="px-4 py-3 text-xs"> |
282 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> | 282 | <span class="px-2 py-1 font-semibold leading-tight text-orange-700 bg-orange-100 rounded-full dark:text-white dark:bg-orange-600"> |
283 | Недоступно | 283 | Недоступно |
284 | </span> | 284 | </span> |
285 | </td> | 285 | </td> |
286 | <td class="px-4 py-3 text-sm"> | 286 | <td class="px-4 py-3 text-sm"> |
287 | май 2023 | 287 | май 2023 |
288 | </td> | 288 | </td> |
289 | </tr> | 289 | </tr> |
290 | 290 | ||
291 | <tr class="text-gray-700 dark:text-gray-400"> | 291 | <tr class="text-gray-700 dark:text-gray-400"> |
292 | <td class="px-4 py-3"> | 292 | <td class="px-4 py-3"> |
293 | <div class="flex items-center text-sm"> | 293 | <div class="flex items-center text-sm"> |
294 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> | 294 | <div class="relative hidden w-8 h-8 mr-3 rounded-full md:block"> |
295 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> | 295 | <div class="absolute inset-0 rounded-full shadow-inner" aria-hidden="true"></div> |
296 | </div> | 296 | </div> |
297 | <div> | 297 | <div> |
298 | <p class="font-semibold"><a href="{{ route('admin.groups') }}">Группы пользователей</a></p> | 298 | <p class="font-semibold"><a href="{{ route('admin.groups') }}">Группы пользователей</a></p> |
299 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 299 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
300 | Группировка людей в именованные группы | 300 | Группировка людей в именованные группы |
301 | </p> | 301 | </p> |
302 | </div> | 302 | </div> |
303 | </div> | 303 | </div> |
304 | </td> | 304 | </td> |
305 | <td class="px-4 py-3 text-sm"> | 305 | <td class="px-4 py-3 text-sm"> |
306 | group_users | 306 | group_users |
307 | </td> | 307 | </td> |
308 | <td class="px-4 py-3 text-xs"> | 308 | <td class="px-4 py-3 text-xs"> |
309 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> | 309 | <span class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100"> |
310 | Доступно | 310 | Доступно |
311 | </span> | 311 | </span> |
312 | </td> | 312 | </td> |
313 | <td class="px-4 py-3 text-sm"> | 313 | <td class="px-4 py-3 text-sm"> |
314 | май 2023 | 314 | май 2023 |
315 | </td> | 315 | </td> |
316 | </tr> | 316 | </tr> |
317 | 317 | ||
318 | 318 | ||
319 | 319 | ||
320 | <!--<tr class="text-gray-700 dark:text-gray-400"> | 320 | <!--<tr class="text-gray-700 dark:text-gray-400"> |
321 | <td class="px-4 py-3"> | 321 | <td class="px-4 py-3"> |
322 | <div class="flex items-center text-sm"> | 322 | <div class="flex items-center text-sm"> |
323 | 323 | ||
324 | <div | 324 | <div |
325 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 325 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
326 | > | 326 | > |
327 | <img | 327 | <img |
328 | class="object-cover w-full h-full rounded-full" | 328 | class="object-cover w-full h-full rounded-full" |
329 | src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 329 | src="https://images.unsplash.com/photo-1551069613-1904dbdcda11?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
330 | alt="" | 330 | alt="" |
331 | loading="lazy" | 331 | loading="lazy" |
332 | /> | 332 | /> |
333 | <div | 333 | <div |
334 | class="absolute inset-0 rounded-full shadow-inner" | 334 | class="absolute inset-0 rounded-full shadow-inner" |
335 | aria-hidden="true" | 335 | aria-hidden="true" |
336 | ></div> | 336 | ></div> |
337 | </div> | 337 | </div> |
338 | <div> | 338 | <div> |
339 | <p class="font-semibold">Sarah Curry</p> | 339 | <p class="font-semibold">Sarah Curry</p> |
340 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 340 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
341 | Designer | 341 | Designer |
342 | </p> | 342 | </p> |
343 | </div> | 343 | </div> |
344 | </div> | 344 | </div> |
345 | </td> | 345 | </td> |
346 | <td class="px-4 py-3 text-sm"> | 346 | <td class="px-4 py-3 text-sm"> |
347 | $ 86.00 | 347 | $ 86.00 |
348 | </td> | 348 | </td> |
349 | <td class="px-4 py-3 text-xs"> | 349 | <td class="px-4 py-3 text-xs"> |
350 | <span | 350 | <span |
351 | class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" | 351 | class="px-2 py-1 font-semibold leading-tight text-red-700 bg-red-100 rounded-full dark:text-red-100 dark:bg-red-700" |
352 | > | 352 | > |
353 | Denied | 353 | Denied |
354 | </span> | 354 | </span> |
355 | </td> | 355 | </td> |
356 | <td class="px-4 py-3 text-sm"> | 356 | <td class="px-4 py-3 text-sm"> |
357 | 6/10/2020 | 357 | 6/10/2020 |
358 | </td> | 358 | </td> |
359 | </tr> | 359 | </tr> |
360 | 360 | ||
361 | <tr class="text-gray-700 dark:text-gray-400"> | 361 | <tr class="text-gray-700 dark:text-gray-400"> |
362 | <td class="px-4 py-3"> | 362 | <td class="px-4 py-3"> |
363 | <div class="flex items-center text-sm"> | 363 | <div class="flex items-center text-sm"> |
364 | 364 | ||
365 | <div | 365 | <div |
366 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 366 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
367 | > | 367 | > |
368 | <img | 368 | <img |
369 | class="object-cover w-full h-full rounded-full" | 369 | class="object-cover w-full h-full rounded-full" |
370 | src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 370 | src="https://images.unsplash.com/photo-1551006917-3b4c078c47c9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
371 | alt="" | 371 | alt="" |
372 | loading="lazy" | 372 | loading="lazy" |
373 | /> | 373 | /> |
374 | <div | 374 | <div |
375 | class="absolute inset-0 rounded-full shadow-inner" | 375 | class="absolute inset-0 rounded-full shadow-inner" |
376 | aria-hidden="true" | 376 | aria-hidden="true" |
377 | ></div> | 377 | ></div> |
378 | </div> | 378 | </div> |
379 | <div> | 379 | <div> |
380 | <p class="font-semibold">Rulia Joberts</p> | 380 | <p class="font-semibold">Rulia Joberts</p> |
381 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 381 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
382 | Actress | 382 | Actress |
383 | </p> | 383 | </p> |
384 | </div> | 384 | </div> |
385 | </div> | 385 | </div> |
386 | </td> | 386 | </td> |
387 | <td class="px-4 py-3 text-sm"> | 387 | <td class="px-4 py-3 text-sm"> |
388 | $ 1276.45 | 388 | $ 1276.45 |
389 | </td> | 389 | </td> |
390 | <td class="px-4 py-3 text-xs"> | 390 | <td class="px-4 py-3 text-xs"> |
391 | <span | 391 | <span |
392 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 392 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
393 | > | 393 | > |
394 | Approved | 394 | Approved |
395 | </span> | 395 | </span> |
396 | </td> | 396 | </td> |
397 | <td class="px-4 py-3 text-sm"> | 397 | <td class="px-4 py-3 text-sm"> |
398 | 6/10/2020 | 398 | 6/10/2020 |
399 | </td> | 399 | </td> |
400 | </tr> | 400 | </tr> |
401 | 401 | ||
402 | <tr class="text-gray-700 dark:text-gray-400"> | 402 | <tr class="text-gray-700 dark:text-gray-400"> |
403 | <td class="px-4 py-3"> | 403 | <td class="px-4 py-3"> |
404 | <div class="flex items-center text-sm"> | 404 | <div class="flex items-center text-sm"> |
405 | 405 | ||
406 | <div | 406 | <div |
407 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 407 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
408 | > | 408 | > |
409 | <img | 409 | <img |
410 | class="object-cover w-full h-full rounded-full" | 410 | class="object-cover w-full h-full rounded-full" |
411 | src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 411 | src="https://images.unsplash.com/photo-1546456073-6712f79251bb?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
412 | alt="" | 412 | alt="" |
413 | loading="lazy" | 413 | loading="lazy" |
414 | /> | 414 | /> |
415 | <div | 415 | <div |
416 | class="absolute inset-0 rounded-full shadow-inner" | 416 | class="absolute inset-0 rounded-full shadow-inner" |
417 | aria-hidden="true" | 417 | aria-hidden="true" |
418 | ></div> | 418 | ></div> |
419 | </div> | 419 | </div> |
420 | <div> | 420 | <div> |
421 | <p class="font-semibold">Wenzel Dashington</p> | 421 | <p class="font-semibold">Wenzel Dashington</p> |
422 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 422 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
423 | Actor | 423 | Actor |
424 | </p> | 424 | </p> |
425 | </div> | 425 | </div> |
426 | </div> | 426 | </div> |
427 | </td> | 427 | </td> |
428 | <td class="px-4 py-3 text-sm"> | 428 | <td class="px-4 py-3 text-sm"> |
429 | $ 863.45 | 429 | $ 863.45 |
430 | </td> | 430 | </td> |
431 | <td class="px-4 py-3 text-xs"> | 431 | <td class="px-4 py-3 text-xs"> |
432 | <span | 432 | <span |
433 | class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" | 433 | class="px-2 py-1 font-semibold leading-tight text-gray-700 bg-gray-100 rounded-full dark:text-gray-100 dark:bg-gray-700" |
434 | > | 434 | > |
435 | Expired | 435 | Expired |
436 | </span> | 436 | </span> |
437 | </td> | 437 | </td> |
438 | <td class="px-4 py-3 text-sm"> | 438 | <td class="px-4 py-3 text-sm"> |
439 | 6/10/2020 | 439 | 6/10/2020 |
440 | </td> | 440 | </td> |
441 | </tr> | 441 | </tr> |
442 | 442 | ||
443 | <tr class="text-gray-700 dark:text-gray-400"> | 443 | <tr class="text-gray-700 dark:text-gray-400"> |
444 | <td class="px-4 py-3"> | 444 | <td class="px-4 py-3"> |
445 | <div class="flex items-center text-sm"> | 445 | <div class="flex items-center text-sm"> |
446 | 446 | ||
447 | <div | 447 | <div |
448 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 448 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
449 | > | 449 | > |
450 | <img | 450 | <img |
451 | class="object-cover w-full h-full rounded-full" | 451 | class="object-cover w-full h-full rounded-full" |
452 | src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" | 452 | src="https://images.unsplash.com/photo-1502720705749-871143f0e671?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&s=b8377ca9f985d80264279f277f3a67f5" |
453 | alt="" | 453 | alt="" |
454 | loading="lazy" | 454 | loading="lazy" |
455 | /> | 455 | /> |
456 | <div | 456 | <div |
457 | class="absolute inset-0 rounded-full shadow-inner" | 457 | class="absolute inset-0 rounded-full shadow-inner" |
458 | aria-hidden="true" | 458 | aria-hidden="true" |
459 | ></div> | 459 | ></div> |
460 | </div> | 460 | </div> |
461 | <div> | 461 | <div> |
462 | <p class="font-semibold">Dave Li</p> | 462 | <p class="font-semibold">Dave Li</p> |
463 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 463 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
464 | Influencer | 464 | Influencer |
465 | </p> | 465 | </p> |
466 | </div> | 466 | </div> |
467 | </div> | 467 | </div> |
468 | </td> | 468 | </td> |
469 | <td class="px-4 py-3 text-sm"> | 469 | <td class="px-4 py-3 text-sm"> |
470 | $ 863.45 | 470 | $ 863.45 |
471 | </td> | 471 | </td> |
472 | <td class="px-4 py-3 text-xs"> | 472 | <td class="px-4 py-3 text-xs"> |
473 | <span | 473 | <span |
474 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 474 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
475 | > | 475 | > |
476 | Approved | 476 | Approved |
477 | </span> | 477 | </span> |
478 | </td> | 478 | </td> |
479 | <td class="px-4 py-3 text-sm"> | 479 | <td class="px-4 py-3 text-sm"> |
480 | 6/10/2020 | 480 | 6/10/2020 |
481 | </td> | 481 | </td> |
482 | </tr> | 482 | </tr> |
483 | 483 | ||
484 | <tr class="text-gray-700 dark:text-gray-400"> | 484 | <tr class="text-gray-700 dark:text-gray-400"> |
485 | <td class="px-4 py-3"> | 485 | <td class="px-4 py-3"> |
486 | <div class="flex items-center text-sm"> | 486 | <div class="flex items-center text-sm"> |
487 | 487 | ||
488 | <div | 488 | <div |
489 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 489 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
490 | > | 490 | > |
491 | <img | 491 | <img |
492 | class="object-cover w-full h-full rounded-full" | 492 | class="object-cover w-full h-full rounded-full" |
493 | src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 493 | src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
494 | alt="" | 494 | alt="" |
495 | loading="lazy" | 495 | loading="lazy" |
496 | /> | 496 | /> |
497 | <div | 497 | <div |
498 | class="absolute inset-0 rounded-full shadow-inner" | 498 | class="absolute inset-0 rounded-full shadow-inner" |
499 | aria-hidden="true" | 499 | aria-hidden="true" |
500 | ></div> | 500 | ></div> |
501 | </div> | 501 | </div> |
502 | <div> | 502 | <div> |
503 | <p class="font-semibold">Maria Ramovic</p> | 503 | <p class="font-semibold">Maria Ramovic</p> |
504 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 504 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
505 | Runner | 505 | Runner |
506 | </p> | 506 | </p> |
507 | </div> | 507 | </div> |
508 | </div> | 508 | </div> |
509 | </td> | 509 | </td> |
510 | <td class="px-4 py-3 text-sm"> | 510 | <td class="px-4 py-3 text-sm"> |
511 | $ 863.45 | 511 | $ 863.45 |
512 | </td> | 512 | </td> |
513 | <td class="px-4 py-3 text-xs"> | 513 | <td class="px-4 py-3 text-xs"> |
514 | <span | 514 | <span |
515 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 515 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
516 | > | 516 | > |
517 | Approved | 517 | Approved |
518 | </span> | 518 | </span> |
519 | </td> | 519 | </td> |
520 | <td class="px-4 py-3 text-sm"> | 520 | <td class="px-4 py-3 text-sm"> |
521 | 6/10/2020 | 521 | 6/10/2020 |
522 | </td> | 522 | </td> |
523 | </tr> | 523 | </tr> |
524 | 524 | ||
525 | <tr class="text-gray-700 dark:text-gray-400"> | 525 | <tr class="text-gray-700 dark:text-gray-400"> |
526 | <td class="px-4 py-3"> | 526 | <td class="px-4 py-3"> |
527 | <div class="flex items-center text-sm"> | 527 | <div class="flex items-center text-sm"> |
528 | 528 | ||
529 | <div | 529 | <div |
530 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 530 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
531 | > | 531 | > |
532 | <img | 532 | <img |
533 | class="object-cover w-full h-full rounded-full" | 533 | class="object-cover w-full h-full rounded-full" |
534 | src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 534 | src="https://images.unsplash.com/photo-1566411520896-01e7ca4726af?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
535 | alt="" | 535 | alt="" |
536 | loading="lazy" | 536 | loading="lazy" |
537 | /> | 537 | /> |
538 | <div | 538 | <div |
539 | class="absolute inset-0 rounded-full shadow-inner" | 539 | class="absolute inset-0 rounded-full shadow-inner" |
540 | aria-hidden="true" | 540 | aria-hidden="true" |
541 | ></div> | 541 | ></div> |
542 | </div> | 542 | </div> |
543 | <div> | 543 | <div> |
544 | <p class="font-semibold">Hitney Wouston</p> | 544 | <p class="font-semibold">Hitney Wouston</p> |
545 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 545 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
546 | Singer | 546 | Singer |
547 | </p> | 547 | </p> |
548 | </div> | 548 | </div> |
549 | </div> | 549 | </div> |
550 | </td> | 550 | </td> |
551 | <td class="px-4 py-3 text-sm"> | 551 | <td class="px-4 py-3 text-sm"> |
552 | $ 863.45 | 552 | $ 863.45 |
553 | </td> | 553 | </td> |
554 | <td class="px-4 py-3 text-xs"> | 554 | <td class="px-4 py-3 text-xs"> |
555 | <span | 555 | <span |
556 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 556 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
557 | > | 557 | > |
558 | Approved | 558 | Approved |
559 | </span> | 559 | </span> |
560 | </td> | 560 | </td> |
561 | <td class="px-4 py-3 text-sm"> | 561 | <td class="px-4 py-3 text-sm"> |
562 | 6/10/2020 | 562 | 6/10/2020 |
563 | </td> | 563 | </td> |
564 | </tr> | 564 | </tr> |
565 | 565 | ||
566 | <tr class="text-gray-700 dark:text-gray-400"> | 566 | <tr class="text-gray-700 dark:text-gray-400"> |
567 | <td class="px-4 py-3"> | 567 | <td class="px-4 py-3"> |
568 | <div class="flex items-center text-sm"> | 568 | <div class="flex items-center text-sm"> |
569 | 569 | ||
570 | <div | 570 | <div |
571 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" | 571 | class="relative hidden w-8 h-8 mr-3 rounded-full md:block" |
572 | > | 572 | > |
573 | <img | 573 | <img |
574 | class="object-cover w-full h-full rounded-full" | 574 | class="object-cover w-full h-full rounded-full" |
575 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" | 575 | src="https://images.unsplash.com/flagged/photo-1570612861542-284f4c12e75f?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" |
576 | alt="" | 576 | alt="" |
577 | loading="lazy" | 577 | loading="lazy" |
578 | /> | 578 | /> |
579 | <div | 579 | <div |
580 | class="absolute inset-0 rounded-full shadow-inner" | 580 | class="absolute inset-0 rounded-full shadow-inner" |
581 | aria-hidden="true" | 581 | aria-hidden="true" |
582 | ></div> | 582 | ></div> |
583 | </div> | 583 | </div> |
584 | <div> | 584 | <div> |
585 | <p class="font-semibold">Hans Burger</p> | 585 | <p class="font-semibold">Hans Burger</p> |
586 | <p class="text-xs text-gray-600 dark:text-gray-400"> | 586 | <p class="text-xs text-gray-600 dark:text-gray-400"> |
587 | 10x Developer | 587 | 10x Developer |
588 | </p> | 588 | </p> |
589 | </div> | 589 | </div> |
590 | </div> | 590 | </div> |
591 | </td> | 591 | </td> |
592 | <td class="px-4 py-3 text-sm"> | 592 | <td class="px-4 py-3 text-sm"> |
593 | $ 863.45 | 593 | $ 863.45 |
594 | </td> | 594 | </td> |
595 | <td class="px-4 py-3 text-xs"> | 595 | <td class="px-4 py-3 text-xs"> |
596 | <span | 596 | <span |
597 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" | 597 | class="px-2 py-1 font-semibold leading-tight text-green-700 bg-green-100 rounded-full dark:bg-green-700 dark:text-green-100" |
598 | > | 598 | > |
599 | Approved | 599 | Approved |
600 | </span> | 600 | </span> |
601 | </td> | 601 | </td> |
602 | <td class="px-4 py-3 text-sm"> | 602 | <td class="px-4 py-3 text-sm"> |
603 | 6/10/2020 | 603 | 6/10/2020 |
604 | </td> | 604 | </td> |
605 | </tr>--> | 605 | </tr>--> |
606 | </tbody> | 606 | </tbody> |
607 | </table> | 607 | </table> |
608 | </div> | 608 | </div> |
609 | </div> | 609 | </div> |
610 | 610 | ||
611 | 611 | ||
612 | <!-- Charts --> | 612 | <!-- Charts --> |
613 | 613 | ||
614 | <!--<h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> | 614 | <!--<h2 class="my-6 text-2xl font-semibold text-gray-700 dark:text-gray-200"> |
615 | Графики | 615 | Графики |
616 | </h2> | 616 | </h2> |
617 | <div class="grid gap-6 mb-8 md:grid-cols-2"> | 617 | <div class="grid gap-6 mb-8 md:grid-cols-2"> |
618 | <div | 618 | <div |
619 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 619 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
620 | > | 620 | > |
621 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 621 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
622 | Revenue | 622 | Revenue |
623 | </h4> | 623 | </h4> |
624 | <canvas id="pie"></canvas> | 624 | <canvas id="pie"></canvas> |
625 | <div | 625 | <div |
626 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 626 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
627 | > | 627 | > |
628 | 628 | ||
629 | <div class="flex items-center"> | 629 | <div class="flex items-center"> |
630 | <span | 630 | <span |
631 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" | 631 | class="inline-block w-3 h-3 mr-1 bg-blue-500 rounded-full" |
632 | ></span> | 632 | ></span> |
633 | <span>Shirts</span> | 633 | <span>Shirts</span> |
634 | </div> | 634 | </div> |
635 | <div class="flex items-center"> | 635 | <div class="flex items-center"> |
636 | <span | 636 | <span |
637 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 637 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
638 | ></span> | 638 | ></span> |
639 | <span>Shoes</span> | 639 | <span>Shoes</span> |
640 | </div> | 640 | </div> |
641 | <div class="flex items-center"> | 641 | <div class="flex items-center"> |
642 | <span | 642 | <span |
643 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 643 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
644 | ></span> | 644 | ></span> |
645 | <span>Bags</span> | 645 | <span>Bags</span> |
646 | </div> | 646 | </div> |
647 | </div> | 647 | </div> |
648 | </div> | 648 | </div> |
649 | <div | 649 | <div |
650 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" | 650 | class="min-w-0 p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800" |
651 | > | 651 | > |
652 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> | 652 | <h4 class="mb-4 font-semibold text-gray-800 dark:text-gray-300"> |
653 | Посещаемость сайта | 653 | Посещаемость сайта |
654 | </h4> | 654 | </h4> |
655 | <canvas id="line"></canvas> | 655 | <canvas id="line"></canvas> |
656 | <div | 656 | <div |
657 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" | 657 | class="flex justify-center mt-4 space-x-3 text-sm text-gray-600 dark:text-gray-400" |
658 | > | 658 | > |
659 | 659 | ||
660 | <div class="flex items-center"> | 660 | <div class="flex items-center"> |
661 | <span | 661 | <span |
662 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" | 662 | class="inline-block w-3 h-3 mr-1 bg-teal-600 rounded-full" |
663 | ></span> | 663 | ></span> |
664 | <span>Organic</span> | 664 | <span>Organic</span> |
665 | </div> | 665 | </div> |
666 | <div class="flex items-center"> | 666 | <div class="flex items-center"> |
667 | <span | 667 | <span |
668 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" | 668 | class="inline-block w-3 h-3 mr-1 bg-purple-600 rounded-full" |
669 | ></span> | 669 | ></span> |
670 | <span>Paid</span> | 670 | <span>Paid</span> |
671 | </div> | 671 | </div> |
672 | </div> | 672 | </div> |
673 | </div> | 673 | </div> |
674 | </div>--> | 674 | </div>--> |
675 | 675 | ||
676 | @endsection | 676 | @endsection |
677 | 677 |