Stacked Footer #1062
Stacked Footer
#1062
Replies: 2 comments
-
Hello @ainnamran I cant see correctly all the code, can you share in other way please. In any case, you can follow the example on our footer template. Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Due to not activity, I will close this issue, but please feel free to re-open or create a new one if needed. Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can i change the footer to the end the page. The default it stacked on my field.
`@extends(backpack_view('layouts.plain'))
@section('header')
<style>
.card_panel {
/* padding-top: 50px; /
padding: 20px;
border-radius: 8px;
width: 90%;
margin: auto;
min-height: 800px; / Adjust this as needed /
background-color: #add8e6; / Light blue background */
}
@endsection
@section('content')
(as per MyKad)
@endsection
@section('after_scripts')
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10/dist/sweetalert2.min.js"></script>
<script>
$(document).ready(function() {
let groupIndex = 1;
$('#add-group').click(function() {
let newGroup =
<div class="card mb-3"> <div class="card-body bg-light-blue"> <div class="form-row"> <div class="form-group col-md-4"> <label for="child_name_${groupIndex}">Name as in MyKad / MyKid / Passport</label> <input type="text" class="form-control" id="child_name_${groupIndex}" name="children[${groupIndex}][name]" required> </div> <div class="form-group col-md-4"> <label for="child_mykad_${groupIndex}">MyKad / MyKid / Passport</label> <input type="text" class="form-control" id="child_mykad_${groupIndex}" name="children[${groupIndex}][mykad]" required> </div> <div class="form-group col-md-2"> <label for="child_gender_${groupIndex}">Gender M / F</label> <select class="form-control" id="child_gender_${groupIndex}" name="children[${groupIndex}][gender]" required> <option value="">-</option> <option value="M">M</option> <option value="F">F</option> </select> </div> <div class="form-group col-md-2"> <label for="child_dob_${groupIndex}">Date of Birth</label> <input type="date" class="form-control" id="child_dob_${groupIndex}" name="children[${groupIndex}][dob]" required> </div> </div> <div class="form-row"> <div class="form-group col-md-2"> <label for="child_tax_relief_${groupIndex}">Tax Relief</label> <select class="form-control" id="child_tax_relief_${groupIndex}" name="children[${groupIndex}][tax_relief]" required> <option value="">-</option> <option value="A">A</option> <option value="B">B</option> <option value="C">C</option> <option value="D">D</option> <option value="E">E</option> <option value="F">F</option> </select> </div> <div class="form-group col-md-2"> <label for="child_tax_relief_percentage_${groupIndex}">Tax Relief (%)</label> <input type="number" class="form-control" id="child_tax_relief_percentage_${groupIndex}" name="children[${groupIndex}][tax_relief_percentage]" required> </div> <div class="form-group col-md-4"> <label for="child_status_${groupIndex}">Status (A / B / C / D / E / F)</label> <input type="text" class="form-control" id="child_status_${groupIndex}" name="children[${groupIndex}][status]" required> </div> </div> </div> </div>
;$('#children-data-group').append(newGroup);
groupIndex++;
});
@endsection`
Beta Was this translation helpful? Give feedback.
All reactions