Skip to content

Instantly share code, notes, and snippets.

@planetoftheweb
Last active May 6, 2020 15:22
Show Gist options
  • Save planetoftheweb/722e9aea3a06e3d7328446534ff295a4 to your computer and use it in GitHub Desktop.
Save planetoftheweb/722e9aea3a06e3d7328446534ff295a4 to your computer and use it in GitHub Desktop.
<div class="col-12 col-md-10 col-lg-7">
<div class="input-group my-3">
<input
id="SearchApts"
placeholder="Search"
type="text"
class="form-control"
aria-label="Search Appointments"
>
<div class="input-group-append">
<button
type="button"
class="btn btn-primary dropdown-toggle"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
Sort by
<span class="caret"></span>
</button>
<div class="dropdown-menu dropdown-menu-right">
<a href="#" class="dropdown-item d-flex justify-content-between" id="petName">
Pet Name
<font-awesome-icon icon="check"/>
</a>
<a class="dropdown-item d-flex justify-content-between" href="#" id="aptDate">
Date
<font-awesome-icon icon="check"/>
</a>
<a href="#" class="dropdown-item d-flex justify-content-between" id="ownerName">
Owner
<font-awesome-icon icon="check"/>
</a>
<div class="dropdown-divider" role="separator"></div>
<a
class="dropdown-item d-flex justify-content-between"
href="#"
id="asc"
>
Asc
<font-awesome-icon icon="check"/>
</a>
<a
class="dropdown-item d-flex justify-content-between"
href="#"
id="desc"
>
Desc
<font-awesome-icon icon="check"/>
</a>
</div>
</div>
</div>
</div>
@c4benn
Copy link

c4benn commented Apr 2, 2020

@chriscorchado125
Copy link

You can get the code here: https://github.com/planetoftheweb/vue-interface/blob/04_04b/src/components/AddAppointment.vue

Note: It contains the template, script and style sections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment