summaryrefslogtreecommitdiffstats
path: root/dashboard/src
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
commit428a9e398112fa00f867c00da2cc264c4ba80962 (patch)
tree1f889564e5da4230644b0413d6a1cd557b1c2e16 /dashboard/src
parent51aa0589e290e9cfc29cf013909b84298c0b7af3 (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>
Diffstat (limited to 'dashboard/src')
-rw-r--r--dashboard/src/static/css/detail_view.css1
-rw-r--r--dashboard/src/templates/account/booking_list.html4
-rw-r--r--dashboard/src/templates/account/configuration_list.html3
-rw-r--r--dashboard/src/templates/account/resource_list.html2
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 %}