diff options
4 files changed, 6 insertions, 4 deletions
diff --git a/dashboard/src/static/css/detail_view.css b/dashboard/src/static/css/detail_view.css index b0e271d..89d0867 100644 --- a/dashboard/src/static/css/detail_view.css +++ b/dashboard/src/static/css/detail_view.css @@ -3,6 +3,7 @@ border-color: black; border-radius: 5px; margin: 5px; + padding: 5px; box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75); } diff --git a/dashboard/src/templates/account/booking_list.html b/dashboard/src/templates/account/booking_list.html index 4cd1408..21f6ff7 100644 --- a/dashboard/src/templates/account/booking_list.html +++ b/dashboard/src/templates/account/booking_list.html @@ -27,7 +27,7 @@ function edit_booking(pk){ <li>purpose: {{booking.purpose}}</li> </ul> <div class="detail_btn_group"> - <button class="btn" onclick="edit_booking({{booking.id}});">Edit</button> + <button style="display: none" class="btn" onclick="edit_booking({{booking.id}});">Edit</button> <button class="btn" onclick="location.href='/booking/detail/{{booking.id}}/';">Details</button> </div> </div> @@ -44,7 +44,7 @@ function edit_booking(pk){ <li>purpose: {{booking.purpose}}</li> </ul> <div class="detail_btn_group"> - <button class="btn" disabled=true onclick="edit_booking({{booking.id}});">Edit</button> + <button style="display: none" 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> diff --git a/dashboard/src/templates/account/configuration_list.html b/dashboard/src/templates/account/configuration_list.html index f4b174b..b04535b 100644 --- a/dashboard/src/templates/account/configuration_list.html +++ b/dashboard/src/templates/account/configuration_list.html @@ -21,9 +21,10 @@ function edit_configuration(pk){ <li>id: {{config.id}}</li> <li>name: {{config.name}}</li> <li>description: {{config.description}}</li> + <li>resource: {{config.bundle}}</li> </ul> <div class="detail_btn_group"> - <button class="btn" onclick="edit_configuration({{config.id}});">Edit</button> + <button style="display: none" class="btn" onclick="edit_configuration({{config.id}});">Edit</button> </div> </div> {% endfor %} diff --git a/dashboard/src/templates/account/resource_list.html b/dashboard/src/templates/account/resource_list.html index e70cca7..2ef293b 100644 --- a/dashboard/src/templates/account/resource_list.html +++ b/dashboard/src/templates/account/resource_list.html @@ -23,7 +23,7 @@ function edit_resource(pk){ <li>description: {{resource.description}}</li> </ul> <div class="detail_btn_group"> - <button class="btn" onclick="edit_resource({{resource.id}});">Edit</button> + <button style="display: none" class="btn" onclick="edit_resource({{resource.id}});">Edit</button> </div> </div> {% endfor %} |