summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates/account/booking_list.html
diff options
context:
space:
mode:
authorSawyer Bergeron <sawyerbergeron@gmail.com>2018-12-04 15:30:42 -0500
committerSawyer Bergeron <sawyerbergeron@gmail.com>2018-12-14 15:52:04 -0500
commit74923100444ad669f63293466880ac59b05f5585 (patch)
tree83ac6a76c9999367d749d555c168d0cd93596854 /dashboard/src/templates/account/booking_list.html
parent9ae6c5c1cef2c5488b5c7c7700c886f8ebfe9d00 (diff)
Abstract Out Inline CSS for Account Views
Change-Id: I2da02fa7865b618c583d15cca9ef256c62f19286 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Diffstat (limited to 'dashboard/src/templates/account/booking_list.html')
-rw-r--r--dashboard/src/templates/account/booking_list.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/dashboard/src/templates/account/booking_list.html b/dashboard/src/templates/account/booking_list.html
index ef4df3a..4cd1408 100644
--- a/dashboard/src/templates/account/booking_list.html
+++ b/dashboard/src/templates/account/booking_list.html
@@ -17,7 +17,7 @@ function edit_booking(pk){
</script>
<h2>Bookings I Own</h2>
{% for booking in bookings %}
- <div style="border:2px;border-style:solid;border-color:grey;margin:5px">
+ <div class="detail_card">
<ul>
<li>id: {{booking.id}}</li>
<li>lab: {{booking.resource.template.lab.lab_user.username}}</li>
@@ -26,15 +26,15 @@ function edit_booking(pk){
<li>end: {{booking.end}}</li>
<li>purpose: {{booking.purpose}}</li>
</ul>
- <div style="display:inline;margin:3px;padding:3px">
- <button onclick="edit_booking({{booking.id}});">Edit</button>
- <button onclick="location.href='/booking/detail/{{booking.id}}/';">Details</button>
+ <div class="detail_btn_group">
+ <button class="btn" onclick="edit_booking({{booking.id}});">Edit</button>
+ <button class="btn" onclick="location.href='/booking/detail/{{booking.id}}/';">Details</button>
</div>
</div>
{% endfor %}
<h2>Bookings I Collaborate On</h2>
{% for booking in collab_bookings %}
- <div style="border:2px;border-style:solid;border-color:grey;margin:5px">
+ <div class="detail_card">
<ul>
<li>id: {{booking.id}}</li>
<li>lab: {{booking.lab}}</li>
@@ -43,9 +43,9 @@ function edit_booking(pk){
<li>end: {{booking.end}}</li>
<li>purpose: {{booking.purpose}}</li>
</ul>
- <div style="display:inline;margin:3px;padding:3px">
- <button disabled=true onclick="edit_booking({{booking.id}});">Edit</button>
- <button onclick="location.href='/booking/detail/{{booking.id}}/';">Details</button>
+ <div class="detail_btn_group">
+ <button class="btn" disabled=true onclick="edit_booking({{booking.id}});">Edit</button>
+ <button class="btn" onclick="location.href='/booking/detail/{{booking.id}}/';">Details</button>
</div>
</div>
{% endfor %}