SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit cf7f22bf authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Restyle accounts table

parent d911dd4c
No related branches found
No related tags found
No related merge requests found
...@@ -95,8 +95,14 @@ ...@@ -95,8 +95,14 @@
</table> </table>
</div> </div>
<h2 class="m-2">Click on an account to view messages</h2> <div class="accounts-table text-white">
<table class="table mb-4"> <h2 class="p-2 mb-0 text-center">Click on an account to view messages</h2>
<table
class="table mb-4 text-white"
selectable
:select-mode="single"
:selected-variant="danger"
>
<tr> <tr>
<th>Account</th> <th>Account</th>
<th>Address</th> <th>Address</th>
...@@ -118,6 +124,7 @@ ...@@ -118,6 +124,7 @@
<td>{{ access.date_until }}</td> <td>{{ access.date_until }}</td>
</tr> </tr>
</table> </table>
</div>
<div v-if="accountSelected" :key="accountSelected.pk"> <div v-if="accountSelected" :key="accountSelected.pk">
<b-card bg-variant="light"> <b-card bg-variant="light">
...@@ -585,3 +592,12 @@ export default { ...@@ -585,3 +592,12 @@ export default {
} }
</script> </script>
<style>
.accounts-table {
background-color: #002b49;
}
.highlight {
background-color: #496bb6;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment