Changeset d9c4096
- Timestamp:
- 02/10/24 17:58:54 (9 months ago)
- Branches:
- main
- Children:
- 92df8cd
- Parents:
- 6dec591
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Controllers/CrimeCaseController.php
r6dec591 rd9c4096 9 9 { 10 10 function cases(){ 11 if(Session::get('pe_id') == null) { 12 return view('login'); 13 } 11 14 12 $police_station= DB::select('select * from police_station where pe_id=:pe_id;',['pe_id'=> Session::get('pe_id')]); 15 16 if(Session::get('is_policeman')){ 17 $police_station = DB::select('select * from police_station where p_id=:p_id;',['p_id'=> Session::get('p_id')]); 18 } else { 19 $police_station = DB::select('select * from police_station where pe_id=:pe_id;',['pe_id'=> Session::get('pe_id')]); 20 } 21 13 22 $cases = DB::select('select * from crime_case where p_id=:p_id;',['p_id'=> $police_station[0]->p_id]); 14 23 24 15 25 return view('cases', [ 16 'cases' => $cases 26 'cases' => $cases, 27 'p_address'=>$police_station[0]->p_address 17 28 ]); 18 29 19 30 } 20 function case(){ 21 return view('case'); 31 function case($wildcard){ 32 $case = DB::select('select * from crime_case where c_id=:c_id;',['c_id'=> $wildcard]); 33 $p_address = DB::select('select p_address from police_station where p_id=:p_id;',['p_id'=> $case[0]->p_id]); 34 $statements = DB::select('select * from statements where c_id=:c_id;',['c_id'=> $wildcard]); 35 $evidence = DB::select('select * from evidence_of_case where c_id=:c_id;',['c_id'=> $wildcard]); 36 return view('case', [ 37 'case' => $case[0], 38 'p_address'=>$p_address[0]->p_address, 39 'statements'=>$statements, 40 'evidence'=>$evidence, 41 ]); 22 42 } 23 43 } -
app/Http/Controllers/OfficerController.php
r6dec591 rd9c4096 7 7 use Illuminate\Http\Request; 8 8 use Illuminate\Support\Facades\DB; 9 use Illuminate\Support\Facades\Session; 9 10 10 11 class OfficerController extends Controller … … 12 13 function employees() 13 14 { 15 if(Session::get('pe_id') == null) { 16 return view('login'); 17 } 14 18 $results = DB::select('select * from policeman join people on policeman.pe_id = people.pe_id;'); 15 19 return view('employees', [ -
app/Http/Controllers/PeopleController.php
r6dec591 rd9c4096 5 5 use Illuminate\Http\Request; 6 6 use Illuminate\Support\Facades\DB; 7 use Illuminate\Support\Facades\Session; 7 8 8 9 class PeopleController extends Controller 9 10 { 10 11 function filter(){ 12 if(Session::get('pe_id') == null) { 13 return view('login'); 14 } 11 15 $peoples = DB::select('select * from people;'); 12 16 … … 16 20 } 17 21 function filter_post(){ 22 if(Session::get('pe_id') == null) { 23 return view('login'); 24 } 18 25 $credentials = request()->validate([ 19 26 'embg' => 'required' … … 27 34 ]); 28 35 } 36 function get_person($embg){ 37 $person = DB::select('SELECT * FROM people WHERE embg=:embg', ['embg' => $embg]); 38 dd($person); 39 return view('register-policeman', [ 40 'person' => $person[0] 41 ]); 42 } 29 43 } -
app/Http/Controllers/SessionsController.php
r6dec591 rd9c4096 28 28 } 29 29 if($exists == null) { 30 return back()->withErrors(['badge_no' => 'Invalid credentials']);30 return back()->withErrors(['badge_no' => 'Invalid badge_no']); 31 31 } 32 32 … … 41 41 Session::put('badge_no', $badge_no); 42 42 Session::put('is_policeman', $policeman); 43 Session::put('pe_id', $exists[0]->pe_id); 43 if($policeman){ 44 Session::put('p_id', $exists[0]->p_id); 45 } else { 46 Session::put('pe_id', $exists[0]->pe_id); 47 } 44 48 return redirect()->intended('/'); 45 49 } -
resources/views/case.blade.php
r6dec591 rd9c4096 22 22 .nav-item:hover { background: #1947ee; } 23 23 .account-link:hover { background: #3d68ff; } 24 .card { 25 /* Add shadows to create the "card" effect */ 26 box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); 27 transition: 0.3s; 28 } 29 30 /* On mouse-over, add a deeper shadow */ 31 .card:hover { 32 box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); 33 } 34 35 /* Add some padding inside the card container */ 36 .kontainer { 37 padding: 2px 16px; 38 } 24 39 </style> 25 40 <script src="https://cdn.tailwindcss.com"></script> … … 29 44 <aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl"> 30 45 <div class="p-6"> 31 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 32 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 33 <i class="fas fa-plus mr-3"></i> Додади полицаец 34 </button> 46 @if (Session::get('is_policeman')) 47 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Полицаец</a> 48 @else 49 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 50 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 51 <i class="fas fa-plus mr-3"></i> <a href="/register-policeman">Додади полицаец</a> 52 </button> 53 @endif 35 54 </div> 36 55 <nav class="text-white text-base font-semibold pt-3"> … … 140 159 <div class="w-full mt-12"> 141 160 <p class="text-xl pb-3 flex items-center"> 142 <i class="fas fa-list mr-3"></i> Случаj Подморница161 <i class="fas fa-list mr-3"></i> {{$case->c_name}} 143 162 </p> 144 163 <div class="bg-white overflow-auto"> 145 164 <div class="md:flex items-start justify-center py-12 2xl:px-20 md:px-6 px-4"> 146 <div class="xl:w-2/6 lg:w-2/5 w-80 md:block hidden"> 147 <img class="w-full" alt="image of a girl posing" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBUVFRgWFhYYGBgaHBoaHBwcHB4cGhoaGBkaGhgcHhwcIS4lHB4rIRgaJjgmKy80NTU1HCQ7QDszPy40NTEBDAwMEA8QHhISHjQrJCs0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NP/AABEIAKgBKwMBIgACEQEDEQH/xAAcAAACAgMBAQAAAAAAAAAAAAADBAIFAAEGBwj/xABBEAACAQ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Phc6cjOin/B68vnS8QYJj9cqysrp4mDD2nI0HoedGa2Tv9TH0rKyuzBErVzITBBGxESCvMUDF4PKA32W1HY818x9a1WVw8nwayKEEVFmrKyuYnQWi4tWEABBV2ZSsg5n005HTfSgm2hEw1okwA/wnybdfXTvWVlYfYroMlkKCHVgxgoZARhzhoIPzq2tMFAGd9PT8RWqygj//2Q==" /> 148 <img class="mt-6 w-full" alt="image of a girl posing" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQaSnnhWXrRlhi9Md9mu8L5BvAPFBo_lI8Pyw&usqp=CAU" /> 165 <div> 166 @foreach($evidence as $ev) 167 <div class=" w-full md:block hidden"> 168 <img class="mt-6 w-full" alt="image" src="{{$ev->e_picture}}" /> 169 </div> 170 @endforeach 149 171 </div> 150 172 <div class="md:hidden"> … … 159 181 <div class="xl:w-2/5 md:w-1/2 lg:ml-8 md:ml-6 md:mt-0 mt-6"> 160 182 <div class="border-b border-black-200 pb-6"> 161 <p class="text-sm leading-none text-black-600 dark:text-black-300 "> Полицаец на случајот: Петко Митрев</p>183 <p class="text-sm leading-none text-black-600 dark:text-black-300 ">Датум: {{$case->opening_date}}</p> 162 184 </div> 185 163 186 <div class="py-4 border-b border-black-200 flex items-center justify-between"> 164 <p class="text-base leading-4 text-black-800 dark:text-black-300"><button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Изјави</button></p> 165 166 <p class="text-base leading-4 text-black-800 dark:text-black-300"><button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Докази</button></p> 167 168 </div> 169 <div class="py-4 border-b border-black-200 flex items-center justify-between"> 170 <p class="text-base leading-4 text-black-800 dark:text-black-300">Активен случај</p> 187 <p class="text-base leading-4 text-black-800 dark:text-black-300"> 188 {{ $case->c_status === 'A' ? 'Активен случај' : ($case->c_status === 'Z' ? 'Затворен случај' : 'Unknown Status') }} 189 </p> 171 190 <div class="flex items-center justify-center"> 172 <p class="text-sm leading-none text-gray-600 dark:text-gray-300 mr-3">38.2</p> 173 174 <img class="dark:hidden" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/productDetail3-svg2.svg" alt="next"> 175 <img class="hidden dark:block" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/productDetail3-svg2dark.svg" alt="next"> 191 <p class="text-sm leading-none text-gray-600 dark:text-gray-300 mr-3">Контролен број:{{$case->c_id}}</p> 192 176 193 </div> 177 194 </div> 178 <button class=" dark:bg-white dark:text-black-900 dark:hover:bg-black-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-800 text-base flex items-center justify-center leading-none text-white bg-gray-800 w-full py-4 hover:bg-gray-700 focus:outline-none">195 <button class="bg-blue-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 text-base flex items-center justify-center leading-none text-white bg-blue-500 w-full py-4 hover:bg-blue-700 focus:outline-none"> 179 196 <img class="mr-3 dark:hidden" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/svg1.svg" alt="location"> 180 197 <img class="mr-3 hidden dark:block" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/svg1dark.svg" alt="location"> 181 ул.Рузвелтова бр.23 Скопје198 {{$p_address}} 182 199 </button> 183 <div> 184 <p class="xl:pr-55 text-base lg:leading-tight leading-normal text-black-600 dark:text-black-300 mt-7">Додека автобусот се движеше по својата маршрута, мистериозниот патник, со лице заматено од сенки, се движеше кон задниот дел. Меѓу патниците беа разменети неколку љубопитни погледи, но повеќето беа изгубени во сопствените мисли, исцрпени по долг ден. 185 186 Одеднаш, атмосферата се промени. Мистериозната фигура, која сега стои на патеката, откри блескав нож. Меѓу патниците настанала паника кога ја сфатиле тежината на ситуацијата. Возачот на автобусот, внимателен, удрил на сопирачките, со што автобусот запрел. 187 188 Напаѓачот со злобно блесок во очите барал внимание од сите. Со ладен, пресметан глас, ја објавија намерата да извлечат пакет скриен меѓу патниците. Страв и збунетост се проширија низ автобусот додека патниците си разменија уплашени погледи. 189 190 Меѓу патниците беше и една млада жена по име Марија, која се враќаше дома од својата работа доцна во ноќта. Без да знае, предметниот пакет бил сокриен во нејзиниот ранец. Напаѓачот, управуван од непознат мотив, тргнал кон Марија, а сјајот на ножот фрлал морничав сјај во слабо осветлениот автобус. 191 192 Како што ескалираа тензиите, на бродот се нашол пензиониран детектив по име Роберт. Имајќи инстинкт за неволја, тој ја процени ситуацијата и дискретно ја набљудуваше драмата што се одвиваше. Чувствувајќи ја опасноста, тој суптилно им сигнализирал на другите патници, охрабрувајќи ги да останат смирени додека тој формулирал план. 193 194 Марија, исплашена, но издржлива, реши да ги земе работите во свои раце. Со брз, дискретен потег, таа го активирала копчето за паника на телефонот, испраќајќи предупредување до локалните власти. Без знаење на напаѓачот, помошта била на пат. 195 196 Автобусот стана тензично бојно поле на умови, бидејќи Роберт, Марија и другите патници работеа заедно за да го одвлечат вниманието на напаѓачот додека не дојде полицијата. Напаѓачот, кој стануваше сè пофрустриран, направи критична грешка, дозволувајќи им на патниците да ги совладаат и разоружаат токму кога полицијата упадна во автобусот. 197 198 Бидејќи ситуацијата била под контрола, мотивот зад злосторството останал обвиен со мистерија. Полицијата го уапсила напаѓачот, а ранецот на Марија, во кој имало вреден, но загадочен пакет, станал фокусна точка на истрагата. Детективот Роберт, сега официјално вклучен, тргна на патување за да ги разоткрие слоевите на ова полноќно злосторство, решен да ја разоткрие вистината скриена во сенките на ноќта.</p> 199 <p class="text-base leading-4 mt-7 text-black-600 dark:text-black-300">Product Code: 8BN321AF2IF0NYA</p> 200 <p class="text-base leading-4 mt-4 text-black-600 dark:text-black-300">Length: 13.2 inches</p> 201 <p class="text-base leading-4 mt-4 text-black-600 dark:text-black-300">Height: 10 inches</p> 202 <p class="text-base leading-4 mt-4 text-black-600 dark:text-black-300">Depth: 5.1 inches</p> 203 <p class="md:w-96 text-base leading-normal text-black-600 dark:text-black-300 mt-4">Composition: 100% calf leather, inside: 100% lamb leather</p> 204 </div> 205 <div> 206 <div class="border-t border-b py-4 mt-7 border-gray-200"> 207 <div data-menu class="flex justify-between items-center cursor-pointer"> 208 <p class="text-base leading-4 text-gray-800 dark:text-gray-300">Shipping and returns</p> 209 <button class="cursor-pointer focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-400 rounded" role="button" aria-label="show or hide"> 210 <img class="transform dark:hidden" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/productDetail3-svg4.svg" alt="dropdown"> 211 <img class="transform hidden dark:block" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/productDetail3-svg4dark.svg" alt="dropdown"> 212 </button> 200 201 202 <h1 class="text-2xl">Изјави</h1> 203 204 @foreach($statements as $statement) 205 <div class="container"> 206 207 <div class="card"> 208 209 <p class=" text-left py-3 px-4">{{$statement->statement_date}}</p> 210 <p class=" text-left py-3 px-4">{{$statement->description}}</p> 211 <p class=" text-left py-3 px-4">{{$statement->incident_place}}</p> 213 212 </div> 214 <div class="hidden pt-4 text-base leading-normal pr-12 mt-4 text-black-600 dark:text-gray-300" id="sect">You will be responsible for paying for your own shipping costs for returning your item. Shipping costs are nonrefundable</div>215 213 </div> 216 </div> 217 <div> 218 <div class="border-b py-4 border-gray-200"> 219 <div data-menu class="flex justify-between items-center cursor-pointer"> 220 <p class="text-base leading-4 text-gray-800 dark:text-gray-300">Contact us</p> 221 <button class="cursor-pointer focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-400 rounded" role="button" aria-label="show or hide"> 222 <img class="transform dark:hidden" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/productDetail3-svg4.svg" alt="dropdown"> 223 <img class="transform hidden dark:block" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/productDetail3-svg4dark.svg" alt="dropdown"> 224 </button> 225 </div> 226 <div class="hidden pt-4 text-base leading-normal pr-12 mt-4 text-gray-600 dark:text-gray-300" id="sect">If you have any questions on how to return your item to us, contact us.</div> 227 </div> 228 </div> 214 @endforeach 229 215 </div> 230 216 </div> -
resources/views/cases.blade.php
r6dec591 rd9c4096 29 29 <aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl"> 30 30 <div class="p-6"> 31 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 32 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 33 <i class="fas fa-plus mr-3"></i> Додади полицаец 34 </button> 31 @if (Session::get('is_policeman')) 32 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Полицаец</a> 33 @else 34 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 35 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 36 <i class="fas fa-plus mr-3"></i> <a href="/register-policeman">Додади полицаец</a> 37 </button> 38 @endif 35 39 </div> 36 40 <nav class="text-white text-base font-semibold pt-3"> … … 140 144 <div class="w-full mt-12"> 141 145 <p class="text-xl pb-3 flex items-center"> 142 <i class="fas fa-list mr-3"></i> Случаи од станица Карпош - Скопје146 <i class="fas fa-list mr-3"></i> Случаи од станица {{$p_address}} 143 147 </p> 144 148 <div class="bg-white overflow-auto"> -
resources/views/employees.blade.php
r6dec591 rd9c4096 53 53 <aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl"> 54 54 <div class="p-6"> 55 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 56 <button 57 class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 58 <i class="fas fa-plus mr-3"></i> Додади полицаец 59 </button> 55 @if (Session::get('is_policeman')) 56 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Полицаец</a> 57 @else 58 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 59 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 60 <i class="fas fa-plus mr-3"></i> <a href="/register-policeman">Додади полицаец</a> 61 </button> 62 @endif 60 63 </div> 61 64 <nav class="text-white text-base font-semibold pt-3"> -
resources/views/filter.blade.php
r6dec591 rd9c4096 109 109 <aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl"> 110 110 <div class="p-6"> 111 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 112 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 113 <i class="fas fa-plus mr-3"></i> Додади полицаец 114 </button> 111 @if (Session::get('is_policeman')) 112 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Полицаец</a> 113 @else 114 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 115 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 116 <i class="fas fa-plus mr-3"></i> <a href="/register-policeman">Додади полицаец</a> 117 </button> 118 @endif 115 119 </div> 116 120 <nav class="text-white text-base font-semibold pt-3"> 117 121 <a href="/" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item"> 118 122 <i class="fas fa-tachometer-alt mr-3"></i> 119 Сортирај граѓани123 Контролна табла 120 124 </a> 121 125 <a href="/employees" class="flex items-center text-white opacity-75 hover:opacity-100 py-4 pl-6 nav-item"> -
resources/views/register-policeman.blade.php
r6dec591 rd9c4096 119 119 <aside class="relative bg-sidebar h-screen w-64 hidden sm:block shadow-xl"> 120 120 <div class="p-6"> 121 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 122 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 123 <i class="fas fa-plus mr-3"></i> Додади полицаец 124 </button> 121 @if (Session::get('is_policeman')) 122 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Полицаец</a> 123 @else 124 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 125 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 126 <i class="fas fa-plus mr-3"></i> <a href="/register-policeman">Додади полицаец</a> 127 </button> 128 @endif 125 129 </div> 126 130 <nav class="text-white text-base font-semibold pt-3"> … … 252 256 > 253 257 </div> 254 255 <div class="mb-6"> 256 <label class="block mb-2 uppercase font-bold text-xs text-gray-700" 257 for="name" 258 <div class="mb-6"> 259 <label class="block mb-2 uppercase font-bold text-xs text-gray-700" 260 for="first_name" 258 261 > 259 262 Име … … 262 265 <input class="border border-gray-400 p-2 w-full text-gray-500" 263 266 type="text" 264 name=" name"265 value=" "266 id=" name"267 name="first_name" 268 value="{{(Input::has('embg'))?? 'embg'}}" 269 id="first_name" 267 270 required 268 271 disabled="disabled"> … … 275 278 <div class="mb-6"> 276 279 <label class="block mb-2 uppercase font-bold text-xs text-gray-700" 277 for="last name"280 for="last_name" 278 281 > 279 282 Презиме … … 282 285 <input class="border border-gray-400 p-2 w-full text-gray-500" 283 286 type="text" 284 name="last name"287 name="last_name" 285 288 value="" 286 id="last name"289 id="last_name" 287 290 required 288 291 disabled="disabled" > … … 361 364 <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js" integrity="sha256-R4pqcOYV8lt7snxMQO/HSbVCFRPMdrhAFMH+vr9giYI=" crossorigin="anonymous"></script> 362 365 366 363 367 </body> 364 368 </html> -
resources/views/welcome.blade.php
r6dec591 rd9c4096 33 33 @else 34 34 <a href="#" class="text-white text-3xl font-semibold uppercase hover:text-gray-300">Началник</a> 35 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center"> 36 <i class="fas fa-plus mr-3"></i> <a href="/register-policeman">Додади полицаец</a> 37 </button> 35 38 @endif 36 <button class="w-full bg-white cta-btn font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center">37 <i class="fas fa-plus mr-3"></i> Додади полицаец38 </button>39 39 </div> 40 40 <nav class="text-white text-base font-semibold pt-3"> -
routes/web.php
r6dec591 rd9c4096 6 6 use App\Http\Controllers\SessionsController; 7 7 use Illuminate\Support\Facades\Route; 8 use Illuminate\Support\Facades\Session; 8 9 9 10 /* … … 19 20 20 21 Route::get('/', function () { 22 if(Session::get('pe_id') == null) { 23 return view('login'); 24 } 21 25 return view('welcome'); 22 26 }); … … 38 42 39 43 Route::get('cases', [CrimeCaseController::class, 'cases'])->middleware('guest'); 40 Route::get('case ', [CrimeCaseController::class, 'case'])->middleware('guest');44 Route::get('case/{wildcard}', [CrimeCaseController::class, 'case'])->middleware('guest'); 41 45 42 46 Route::get('finished_cases', [CrimeCaseController::class, 'index'])->middleware('guest'); … … 46 50 Route::post('register-policeman', [OfficerController::class, 'register'])->middleware('guest'); 47 51 48 52 Route::get('/get_person/{{embg}}', [PeopleController::class, 'get_person'])->middleware('guest');
Note:
See TracChangeset
for help on using the changeset viewer.