Some more nice styling.

This commit is contained in:
Ryan Breen
2023-01-25 00:36:28 -05:00
parent 83cf21e5f5
commit dcc0fab5c6
6 changed files with 47 additions and 7 deletions

View File

@@ -30,10 +30,12 @@
<template x-for="(relay, index) in relays" :key="index">
<tr>
<td class="p-2 w-1/3" x-text="relay.url"></td>
<td class="p-2 text-center"><input type="checkbox" x-model="relay.read"
@change="await saveRelaysForProfile(index)"></td>
<td class="p-2 text-center"><input type="checkbox" x-model="relay.write"
@change="await saveRelaysForProfile(index)"></td>
<td class="p-2 text-center">
<input type="checkbox" x-model="relay.read" @change="await saveRelaysForProfile(index)">
</td>
<td class="p-2 text-center">
<input type="checkbox" x-model="relay.write" @change="await saveRelaysForProfile(index)">
</td>
<td class="p-2 text-center">
<button class="btn" @click="await deleteRelay(index)">Delete</button>
</td>