diff options
Diffstat (limited to 'dashboard/src/templates')
-rw-r--r-- | dashboard/src/templates/account/booking_list.html | 4 | ||||
-rw-r--r-- | dashboard/src/templates/account/configuration_list.html | 3 | ||||
-rw-r--r-- | dashboard/src/templates/account/resource_list.html | 2 |
3 files changed, 5 insertions, 4 deletions
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 %} |