Skip to content

Instantly share code, notes, and snippets.

View planetoftheweb's full-sized avatar
🚀
Hubbing

Ray Villalobos planetoftheweb

🚀
Hubbing
View GitHub Profile
<div class="col-12">
<div class="card textcenter mt-3">
<div class="card-header bg-primary text-white">
<font-awesome-icon icon="plus" class="mr-3"/>Add Appointment
</div>
<div class="card-body">
<form id="aptForm">
<div class="form-group form-row">
<label class="col-md-2 col-form-label text-md-right" for="petName">Pet Name</label>
<button class="mr-2 btn btn-sm btn-danger">
X
</button>
<div class="w-100">
<div class="d-flex justify-content-between">
<span class="h4 text-primary">{{item.petName}}</span>
<span class="float-right">{{item.aptDate}}</span>
</div>
<div class="owner-name">
<span class="font-weight-bold text-primary mr-1">Owner:</span>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<title>BinaryVille Shop</title>
</head>
<body>
$(document).ready(function() {
// When Scrollspy Detects a change
$(window).on("activate.bs.scrollspy", function() {
var hash = $(".site-nav")
.find("a.active")
.attr("href");
if (hash == "#main-content") {
$(".site-nav").addClass("inbody");
} else {
<table class="table table-hover">
<caption class="text-right h3">
<b>Total:</b>
</caption>
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Item</th>
<th scope="col" class="text-center">Qty</th>
<th scope="col" class="text-right">Price</th>
var data = {
"name": "Bamboo Thermal Ski Coat",
"description": "You'll be the most environmentally conscious skier on the slopes - and the most stylish - wearing our fitted bamboo thermal ski coat, made from organic bamboo with recycled plastic down filling.",
"image": "https://hplussport.com/wp-content/uploads/2016/12/ski-coat_LYNDA_29940.jpg",
"price": 99
}
<div className="search-appointments row justify-content-center my-4">
<div className="col-md-6">
<div className="input-group">
<input
id="SearchApts"
type="text"
className="form-control"
aria-label="Search Appointments"
/>
<div className="input-group-append">
<div className="card textcenter mt-3">
<div className="apt-addheading card-header bg-primary text-white">
Add Appointment
</div>
<div className="card-body">
<form id="aptForm" noValidate>
<div className="form-group form-row">
<label
className="col-md-2 col-form-label text-md-right"
<div className="appointment-list item-list mb-3">
<div className="pet-item col media py-3">
<div className="mr-3">
<button className="pet-delete btn btn-sm btn-danger">X</button>
</div>
<div className="pet-info media-body">
<div className="pet-head d-flex">
<span className="pet-name">petName</span>
<span className="apt-date ml-auto">aptDate</span>
[
{
"petName": "Pepe",
"ownerName": "Reggie Tupp",
"aptNotes": "It's time for this rabbit's post spaying surgery checkup",
"aptDate": "2018-11-28 13:30"
},
{
"petName": "Rio",
"ownerName": "Philip Ransu",