mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
lk | add button for the usual repairs & asterisks for required bike fields
This commit is contained in:
@@ -1,6 +1,2 @@
|
||||
seatTubeIn = $(".seat-tube-in")
|
||||
seatTubeCm = $(".seat-tube-cm")
|
||||
|
||||
seatTubeIn.on("change", () ->
|
||||
seatTubeCm.val(parseFloat(seatTubeIn.val())*2.54)
|
||||
)
|
||||
theUsualRepairs = "- Trued Front & Rear Wheels\n- Adjusted Front & Rear Gears\n- Adjusted Front & Rear Brakes"
|
||||
$(document).on('click', '#the-usual', () -> $("#bike_work_done").val(theUsualRepairs) )
|
||||
|
||||
@@ -5,3 +5,7 @@
|
||||
.bottom-nav-links {
|
||||
padding-bottom: 5rem;
|
||||
}
|
||||
|
||||
#the-usual {
|
||||
color: purple;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user