File Manager Lite
Dir:
/home/u540325668/domains/mkjsindia.org/public_html-chash/resources/views/userAsset/include
Upload
[..]
button.blade.php (1.65 KB)
Edit
Rename
Del
campaigns.blade.php (5.87 KB)
Edit
Rename
Del
corporateLinks.blade.php (2.21 KB)
Edit
Rename
Del
cources.blade.php (3.75 KB)
Edit
Rename
Del
course.blade.php (1019 B)
Edit
Rename
Del
footer.blade.php (2.8 KB)
Edit
Rename
Del
header.blade.php (4.15 KB)
Edit
Rename
Del
menu.blade.php (3.22 KB)
Edit
Rename
Del
meta.blade.php (1.81 KB)
Edit
Rename
Del
publication.blade.php (1.35 KB)
Edit
Rename
Del
publicationView.blade.php (1023 B)
Edit
Rename
Del
slider.blade.php (3.83 KB)
Edit
Rename
Del
socialMedia.blade.php (3.05 KB)
Edit
Rename
Del
Edit: cources.blade.php
<!-- Cources Start ================================================== --> <style> /* 1) Make the card row a flex container (BS3-friendly) */ #catagorie .block > .row { display: flex; flex-wrap: wrap; align-items: stretch; /* all columns same height */ } /* 2) Each column becomes a flex container so its child (.thumbnail) can stretch */ #catagorie .block > .row > [class*="col-"] { display: flex; } /* 3) The card itself fills the column height and stacks vertically */ #catagorie .thumbnail { display: flex; flex-direction: column; width: 100%; height: 100%; } /* 4) Make the image area consistent across cards */ #catagorie .thumbnail > a > img { width: 100%; height: 180px; /* adjust if you want taller/shorter */ object-fit: cover; /* crop nicely to fit */ display: block; border-bottom: 1px solid #e5e5e5; } /* 5) Progress/summary block spacing stays neat */ #catagorie .thumbnail .mb-3 { margin-top: .5rem; margin-bottom: .75rem; } /* 6) Caption grows to fill leftover space */ #catagorie .caption { display: flex; flex-direction: column; flex: 1 1 auto; /* take remaining height */ } /* 7) Pin the donate button to the bottom (works with <a><button></button></a>) */ #catagorie .caption > a:last-child { margin-top: auto; /* pushes this anchor to bottom */ display: block; } #catagorie .caption > a:last-child .btn, #catagorie .caption > a:last-child .pinkish { width: 100%; } /* 8) Keep borders/edges clean and aligned */ #catagorie .thumbnail { border-radius: 8px; overflow: hidden; /* prevents child overflow breaking the border */ } /* 9) Make progress bars consistent across cards */ #catagorie .progress { height: 15px !important; margin-bottom: .25rem; } /* 10) Avoid negative overlaps from custom inline styles */ #catagorie .duration-line { margin-top: 0 !important; } </style> @if($cources->count() > 0) <section id="catagorie" style="margin-top:-14px;"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="block"> <div class="block-heading"> <h2>OUR PROJECTS</h2> </div> <div class="row"> @forelse ($cources as $cource) <div class="col-sm-3 col-md-3"> <div class="thumbnail text-center" style="border:1px green solid;"> <a class="catagotie-head" href="{{url($cource->id.'/cource/')}}.html"> <img src="{{asset('/storage/course').'/'.$cource->image}}" alt="..."> <h6 class="text-info">{{$cource->name}}</h6> </a> <div class="caption"> <p>{{ \Illuminate\Support\Str::words($cource->shortDesc, 15, '...') }}</p> <!-- <a href="{{url($cource->id.'/cource/')}}.html"> <button class="pinkish">Apply Online</button> </a> --> <!-- Donation Progress --> <!-- Donate Button --> <!-- <a href="{{ url('/project/donate/'.encrypt($cource->id)) }}" class="btn btn-success w-100 mt-auto"> Donate This Project </a> --> <a href="{{ url('/phonePe/donate') }}"> <button class="pinkish">Donate This Project</button> </a> </p> </div> <!-- End of /.caption --> </div> <!-- End of /.thumbnail --> </div> <!-- End of /.col-sm-6 col-md-3 --> @empty <div>No Project Found</div> @endforelse </div> <!-- End of /.row --> </div> <!-- End of /.block --> </div> <!-- End of /.col-md-12 --> </div> <!-- End of /.row --> </div> <!-- End of /.container --> </section> <!-- End of Section --> @endif
Simpan