![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/resources/views/admin/menu-bar/ |
@extends('layouts.admin.app') <style type="text/css"> .content { min-height: 200px!important; } </style> @section('content') <!-- Main content --> <section class="content"> <div class="box"> <div class="box-body"> @include('layouts.errors-and-messages') {!! Form::open(['method' => 'POST','route' => ['admin.menu.other.store'], 'class'=>'form','enctype'=>'multipart/form-data']) !!} <div class="row"> <div class="col-md-6 col-sm-6"> <div class="form-group"> <label for="label">Label <span class="text-danger">*</span></label> {!! Form::text('label', null, array('placeholder' => 'Label','class' => 'form-control','id'=>'label','required')) !!} </div> </div> <div class="col-md-6 col-sm-6"> <div class="form-group"> <label for="link">Website Link <span class="text-danger">*</span></label> {!! Form::url('link', null, array('placeholder' => 'Website Link','class' => 'form-control','id'=>'link','required')) !!} </div> </div> </div> <div class="box-footer"> <div class="btn-group"> <button type="submit" class="btn btn-primary btn-sm">Create</button> </div> </div> {!! Form::close() !!} <!-- /.box --> </div> </div> </section> <!-- /.content --> <section class="content"> <!-- Default box --> @if($otherwebsites) <div class="box"> <div class="box-body"> <h3>Other Website Link</h3> <table class="table"> <thead> <tr> <td width="5%">SNo.</td> <td>Label</td> <td>URL</td> <td>Actions</td> </tr> </thead> <tbody> @foreach ($otherwebsites as $mi => $otherwebsites) <tr> <td>{{ $mi+1 }}</td> <td>{{ $otherwebsites->label }}</td> <td><a href="{{ $otherwebsites->link }}" target="_blank">{{ $otherwebsites->link }}</a></td> <td> {!! Form::open(['method' => 'DELETE', 'route' => ['admin.menu.other.destroy', $otherwebsites->id] ]) !!} <div class="btn-group"> <button onclick="return confirm('Are you sure?')" type="submit" class="btn btn-danger btn-sm"><i class="fa fa-times"></i> Delete</button> </div> {!! Form::close() !!} </td> </tr> @endforeach </tbody> </table> </div> <!-- /.box-body --> </div> <!-- /.box --> @endif </section> @endsection