diff options
author | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2018-12-04 15:30:42 -0500 |
---|---|---|
committer | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2018-12-14 15:52:04 -0500 |
commit | 74923100444ad669f63293466880ac59b05f5585 (patch) | |
tree | 83ac6a76c9999367d749d555c168d0cd93596854 /dashboard/src/templates/account/resource_list.html | |
parent | 9ae6c5c1cef2c5488b5c7c7700c886f8ebfe9d00 (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/resource_list.html')
-rw-r--r-- | dashboard/src/templates/account/resource_list.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dashboard/src/templates/account/resource_list.html b/dashboard/src/templates/account/resource_list.html index 482a000..e70cca7 100644 --- a/dashboard/src/templates/account/resource_list.html +++ b/dashboard/src/templates/account/resource_list.html @@ -16,13 +16,15 @@ function edit_resource(pk){ } </script> {% for resource in resources %} - <div style="border:2px;border-style:solid;border-color:grey;margin:5px"> + <div class="detail_card"> <ul> <li>id: {{resource.id}}</li> <li>name: {{resource.name}}</li> <li>description: {{resource.description}}</li> </ul> - <button onclick="edit_resource({{resource.id}});">Edit</button> + <div class="detail_btn_group"> + <button class="btn" onclick="edit_resource({{resource.id}});">Edit</button> + </div> </div> {% endfor %} {% endblock %} |