<link href="https://scripts.afit.edu/bootstrap4/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script src="https://scripts.afit.edu/bootstrap4/js/bootstrap.bundle.min.js"></script>
<link href="https://scripts.afit.edu/bootstrap5/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script src="https://scripts.afit.edu/bootstrap5/js/bootstrap.bundle.min.js"></script>
latest (3.7.1)
<script src="https://scripts.afit.edu/js/jquery.latest.min.js"></script>
<script src="https://scripts.afit.edu/jQuery/jquery-3.7.0.min.js"></script>
<script src="https://scripts.afit.edu/jQuery/jquery-3.6.1.min.js"></script>
<script src="https://scripts.afit.edu/jQuery/jquery-3.6.0.min.js"></script>
<script src="https://scripts.afit.edu/jQuery/jquery-3.5.1.min.js"></script>
<script src="https://scripts.afit.edu/jQuery/jquery-3.4.1.min.js"></script>
<script src="https://scripts.afit.edu/jQueryUI/jquery-ui.min.js"></script>
<link href="https://scripts.afit.edu/jQueryUI/jquery-ui.min.css" rel="stylesheet" type="text/css">
<link href="https://scripts.afit.edu/fontawesome/all.min.css" rel="stylesheet" type="text/css">
<link href="https://scripts.afit.edu/aos/aos.css" rel="stylesheet" type="text/css">
<script src="https://scripts.afit.edu/aos/aos.js"></script>
<script>
AOS.init({
easing: 'ease-in-out-sine'
});
</script>
<div class="d-block bg-primary p-4 text-center text-white" data-aos="zoom-in">My info here</div>
<link href="https://scripts.afit.edu/tour/tour.css" rel="stylesheet" type="text/css">
<script src="https://scripts.afit.edu/tour/tour.js"></script>
<link href="https://scripts.afit.edu/datatables/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css">
<script src="https://scripts.afit.edu/datatables/js/jquery.dataTables.min.js"></script>
id="sortTable"
<script> $(document).ready( function () { $('#sortTable').DataTable( { paging: true, searching: true } ); } ); </script>Change the #sortTable to match the ID of the table you want to make sortable.
<link href="https://scripts.afit.edu/tagger/amsify.suggestags.css" rel="stylesheet" type="text/css">
<script src="https://scripts.afit.edu/tagger/jquery.amsify.suggestags.js"></script>
<style>
.amsify-suggestags-input-area
.amsify-select-tag.col-bg {
background: #800002;
color: white;
}
</style>
<cf_jpBSfield size="12" ID="country" name="country" type="text" label="Country Name" placeholder="enter country name" required="true" requiredtext="Please enter country name" value="USA" helptext="To generate a tag, type your tag and press the comma key." tooltip="true" tooltipcontent="Type a country name and press the commma key. Max of 5 countries!">
<script> $('input[name="country"]').amsifySuggestags({ //set the max number of tags tagLimit: 5, //set the list of suggestions for users to pick from //suggestions: ['USA', 'Russia', 'Germany', 'Italy', 'Austria', 'Switzerland', 'Scotland'], //if you want folks to pick from the list only set this to true //whiteList: true, //For each of the suggestions you can specify a background //backgrounds: ['#ff8c00', '#ff8c00', '#ff8c00', '#ff8c00', '#ff8c00', '#ff8c00', '#ff8c00'], //OR you can specify the Bootstrap classes //classes: ['bg-primary','bg-primary','bg-primary','bg-primary','bg-primary','bg-primary','bg-primary'], //set the text colors for the suggested tags //colors: ['white', 'white', 'white', 'white', 'white', 'white', 'white'], }); </script>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
There are three classes in FastBS. They allow you to create avatars, off-canvas navigation, and a section called a blankslate.
<link href="https://scripts.afit.edu/bootstrap4/css/fastBS.css" rel="stylesheet" type="text/css">
<span class="avatar text-white bg-danger">JP</span>
<span class="avatar text-white bg-primary"><i class="fas fa-star"></i></span>
<img class="avatar" src="images/avatar.png" />
<img class="avatar avatar-xs" src="images/avatar.png" />
<img class="avatar avatar-sm" src="images/avatar.png" />
<img class="avatar" src="images/avatar.png" />
<img class="avatar avatar-lg" src="images/avatar.png" />
<img class="avatar avatar-xl" src="images/avatar.png" />
<img class="avatar avatar-xxl" src="images/avatar.png" />
<div class="avatar-stack">
<span class="avatar text-white">+6</span>
<img class="avatar border-danger" src="images/avatar.png" />
<img class="avatar" src="images/avatar.png" />
<img class="avatar" src="images/avatar.png" />
<img class="avatar" src="images/avatar.png" />
</div>
<div class="avatar-group">
<img class="avatar border-danger" src="images/avatar.png" />
<img class="avatar" src="images/avatar.png" />
<img class="avatar" src="images/avatar.png" />
<img class="avatar" src="images/avatar.png" />
<span class="avatar text-white">+6</span>
</div>
<div class="dropdown mt-4">
<button class="btn btn-transparent" type="button" data-toggle="dropdown" aria-expanded="false">
<img class="avatar avatar-lg" style="border: 2px solid white;" src="images/avatar.png" />
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</div>
<div class="blankslate">
<img class="blankslate-top-img" src="images/server.png" />
<div class="blankslate-body text-white">
<h4>You don't have access to this issue</h4>
<p>
Make sure the issue exists in this project. If it does, ask a project
admin for permission to see the project's issues.
</p>
</div>
<div class="blankslate-actions">
<button class="btn btn-secondary" type="button">Secondary action</button>
<button class="btn btn-primary" type="button">Primary action</button>
</div>
</div>
<!--- Left off-canvas sidebar --->
<div class="bs-canvas bs-canvas-left position-fixed bg-light h-100">
<header class="bs-canvas-header p-3 bg-success">
<h4 class="d-inline-block text-light mb-0">Canvas Header</h4>
<button type="button" class="bs-canvas-close close" aria-label="Close"><span aria-hidden="true" class="text-light">×</span></button>
</header>
<div class="bs-canvas-content px-3 py-5">
<!--- Place your sidebar content here --->
</div>
</div>
<!--- Right off-canvas sidebar --->
<div class="bs-canvas bs-canvas-right position-fixed bg-light h-100">
<header class="bs-canvas-header p-3 bg-primary overflow-auto">
<button type="button" class="bs-canvas-close float-left close" aria-label="Close"><span aria-hidden="true" class="text-light">×</span></button>
<h4 class="d-inline-block text-light mb-0 float-right">Canvas Header</h4>
</header>
<div class="bs-canvas-content px-3 py-5">
<!--- Place your sidebar content here --->
</div>
</div>
<script>
jQuery(document).ready(function($){
$(document).on('click', '.pull-bs-canvas-right, .pull-bs-canvas-left', function(){
$('body').prepend('<div class="bs-canvas-overlay bg-dark position-fixed w-100 h-100"></div>');
if($(this).hasClass('pull-bs-canvas-right'))
$('.bs-canvas-right').addClass('mr-0');
else
$('.bs-canvas-left').addClass('ml-0');
return false;
});
$(document).on('click', '.bs-canvas-close, .bs-canvas-overlay', function(){
var elm = $(this).hasClass('bs-canvas-close') ? $(this).closest('.bs-canvas') : $('.bs-canvas');
elm.removeClass('mr-0 ml-0');
$('.bs-canvas-overlay').remove();
return false;
});
});
</script>
<div class="center-xy p-4 bg-danger" style="height:200px;">Your text here</div>
<div class="d-xl-none d-lg-none d-md-none d-xs-block d-sm-block bg-success">Show on small</div>
<div class="d-xs-none d-sm-none d-xl-block d-lg-block d-md-block bg-primary">Show on Large</div>
You can apply a pulse animation effect to any block level element with ease using one custom tag.
<cf_jpPulse color="danger">
<button type="button" class="btn btn-secondary">Profile <span class="badge badge-warning pulse">9</span><span class="sr-only">unread messages</span></button>
<button type="button" class="btn btn-secondary pulse-box">test</button>
<!--- start card --->
<div class="card my-5 pulse-box" style="width:300px;">
<img src="https://picsum.photos/600/400?random" class="card-img-top" alt="...">
<h4 class="card-header">Card header here (optional)</h4>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
<div class="card-footer">
<a href="" type="button" class="btn btn-primary btn-block">Go Somewhere</a>
</div>
</div>