aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSawyer Bergeron <sawyerbergeron@gmail.com>2019-01-03 12:51:51 -0500
committerSawyer Bergeron <sawyerbergeron@gmail.com>2019-01-03 12:51:51 -0500
commit733c993bfad197922881e86a09a9e09b89de5e30 (patch)
tree9c7a5bc75ad5ae32729d33967c7cb4bd56ddccba
parentfdf6f46f9c548c8e3748f32840d3af2cb3335271 (diff)
Disable Edit Buttons
Edit buttons are currently not functional due to major changes in how the workflow works, so this commit disables them for the time being to avoid confusion Change-Id: I62dddbc25267e9da55c503b48fed4f05cea97c22 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
-rw-r--r--src/static/css/detail_view.css1
-rw-r--r--src/templates/account/booking_list.html4
-rw-r--r--src/templates/account/configuration_list.html3
-rw-r--r--src/templates/account/resource_list.html2
4 files changed, 6 insertions, 4 deletions
diff --git a/src/static/css/detail_view.css b/src/static/css/detail_view.css
index b0e271d..89d0867 100644
--- a/src/static/css/detail_view.css
+++ b/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/src/templates/account/booking_list.html b/src/templates/account/booking_list.html
index 4cd1408..21f6ff7 100644
--- a/src/templates/account/booking_list.html
+++ b/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/src/templates/account/configuration_list.html b/src/templates/account/configuration_list.html
index f4b174b..b04535b 100644
--- a/src/templates/account/configuration_list.html
+++ b/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/src/templates/account/resource_list.html b/src/templates/account/resource_list.html
index e70cca7..2ef293b 100644
--- a/src/templates/account/resource_list.html
+++ b/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 %}