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 | e26a8259dbe879d722d5e619f9d6efe0b113d1cd (patch) | |
tree | cf3f8d733fefad88474a09cce296b040200ff428 /src/templates/account/resource_list.html | |
parent | 527d16d05016c029c022f77134f069af68218e61 (diff) |
Abstract Out Inline CSS for Account Views
Change-Id: I2da02fa7865b618c583d15cca9ef256c62f19286
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Diffstat (limited to 'src/templates/account/resource_list.html')
-rw-r--r-- | src/templates/account/resource_list.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/templates/account/resource_list.html b/src/templates/account/resource_list.html index 482a000..e70cca7 100644 --- a/src/templates/account/resource_list.html +++ b/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 %} |